User:Jason Quinn/common.js

Source: Wikipedia, the free encyclopedia.
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.
userHideAllSubsequent=true;

importScript('User:Markhurd/hidetopcontrib.js');

importScript('User:Frietjes/findargdups.js');

importScript('User:Mr. Stradivarius/gadgets/SearchEditLink.js'); // Linkback: [[User:Mr. Stradivarius/gadgets/SearchEditLink.js]]

$(function() {
	var r=$("#wpSummaryWidget :input");
	$("#wpSaveWidget :input")
		.on("mouseover", function() {
			r.val().trim() || (window.editSumOrigBorder=r.css("border"),r.css("border","solid 2px red"));
		})
		.on("mouseout", function() {
			r.css("border",window.editSumOrigBorder);
		});
});