Web NFC Demo - Online Read/Write NFC Tags
Read and write NDEF records to NFC tags using the Web NFC API. Supports text, URL, and MIME records. Works on Android with Chrome.
UD5 Toolkit
Online AutoβRead SMS Codes Simulator β Experience the Web OTP API with AbortController
AbortController: not created
signal: inactive
// Web OTP API with AbortController
const abortController = new AbortController();
async function requestOTP() {
try {
const otp = await navigator.credentials.get({
otp: { transport: ['sms'] },
signal: abortController.signal
});
// OTP extracted successfully
console.log('OTP:', otp.code);
return otp.code;
} catch (err) {
if (err.name === 'AbortError') {
console.log('OTP listening cancelled');
}
throw err;
}
}
// To cancel listening:
abortController.abort();
navigator.credentials.get() with the otp option.
@example.com Your verification code is: 123456@domain must appear in the SMS body (preferably at the beginning or end)@example.com 123456123456 is your code @example.com@example.com Your OTP for login is 123456. Do not share it.@yourdomain.com and the OTP code{otp: {transport: ['sms']}}@domain prefix serves as a security mechanism to ensure that only the intended website can read the OTP from an SMS. When the browser receives an SMS, it checks if the @domain in the message matches the origin of the web page that called the API. This prevents malicious websites from intercepting OTPs meant for other services. Without this requirement, any website could potentially read any OTP SMS, creating a significant security vulnerability. The domain matching uses the eTLD+1 rule, meaning @example.com will also match requests from app.example.com or www.example.com.
Read and write NDEF records to NFC tags using the Web NFC API. Supports text, URL, and MIME records. Works on Android with Chrome.
Use the CSS Custom Highlight API to style arbitrary text ranges without modifying the DOM. See the future of findβinβpage.
Paste an OpenAPI YAML/JSON and render a static, readable API document. No server, pure browserβbased rendering.
See a live readout of window scrollX and scrollY. Visualize scroll direction. For debugging sticky navs.
Keep a simple list of movies you want to watch. Add notes and check them off. Purely local storage.
See the International Space Stationβs current position on a world map in real time. Uses public API. No refresh.
Enter readings before/after meals, get averages, print report. Local storage only.
A small widget that records your clipboard text history (only while open). Search and reβcopy old snippets. No log upload.
Enter a URL and see a list of its ARIA landmarks (banner, main, nav). Check document structure for accessibility. Local fetch.
Estimate how many MB/GB your storage can hold based on navigator.storage.estimate() and display as a pie chart.
Create a sticky scroll progress bar for blog posts. Choose colors and height. Copy the minimal CSS and HTML.
Check current browser storage usage (localStorage, IndexedDB, Cache) and available quota. Handy debugging tool.
See the chromaticity diagram and compare sRGB, DCIβP3, and your display. Fun for design geeks.
Register a custom CSS property with syntax, initial value, and inherits. Animate colors and numbers that couldnβt before.
Check estimated usage and quota for local and session storage on your browser. Quick dev tool.
Explore your websiteβs IndexedDB databases and object stores. Add, delete, and inspect records. Like phpMyAdmin for IndexedDB.
Explore your websiteβs IndexedDB databases and object stores. Add, delete, and inspect records. Like phpMyAdmin for IndexedDB.
Compress and decompress text using the browser's native Compression Streams API. See the binary output size.
Connect a game controller and see every button press, axis movement, and vibration test. Uses the Gamepad API.
Unified input demo: see pressure, tilt, and type from any pointer. Compare pointerType values. Essential for drawing apps.
Toggle a screen wake lock to prevent the device from dimming or sleeping. See the lock state and learn the API.
Test the experimental Translation API to translate text between languages directly in the browser, without cloud calls. Check support and copy the JavaScript starter.
Decode an image progressively using the ImageDecoder API. See partial results and metadata. Modern alternative to <img>.
Decode individual video frames from a local file using the VideoDecoder API. Step through frames. Cuttingβedge browser feature.
Write to shared storage and run a worklet to process data. Learn the privacyβpreserving alternative to thirdβparty cookies.
Experiment with the Federated Credential Management API. Simulate a signβin flow without thirdβparty cookies. Privacyβfirst.
Register a oneβoff background sync and see it fire when connectivity returns. Debug service worker sync logic.
Request HID devices and list them. Read input reports and send output. For custom hardware and controllers.
Read the ambient atmospheric pressure in hPa using the Pressure Sensor API (if available). Realβtime graph.
Request permission and detect when the user is idle (away from keyboard). See screen lock state. For nativeβlike apps.