Jump to content

User:Pineapple Storage/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Pineapple Storage (talk | contribs) at 14:27, 15 May 2025 (Installing User:Novem Linguae/Scripts/GANReviewTool.js (script-installer)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool

importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' ); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]

mw.loader.load( '/w/index.php?title=User:Evad37/rater.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Evad37/rater.js]]

// Thanks to User:Skynxnex for this: //
/* Disallow hitting "enter" in the edit summary box to actually submit. */
(function() {
	var submit_box = document.getElementById('wpSummary');
	if (submit_box) {
		submit_box.onkeypress = function(e) {
			if (e.charCode === 13) {
    			alert('Customized behavior; "enter" to publish turned off. Use "Publish page" to publish.');
    			e.preventDefault();
			}
		};
	}
})();
importScript('User:Novem Linguae/Scripts/GANReviewTool.js'); // Backlink: [[User:Novem Linguae/Scripts/GANReviewTool.js]]