Web Share API Tester - Online Demo & Code
Test the Web Share API by sharing text, links, and files directly from the browser. Check compatibility and see example code.
UD5 Toolkit
Live demo to test the browser's Fullscreen API — request fullscreen, exit, monitor events, and check real-time API state. Works on desktop & mobile.
This area can go fullscreen. Click the buttons below to test the Fullscreen API in real time.
Normal ModeElement.requestFullscreen() to enter fullscreen and document.exitFullscreen() to exit. This API is commonly used for video players, presentations, games, code editors, and immersive web experiences.
fullscreenerror event. This prevents malicious websites from hijacking the user's screen without their knowledge. Always trigger requestFullscreen() inside a click, keydown, or touch event handler.
document.exitFullscreen() — note that this method is on the document object, not on the fullscreen element. This is a common mistake. You don't need to know which element is currently fullscreen; simply calling document.exitFullscreen() will exit whatever fullscreen state is active. Users can also press Esc to exit, which triggers a fullscreenchange event just like a programmatic exit would.
navigationUI option is passed to requestFullscreen({ navigationUI: "show" | "hide" | "auto" }) on mobile browsers. It controls whether the browser shows navigation UI (like back buttons) during fullscreen. "show" keeps nav controls visible, "hide" attempts to hide them for a more immersive experience, and "auto" lets the browser decide. Note: not all browsers respect this hint; support is primarily in mobile Chromium-based browsers.
document.fullscreenEnabled. If it returns true, the browser supports the Fullscreen API and allows fullscreen requests. If false, fullscreen is not available — this could be due to browser restrictions, iframe sandboxing (missing allow="fullscreen" attribute), or user-configured permissions. Also check if Element.prototype.requestFullscreen exists for API feature detection.
fullscreenchange fires on the document when entering or exiting fullscreen (check document.fullscreenElement to determine the new state), and fullscreenerror fires when a fullscreen request fails — for example, if the request wasn't triggered by a user gesture, or the target element is not in the DOM. Listen on document for both events.
navigationUI option is particularly relevant on mobile. Note that iOS Safari had some quirks in earlier versions, but recent versions work well with the standard API.
allow="fullscreen" attribute. (4) The browser or OS has disabled fullscreen via permissions. (5) The element has display: none or is otherwise not renderable. Listen to the fullscreenerror event to catch and debug these issues.
<div>, <video>, <canvas>, or even the entire document by calling document.documentElement.requestFullscreen(). Fullscreening a specific element is more common for video players or interactive demos, while fullscreening the document element mimics a "full page" experience. This tool provides both options for testing.
:fullscreen CSS pseudo-class to style elements when they are in fullscreen mode. For example: .my-element:fullscreen { background: #000; }. For cross-browser support, include vendor-prefixed versions: :-webkit-full-screen (Chrome/Safari/Edge), :-moz-full-screen (Firefox), and :-ms-fullscreen (legacy IE/Edge). The standard :fullscreen is now supported by all modern browsers.
Test the Web Share API by sharing text, links, and files directly from the browser. Check compatibility and see example code.
Inject dynamic messages into ARIA live regions and monitor how they trigger screen reader announcements. Debug a11y.
Simulate a full‑page screenshot by stitching screen captures (limited). Works best on simple pages. Use browser’s native capture.
Enter a URL and view it in three iframes: mobile, tablet, and desktop side‑by‑side. Quick responsive check.
Request permission and detect when the user is idle (away from keyboard). See screen lock state. For native‑like apps.
See the View Transitions API in action. Cross‑fade and morph between two states. Copy the JavaScript starter code.
See exact dimensions of your current browser inner/outer window, screen resolution, and pixel ratio. Developer debug.
Test the Content Indexing API to add a page to the device's content feed. See how your PWA integrates with the OS.
Simulate a PWA receiving shared text, links, and images. Test the Web Share Target API without a server.
Add web content to the device’s content index (like Google Discover). See the indexed items and delete them.
Compare font‑display values (block, swap, fallback, optional) on the fly. See how text renders during web font load. Choose the right strategy.
Send a test CSP violation report and see the ReportingObserver in action. Understand how monitoring works.
Compare text‑rendering: auto, optimizeSpeed, optimizeLegibility, geometricPrecision. See kerning and ligature changes live.
Decode an image progressively using the ImageDecoder API. See partial results and metadata. Modern alternative to <img>.
Enter the amount of leftover paint and see how many square feet it still covers. Plan touch-ups.
Enter an HTML snippet and see a rough transcription of what a screen reader might announce. Check alt texts.
Watch for updates to aria‑live regions and log what a screen reader would announce. Debug live regions.
Simulate random mouse moves, clicks, or keystrokes to test idle‑timeout logic. Stops when you move the mouse. Dev test.
Measure your internet connection speed by downloading and uploading a small test file. Works from your browser.
Paste or write a CSS gradient value and instantly see the rendered output. Debug and iterate on gradients quickly. Local preview.
Test how your page loads under slow, 3G, or offline conditions by intercepting fetch and applying delays. No DevTools needed.
Accurate online stopwatch with lap and split time capabilities. Start, pause, and reset. Ideal for sports and presentations. Runs natively in the browser.
Enter a URL and get a rough client-side performance simulation: request count, DOM size, and potential speed tips. No real Lighthouse.
Scan QR codes using your device camera. Decodes text, URLs, and Wi‑Fi credentials directly in the browser. No data sent to server.
Calculate the break‑even point in units and dollars. Input fixed costs, variable cost per unit, and price.
See your monitor's color depth and pixel depth. Detect if HDR or wide gamut is available using media queries.
A tiny tool that hooks into the console and lets you export all messages to a file. Helpful for non‑technical bug reporting.
Paste multiple HTML snippets (header, footer) and a main content, then combine them into a single preview. Static site helper.
Force more or less contrast and see how your page adapts. Test your CSS media queries for accessibility.
Write a simple assembly program and see the pass‑1 and pass‑2 symbol tables and object code. Systems programming helper.