User:Mykhal/common.js

/* Wikipedia:User_scripts/List */

/* User:Fred Gandt/confirmLogout.js */ ( function( d ) {	function init {		var logout = d.getElementById( "pt-logout" );		if(!logout) return; // e.g. Minerva (mobile skin)		logout.addEventListener( "click", function( evt ) { if ( !confirm( "Are you sure you want to logout?" ) ) {				evt.preventDefault; }		}, false );	}	$( d ).ready( init ); } ( document ) );

/* en:User:ערן/autocomplete.js */ mw.loader.load('//he.wikipedia.org/w/load.php?modules=ext.gadget.autocomplete');