Clipboard History Viewer - Online See Last Copies
A small widget that records your clipboard text history (only while open). Search and reācopy old snippets. No log upload.
UD5 Toolkit
Inspect key, code, keyCode, and all event properties in real-time.
| event.key | ā |
| event.code | ā |
| event.keyCode | ā |
| event.which | ā |
| event.charCode | ā |
| event.location | ā |
| event.repeat | ā |
| event.isComposing | ā |
| event.type | ā |
| event.timeStamp | ā |
No events recorded yet. Press any key to start.
event.key returns the character or name of the key (e.g., "a", "Enter", "ArrowUp"). It reflects what the user sees printed on the key cap. This is the modern, recommended property.
event.code returns the physical key identifier (e.g., "KeyA", "ArrowUp", "ShiftLeft"). It's tied to the physical position on the keyboard, regardless of layout. Use this for game controls or when you need location-specific detection.
event.keyCode is a numeric code (e.g., 65 for A, 13 for Enter). It is deprecated and should be avoided in new code. It was inconsistent across browsers and keyboard layouts.
keyCode was deprecated because it was browser-inconsistent, didn't handle international keyboard layouts well, and couldn't distinguish between physical keys. For example, pressing the semicolon key (;) on a US keyboard produced keyCode 186, but the same physical key on a German keyboard produced a different code. The newer event.code and event.key properties solve these issues.
event.repeat.event.code is typically empty.event.location indicates where on the keyboard the key is physically located:
0 ā Standard key (most keys)1 ā Left-side modifier (e.g., left Shift, left Ctrl)2 ā Right-side modifier (e.g., right Shift, right Ctrl)3 ā Numeric keypadThis is especially useful when you need to distinguish between left and right Shift/Ctrl/Alt keys.
event.code may be empty or return generic values. For reliable cross-device input handling, consider using input or change events on form fields, or use event.key with a fallback for desktop-specific features.
event.ctrlKey, event.metaKey, event.altKey, event.shiftKey. For example, to detect Ctrl+C: if (event.ctrlKey && event.key === 'c') { ... }. On Mac, users expect Cmd+C, so check event.metaKey as well for cross-platform support.
event.isComposing returns true when the user is in the middle of composing text using an Input Method Editor (IME), such as typing Chinese, Japanese, or Korean characters. During composition, you typically want to ignore keyboard events until the composition is complete (when isComposing becomes false), to avoid handling incomplete input.
A small widget that records your clipboard text history (only while open). Search and reācopy old snippets. No log upload.
Browse a collection of ready-to-use CSS animations (fade, slide, bounce). Click to preview, then copy @keyframes and class to your project. Local tool.
Check current browser storage usage (localStorage, IndexedDB, Cache) and available quota. Handy debugging tool.
Log which family member takes which medicine and when. Reminders for next dose. Data stays local.
Enter readings before/after meals, get averages, print report. Local storage only.
Enter a URL and see a list of its ARIA landmarks (banner, main, nav). Check document structure for accessibility. Local fetch.
See the International Space Stationās current position on a world map in real time. Uses public API. No refresh.
Demonstrate how the Web OTP API automatically reads oneātime codes from SMS (mobile). Simulation with a fake SMS input.
Create a sticky scroll progress bar for blog posts. Choose colors and height. Copy the minimal CSS and HTML.
Generate a standard XML sitemap for your website by entering a start URL. Crawls internal links directly from your browser. No server-side processing.
Estimate how many MB/GB your storage can hold based on navigator.storage.estimate() and display as a pie chart.
Build a complete Nginx location block for reverse proxy, static files, or redirect. Copy the snippet. Quick config help.
Use the CSS Custom Highlight API to style arbitrary text ranges without modifying the DOM. See the future of findāināpage.
Write a JavaScript snippet and get a readyātoādrag bookmarklet link. With minification and encoding. Easy browser tools.
Build a complete Event structured data with performer, location, and dates. Get Googleāready JSONāLD for tickets.
Paste JavaScript and catch syntax errors instantly with line numbers. Lightweight preācommit check. Local.
Watch a simulation of how the JavaScript event loop handles synchronous code, microtasks, and macrotasks. Learn async.
Create promises that resolve or reject after a delay. See state changes and chain .then/.catch. Debug async code.
Write a generator function and step through it with next(). See values and done state. Understand iterators.
Apply a Proxy to an object and see the get/set traps log fired in real time. Understand metaprogramming. Local.
Press any key combination and record the sequence. Export as JSON or humanāreadable text. Perfect for documenting shortcuts.
See the roving tabindex pattern in action. Use arrow keys to navigate a list. Copy the accessible JavaScript pattern.
Write JavaScript using element.animate() and see the result in a live preview. Compare with CSS keyframes. Debugger included.
Fill in event details and generate 'Add to Calendar' links for Google, Outlook, and Yahoo, plus a downloadable .ics file.
Connect your MIDI keyboard and see pressed notes visually on a piano roll. Check velocity, channel, and aftertouch. No DAW needed.
Compare :focus and :focusāvisible styling. See which one applies when using mouse vs. keyboard. Accessible focus management.
Touch the screen and see the exact coordinates, radius, and force of each touch point. Indispensable for mobile web devs.
Test the Fullscreen API: request fullscreen on a colored div, detect changes, and copy the JavaScript boilerplate.
Choose Babel presets (env, React, TypeScript) and plugins. Get a clean babel.config.json to transpile your code. Local tool.
Write JavaScript code and see the output or console.log results immediately. Safe iframe sandbox. For quick experiments.