User:Nixinova/common.js

/* Load scripts */

// Load user scripts mw.loader.load('/index.php?title=User:Nixinova/version-autocorrect.js&action=raw&ctype=text/javascript'); mw.loader.load('/index.php?title=User:Nixinova/Newest_article.js&action=raw&ctype=text/javascript'); mw.loader.load('/index.php?title=User:Nixinova/FTB_note.js&action=raw&ctype=text/javascript');

// Custom title shortcuts window.shortcut_replacements = [ ['^\\bje\\b', 'Java Edition '], ['^\\bbe\\b', 'Bedrock Edition '], ['^\\bee\\b', 'Education Edition '], ['^\\bnn\\b', 'User:Nixinova'], ['\\bpd\\b', 'Pending deletion'] ]; mw.loader.load('/index.php?title=User:Nixinova/namespace-shortcuts.js&action=raw&ctype=text/javascript');

// One-click archiver mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Technical_13/Scripts/OneClickArchiver.js&action=raw&ctype=text/javascript");

// JS Wiki Browser mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');

/* Custom scripts */

/*/ Search $(function {   if (!location.href.includes('&ns%5B0%5D=') && location.href.includes('Search')) $('[title="Search all of content (including talk pages)"')[0].click; });//*/

$(window).on('load', function {   $('h2').removeClass('open-block');    $('h2 + div').removeClass('open-block').attr('aria-expanded','false').attr('aria-pressed','false'); });