User:Daedalus969/monobook.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 can be added at User:Daedalus969/monobook.css. |
importScript('User:John254/mass rollback.js')
// [[User:Tim Song/spihelper.js]]
importScript("User:Tim Song/spihelper.js");
// [[User:Shirik/spm.js]] LTA reporting script
importScript("User:Shirik/spm.js");
// [[User:Superm401/Compare link.js]]
importScript('User:Superm401/Compare link.js');
importScript('User:Voice_of_All/Addtabs/monobook.js');
importScript('User:Lupin/recent2.js');
// [[User:Henrik/live-edit-counter]]
importScript('User:Henrik/js/live-edit-counter.js');
importScript('User:TheDJ/qui.js');
$(function() {
mw.util.addPortletLink('p-personal','/wiki/WP:AN/I','AN/I');
mw.util.addPortletLink('p-personal','/w/index.php?title=Wikipedia:Administrators\'_noticeboard/Incidents&action=history','(hist)');
mw.util.addPortletLink('p-personal','/wiki/Wikipedia:Sockpuppet investigations','SPI');
mw.util.addPortletLink('p-personal','/wiki/Wikipedia:IRC_channels#List_of_useful_channels','IRC');
});
// Friendly
importScript('User:Ioeth/friendly.js');
// adapted from TinEye gadget for Commons
// To use, add this to your user skin preferences file (probably User:YourUsername/monobook.js):
// TinEye
importScript('User:Twp/tineye.js');
// [[User:ais523/bracketmatch.js]]
importScript('User:ais523/bracketmatch.js');
// Adds a "Replace" tab which pops up two prompt boxes; one for a regexp and one for a replacement
function wpTextboxReplace()
{
var s = prompt("Search regexp:");
if(s){
var r = prompt("Replace /"+s+"/ with:");
if(!r && r != '') return;
var txt = document.editform.wpTextbox1;
txt.value = txt.value.replace(new RegExp(s, "mg"), r);
}
}
$(function () {
if (document.forms.editform) {
mw.util.addPortletLink('p-cactions', 'javascript:wpTextboxReplace()', 'Replace', 'ca-replace',
'Regexp replace for the edit window', 'R', document.getElementById('ca-history'));
}
});
//