User:Troyp/common.js

//importScript('User:Equazcion/ScriptInstaller.js'); // Backlink: User:Equazcion/ScriptInstaller.js //importScript('User:Ugog_Nizdast/FloatingTOC.js'); // Backlink: User:Ugog_Nizdast/FloatingTOC.js importScript('User:Equazcion/Floater.js'); // Backlink: User:Equazcion/Floater.js importScript('User:Esquivalience/mathjax.js'); // Backlink: User:Esquivalience/mathjax.js importScript('User:Opencooper/showKanji.js'); // Backlink: User:Opencooper/showKanji.js //importScript('User:Rezonansowy/SimpleLightbox.js'); // Backlink: User:Rezonansowy/SimpleLightbox.js //importScript('User:Eizzen/SkinSwitcher.js'); // Backlink: User:Eizzen/SkinSwitcher.js importScript('User:Enterprisey/superjump.js'); // Backlink: User:Enterprisey/superjump.js //importScript('User:Writ_Keeper/Scripts/googleTitle.js'); // Backlink: User:Writ_Keeper/Scripts/googleTitle.js importScript('User:Enterprisey/search-shortcuts.js'); // Backlink: User:Enterprisey/search-shortcuts.js importScript('User:The_Transhumanist/SearchSuite.js'); // Backlink: User:The_Transhumanist/SearchSuite.js //importScript('User:Sam_Sailor/Scripts/WRStitle.js'); // Backlink: User:Sam_Sailor/Scripts/WRStitle.js mw.loader.load('//en.wiktionary.org/w/index.php?title=User:Dixtosa/WhoDidThat.js&action=raw&ctype=text/javascript');

// googleTitle.js - modified $(document).ready(function {		if(mw.config.get("wgCanonicalNamespace") == "")		{			var subjectName;			var pageName = mw.config.get("wgPageName");			if(pageName.charAt(pageName.length - 1) == ")") {				subjectName = pageName.substring(0, pageName.lastIndexOf("(") - 1);			}			else			{				subjectName = pageName;			}			var google = "  【Search Google】 "			$("#firstHeading").append(google);			var googleImages = "  【Search Google Images】 "			$("#firstHeading").append(googleImages);			var bingImages = "  【Search Bing Images】 " $("#firstHeading").append(bingImages); /*			var searchNode = document.createElement("a"); searchNode.href = "http://www.google.com/search?q=" + encodeURIComponent(subjectName.replace(/_/g, " ")) + "+-wikipedia.org"; searchNode.target = "_blank"; searchNode.innerHTML = " Search Google "; document.getElementById("firstHeading").appendChild(searchNode); } });