5,960
edits
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
} | } | ||
var z = x.getElementsByClassName("mw-references-wrap"); | var z = x.getElementsByClassName("mw-references-wrap"); | ||
for (i = 0; i < z.length; i++) { | for (i = 0; i < z.length; i++) { | ||
if (z[i].style.display === "none") { | if (z[i].style.display === "none") { | ||
Line 41: | Line 40: | ||
$(function searchText() { | $(function searchText() { | ||
if (window.location.href.indexOf("Special:Search") != -1) { | if (window.location.href.indexOf("Special:Search") != -1) { | ||
var | var x = document.getElementById("content"); | ||
var y = x.getElementsByClassName("tagline").innerHTML ='Custom text'; | |||
var | /* var i; | ||
for (i = 0; i < y.length; i++) { | |||
document.getElementById('section_0').innerHTML = 'Search Test'; | |||
}*/ | |||
} | } | ||
}()); | }()); |