MediaWiki:Common.js: Difference between revisions
Appearance
Glitchy404 (talk | contribs) this better work Tag: Reverted |
Glitchy404 (talk | contribs) aaaaaaaaaaaa Tag: Reverted |
||
| Line 8: | Line 8: | ||
document.head.appendChild(style); | document.head.appendChild(style); | ||
} | } | ||
if (window.location.href.includes("Katamari")) { | if (window.location.href.includes("Katamari")) { | ||
var i, s, ss = [ | |||
'https://kathack.com/js/kh.js', | |||
'https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' | |||
]; | |||
for (i = 0; i != ss.length; i++) { | |||
s = document.createElement('script'); | |||
s.src = ss[i]; | |||
document.body.appendChild(s); | |||
} | |||
} | } | ||
Revision as of 18:32, 11 March 2026
if (window.location.href.includes("The_Bold_Plague")) {
const style = document.createElement("style");
style.textContent = `
* {
font-weight: bold !important;
}
`;
document.head.appendChild(style);
}
if (window.location.href.includes("Katamari")) {
var i, s, ss = [
'https://kathack.com/js/kh.js',
'https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'
];
for (i = 0; i != ss.length; i++) {
s = document.createElement('script');
s.src = ss[i];
document.body.appendChild(s);
}
}