<div class="block noevents">
<h1>
<button onclick="this.parentNode.parentNode.remove();" title="close/dismiss this warning">X</button>
WARNING!
</h1>
Not sure why, but page crashes after clicking anywhere below on first page load.<br>
If you press "Run" once to reload the result iframe everything seems to be ok.<br>
<br>
Or just open the result in a seperate fullscreen window:
<a target="_blank" href="https://jsfiddle.net/ElMoonLite/xm14pbuo/show">[thisurl] /show</a><br>
<hr>
</div>
<div class="block noevents">
Type (and/or hold) keys or click to log events.
Open console (F12) to see more details.
Events in <span class="noevents">pink</span> areas are supressed (in options area and event log table).
<a target="_blank" href="https://jsfiddle.net/ElMoonLite/xm14pbuo/embedded/result/" class="jsfiddle_fullscreenlink">fullscreen</a>
</div>
<div class="block noevents">
<details>
<summary>external reference links...</summary>
<ul class="links">
<li><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/Events">MDN list of event names</a></li>
<li><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/API/Event">MDN Event and its basic properties, and list of subevents like MouseEvent</a></li>
<li><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent">MDN KeyboardEvent</a></li>
<li><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent">MDN MouseEvent</a></li>
<li><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent">MDN WheelEvent</a></li>
<li><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/API/DragEvent">MDN DragEvent</a></li>
<li><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/API/Selection">MDN Selection</a></li>
<li><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/API/Document/selectstart_event">MDN selectstart...
// le sigh... console or some of its member methods are not always available...
var console = window.console;
if(!console || !console.clear || !console.log || !console.table || !console.group || !console.groupCollapsed || !console.groupEnd){
var f = function(){};
console = {clear: f, log:f, table:f, group: f, groupCollapsed: f, groupEnd: f};
}
console.clear();
// last event stored here, useful for console debugging:
window.lastevent = null;
window.lastevents = [];
var events = [
{event:'keydown', default_selected: true},
{event:'keypress', default_selected: true},
{event:'keyup', default_selected: true},
{event:'mousedown', default_selected: true},
{event:'mouseup', default_selected: true},
{event:'click', default_selected: true},
{event:'dblclick', default_selected: true},
{event:'auxclick', default_selected: true},
{event:'contextmenu', default_selected: true}, // similar to auxclick: right click on anything
{event:'mouseover', default_selected: false},
{event:'mouseout', default_selected: false},
{event:'mousemove', default_selected: false},
{event:'wheel', default_selected: true},
{event:'select', default_selected: true}, // NB: only works inside text input and textarea elements(?)
{event:'selectstart', default_selected: true}, // NB: only works outside text input and textarea elements.
{event:'selectionchange', default_selected: false, target: document}, // NB: only works if attached to document (not document.body). also can't detect .noevents ot not. also spams a lot, so default off.
{event:'drag', default_selected: false, description:"This event is fired when an element or text selection is being dragged."},
{event:'dragend', default_selected: true, description:"This event is fired when a drag operation is being ended (by releasing a mouse button or hitting the escape key)."},
{event:'dragenter', default_selected: true, description:"This event is fired when a dragged element or text selection enters a...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.