User:Smasongarrison/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 can be added at User:Smasongarrison/common.css. |
importScript('User:Gary/enhanced random article.js'); // Backlink: [[User:Gary/enhanced random article.js]]
importScript('User:Evad37/Watchlist-hideAWB.js'); // Backlink: [[User:Evad37/Watchlist-hideAWB.js]]
var awbHiddenByDefault = false;
importScript('User:Gary/subjects_age_from_year.js'); // Backlink: [[User:Gary/subjects_age_from_year.js]]
importScript('User:Guywan/Scripts/12HourFormat.js'); // Backlink: [[User:Guywan/Scripts/12HourFormat.js]]
importScript('User:Chlod/Scripts/UserHighlighter.js'); // Backlink: [[User:Chlod/Scripts/UserHighlighter.js]]
importScript('User:PrimeHunter/My_subpages.js'); // Backlink: [[User:PrimeHunter/My_subpages.js]]
//importScript('User:Awesome Aasim/rcpatrol.js'); // Backlink: [[User:Awesome Aasim/rcpatrol.js]]
//importScript('User:David_Condrey/bookmarknav.js'); // Backlink: [[User:David_Condrey/bookmarknav.js]]
mw.loader.load( '/w/index.php?title=User:Evad37/rater.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Evad37/rater.js]]
importScript('User:IagoQnsi/ipareader.js'); // Backlink: [[User:IagoQnsi/ipareader.js]]
importScript('User:DannyS712/Draft_no_cat.js'); // Backlink: [[User:DannyS712/Draft_no_cat.js]]
importScript('User:Danski454/hotcat-summary.js'); // Backlink: [[User:Danski454/hotcat-summary.js]]
window.hotcat_use_category_links = true;
importScript('User:Lourdes/PageCuration.js'); // Linkback: [[User:Lourdes/PageCuration.js]]
importScript('User:Kku/Scripts/BacklinkTitle.js'); // Backlink: [[User:Kku/Scripts/BacklinkTitle.js]]
importScript('User:SuperHamster/CiteUnseen.js'); // Backlink: [[User:SuperHamster/CiteUnseen.js]]
importScript('User:SD0001/edits-since-decline.js'); // Backlink: [[User:SD0001/edits-since-decline.js]]
importScript('User:Evad37/WikidataWatchlistLabels.js'); // Backlink: [[User:Evad37/WikidataWatchlistLabels.js]]
importScript('User:Enterprisey/cv-revdel.js'); // Backlink: [[User:Enterprisey/cv-revdel.js]]
importScript('User:DannyS712/copyvio-check.js'); // Backlink: [[User:DannyS712/copyvio-check.js]]
//importScript('User:Writ Keeper/Scripts/deletionFinder.js'); // Backlink: [[User:Writ Keeper/Scripts/deletionFinder.js]]
//importScript('User:Anomie/lockout.js'); // Backlink: [[User:Anomie/lockout.js]]
/* Adapted from https://wiki.riteme.site/wiki/User:Anomie/lockout.js
/* Forbid access using this account on weekdays from 10:00am to 2:31pm local time. */
(function(){
if(!document.body){
// Page not loaded yet!
setTimeout(arguments.callee, 100);
return;
}
// Lockout times in seconds
var s = 10*3600 + 0*60; // Start weekday lockout time
var e = 15*3600 + 31*60; // End weekday lockout time
var sn = 1*3600 + 31*60; // Start night lockout time
var en = 5*3600 + 31*60; // End night lockout time
var dt = new Date();
var t = dt.getHours()*3600 + dt.getMinutes()*60 + dt.getSeconds();
var wd = dt.getDay()%7;
// Check if current time is within any of the lockout periods
var isLockout = (wd >= 1 && wd <= 5 && t >= s && t < e) || // Weekday lockout
(t >= sn && t < en); // Night lockout for all days
// Lock out!
if (isLockout) {
document.body.style.display = 'none';
} else {
document.body.style.display = '';
}
// And repeat the check every second so I can't just firebug my
// way past it.
setTimeout(arguments.callee, 1000);
})();
importScript('User:Eejit43/scripts/redirect-helper.js'); // Backlink: [[User:Eejit43/scripts/redirect-helper.js]]
importScript('User:קיפודנחש/cat-a-lot.js'); // Backlink: [[User:קיפודנחש/cat-a-lot.js]]
////////// Cat-a-lot user preferences //////////
window.catALotPrefs = {"watchlist":"preferences","editpages":true,"docleanup":false,"subcatcount":10};
////////////////////////////////////catALotEnd//
//</nowiki>
importScript('User:Qwerfjkl/scripts/unusedCategories.js'); // Backlink: [[User:Qwerfjkl/scripts/unusedCategories.js]]
importScript('User:Awesome_Aasim/redirectcreator.js'); // Backlink: [[User:Awesome_Aasim/redirectcreator.js]]
importScript('User:Eejit43/scripts/deletion-finder.js'); // Backlink: [[User:Eejit43/scripts/deletion-finder.js]]
importScript('User:Qwerfjkl/scripts/massCFDS.js'); // Backlink: [[User:Qwerfjkl/scripts/massCFDS.js]]
importScript('User:Novem Linguae/Scripts/UserTalkErasedSectionsDetector.js'); // Backlink: [[User:Novem Linguae/Scripts/UserTalkErasedSectionsDetector.js]]
importScript('User:Novem Linguae/Scripts/DetectPromo.js'); // Backlink: [[User:Novem Linguae/Scripts/DetectPromo.js]]
importScript('User:Novem Linguae/Scripts/DraftCleaner.js'); // Backlink: [[User:Novem Linguae/Scripts/DraftCleaner.js]]
//importScript('User:BrandonXLF/HotDefaultSort.js'); // Backlink: [[User:BrandonXLF/HotDefaultSort.js]]
importScript('User:Equazcion/OneClickArchiver.js'); // Backlink: [[User:Equazcion/OneClickArchiver.js]]
importScript('User:Epicgenius/commonshelperlink.js'); // Backlink: [[User:Epicgenius/commonshelperlink.js]]
importScript('User:Awesome_Aasim/xfdvote.js'); // Backlink: [[User:Awesome_Aasim/xfdvote.js]]
importScript('User:MPGuy2824/MoveToDraft.js'); // Backlink: [[User:MPGuy2824/MoveToDraft.js]]
importScript('User:Qwertyytrewqqwerty/DisamAssist.js'); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]