User:Spicy/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin is at User:Spicy/common.css. |
importScript('User:TheJJJunk/ARA.js'); // [[User:TheJJJunk/Automatic Referencing Assistant]]
mw.loader.load( "https://en.wikipedia.org/w/index.php?title=User:%C3%9Ejarkur/NeverUseMobileVersion.js&action=raw&ctype=text/javascript" );
importScript('User:Mr. Stradivarius/gadgets/ConfirmRollback.js'); // Linkback: [[User:Mr. Stradivarius/gadgets/ConfirmRollback.js]]
ConfirmRollback = {
watchlist: "hide",
contributions: "hide",
recentchanges: "hide",
relatedchanges: "hide",
history: "confirm",
diff: "allow",
}
importScript( 'User:Enterprisey/diff-permalink.js' ); // Backlink: User:Enterprisey/diff-permalink.js
mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:GeneralNotability/cumarkips.js'); // Marks off-limit IPs
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Amalthea/culoghelper.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Amalthea/culoghelper.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:GeneralNotability/InvestorGoat.js&action=raw&ctype=text/javascript'); // Backlink: [[User:GeneralNotability/InvestorGoat.js]]
importScript('User:Writ Keeper/Scripts/massRollback.js')
importScript( 'User:EnterpriseyBot/delsort.js' ); // Backlink: [[User:EnterpriseyBot/delsort.js]]
importScript('User:GregU/dashes.js');
importScript('User:Blablubbs/cuStalenesseverywhere.js'); //modified version of the above
importScript('User:Writ Keeper/Scripts/sockStaleness.js'); // Backlink: [[User:Writ Keeper/Scripts/sockStaleness.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:GeneralNotability/mark-locked.js'); // Mark-locked
mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:GeneralNotability/spihelper.js');
mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:SD0001/RFUD-helper.js'); // RFUD but less effort; also shows last revision of a deleted page without visiting Special:Undelete
importScript('User:RoySmith/tag-check.js'); // Backlink: [[User:RoySmith/tag-check.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:HighInBC/attackPageNotifier.js'); // Small but very red portlet link that appears when there is a G10 nomination
mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Enterprisey/link-deleted-revs.js'); // Link to Special:Undelete from deleted pages
mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Blablubbs/massrevdel_NOS.js'); // Revdel from contribs; same as [[User:Writ Keeper/Scripts/massRevdel.js]], but removes the OS-related buttons
mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Amorymeltzer/unhide.js'); // Automatically unhide revision-deleted diffs
mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Blablubbs/twinkle-blockreasons.js'); // Custom block presets for twinkle
mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Enterprisey/unblock-review.js'); // Unblock reviews without fiddling with source code
mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:MusikAnimal/userRightsManager.js'); // Assign user right at PERM and automatically notify
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]
importScript( 'User:Headbomb/unreliable.js' ); // Backlink: [[User:Headbomb/unreliable.js]]
importScript ('User:The Earwig/copyvios.js');
importScript('User:Evad37/rater.js'); // [[User:Evad37/rater]]
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
importScript( 'User:Evad37/MoveToDraft.js' ); // Backlink: [[User:Evad37/MoveToDraft]]
importScript('User:GeneralNotability/ip-ext-info.js');
importScript('User:Þjarkur/Highlight homographs in title.js');
// Forked from [[User:GeneralNotability/moremenu-proxy.js]]
$(function () {
mw.hook('moremenu.ready').add(function (config) {
const isip = mw.util.isIPAddress(config.targetUser.name, false);
// Things that only work on single IP addresses
if (isip) {
MoreMenu.addSubmenuLink('user', 'ip-lookup', 'Spur', 'https://spur.us/context/' + config.targetUser.encodedName);
MoreMenu.addSubmenuLink('user', 'ip-lookup', 'Shodan', 'https://www.shodan.io/search?query=' + config.targetUser.encodedName);
MoreMenu.addSubmenuLink('user', 'ip-lookup', 'Spur API', 'https://en.wikipedia.org/wiki/User:GeneralNotability/SpurLookup?address=' + config.targetUser.encodedName);
if (mw.util.isIPv4Address(config.targetUser.name, false)) {
MoreMenu.addSubmenuLink('user', 'ip-lookup', 'Censys', 'https://censys.io/ipv4/' + config.targetUser.encodedName);
}
}
if (isip || config.targetUser.ipRange) {
MoreMenu.addSubmenuLink('user', 'ip-lookup', 'Stalktoy', 'https://tools.wmflabs.org/meta/stalktoy/' + config.targetUser.encodedName);
}
});
});