User:Jetblade/timeless.js

/* Timeless theme logo fix. Turns the logo for timeless from a 100x100 png into * a SVG * By Jetblade https://en.wikipedia.org/Wiki/User:Jetblade */ var NEW_LOGO = "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg";

console.log("%cUsing Jetblade's timeless theme logo fix", "color: cyan;"); // if this suddenly stops working, it's the line below var logo = document.querySelector(".mw-wiki-logo > img:nth-child(1)"); logo.src = NEW_LOGO;