MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Created page with "→Any JavaScript here will be loaded for all users on every page load.: $(document).ready(function () { //Disable cut copy paste $('body').bind('cut copy paste', f..." |
mNo edit summary |
||
| Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
/* | |||
$(document).ready(function () { | $(document).ready(function () { | ||
| Line 12: | Line 17: | ||
}); | }); | ||
}); | }); | ||
*/ | |||
Revision as of 08:02, 13 November 2019
/* Any JavaScript here will be loaded for all users on every page load. */
/*
$(document).ready(function () {
//Disable cut copy paste
$('body').bind('cut copy paste', function (e) {
e.preventDefault();
});
//Disable mouse right click
$("body").on("contextmenu",function(e){
return false;
});
});
*/