//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 = " <a href='http://www.google.com/search?q=" + encodeURIComponent(subjectName.replace(/_/g, " ")).replace(/'/g,"%27") + "+-wikipedia.org' target='_blank' class='_added-by-script'><span style='font-size:x-small;'>【Search Google】</span></a>"
$("#firstHeading").append(google);
var googleImages = " <a href='https://www.google.com/search?site=imghp&tbm=isch&biw=1920&q=" + encodeURIComponent(subjectName.replace(/_/g, " ")).replace(/'/g,"%27") + "+-wikipedia.org' target='_blank' class='_added-by-script'><span style='font-size:x-small;'>【Search Google Images】</span></a>"
$("#firstHeading").append(googleImages);
var bingImages = " <a href='https://www.bing.com/images/search?q=" + encodeURIComponent(subjectName.replace(/_/g, " ")).replace(/'/g,"%27") + "+-wikipedia.org' target='_blank' class='_added-by-script'><span style='font-size:x-small;'>【Search Bing Images】</span></a>"
$("#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 = " <span style='font-size:x-small;'>Search Google</span>";
document.getElementById("firstHeading").appendChild(searchNode);
*/
}
});