User:Alexis Jazz/Hammertime.js

In this article, we will explore User:Alexis Jazz/Hammertime.js from different perspectives, delving into its importance, impact and relevance in today's society. User:Alexis Jazz/Hammertime.js is a topic that has captured the attention of experts and fans alike, and through this detailed analysis, we seek to shed light on its many facets. From its history to its future, through its implications in culture, politics and the economy, we will enter a universe of possibilities and challenges. Get ready to discover everything you need to know about User:Alexis Jazz/Hammertime.js and its influence on the modern world.
// Stop content on the page with a button. (only in article namespace) Made to stop potentially distracting GIF animations. Not tested in all browsers. It boils down to a simple window.stop.
// Made by Alexis Jazz who takes no responsiblity whatsoever
// CC BY-SA 3.0
// Add:
// mw.loader.load( '/w/index.php?title=User:Alexis Jazz/Hammertime.js&action=raw&ctype=text/javascript' );
// to ] to activate.

ns = mw.config.get( 'wgNamespaceNumber' );

switch ( ns ) {
	case 0:
		function HAMMERTIME() {
			window.stop();
		}
var STOP;
mw.loader.using( 'oojs-ui-core' ).done( function () {
    STOP = new OO.ui.ButtonWidget( {
    	id: 'STOPBUTTON',
        label: 'X',
	classes: 
    } );
    STOP.on( 'click', HAMMERTIME);
} );

$( document ).ready( function() {
	$( '#mw-content-text' ).prepend(STOP.$element);
} );
}