User:Dmehus/common.js

From Test Wiki
Revision as of 00:03, 10 January 2021 by Dmehus (talk | contribs) (Installing script from User:Naleksuh/common.js)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript");
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:DannyS712/PermaLinkSection.js&action=raw&ctype=text/javascript"); // Backlink: [[User:DannyS712/PermaLinkSection.js]]
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:DannyS712/Easy-link.js&action=raw&ctype=text/javascript"); // Backlink: [[User:DannyS712/Easy-link.js]]
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/markBlocked.js&action=raw&ctype=text/javascript"); // Backlink: [[User:Writ Keeper/Scripts/markBlocked.js]]
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Enterprisey/diff-permalink.js&action=raw&ctype=text/javascript"); // Backlink: [[User:Enterprisey/diff-permalink.js]]
// mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Enterprisey/links-in-logs.js&action=raw&ctype=text/javascript"); // Backlink: [[User:Enterprisey/links-in-logs.js]]
mw.loader.load('https://en.wikipedia.org/w/load.php?modules=ext.gadget.Navigation_popups'); // Backlink: [[Wikipedia:Tools/Navigation popups]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/Restorer.js&action=raw&ctype=text/javascript'); // Backlink:  [[User:BrandonXLF/Restorer]]
mw.loader.load('//dev.miraheze.org/w/index.php?title=MediaWiki:backendInformation.js&action=raw&ctype=text/javascript');
$(function () {
	for(var i = 0 ; i <= document.getElementsByTagName("a").length ; i++){if(document.getElementsByTagName("a")[i] != undefined && (document.getElementsByTagName("a")[i].title == "User:Naleksuh" || (mw.user.getName() == "Naleksuh" && document.getElementsByTagName("a")[i].title == "Your user page [Alt+Shift+.]"))){document.getElementsByTagName("a")[i].className = "new mw-userlink"}}
}); // Backlink:  [[User:Naleksuh/common.js]]