User:Dmehus/common.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Creating common.js file
 
Installing script from User:Naleksuh/common.js
Line 8: Line 8:
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('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');
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]]

Revision as of 00:03, 10 January 2021

// 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]]