User:Chlod/common.js: Difference between revisions

Content deleted Content added
remove annoying closure
No edit summary
Line 8:
// PS: Whoever uses single quotes for strings is a monster.
 
// Override importScriptthe import script function to use mw.loader (not using the function
// name itself to avoid AWB replaces or search indexes)
window.importScript[atob("aW1wb3J0U2NyaXB0")] = function (page, oldid) {
const url = new URL("/w/index.php", window.___location.href);
url.searchParams.set("title", page);