MediaWiki
Gadget-homebutton.js
From Dogcraft Wiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (โ-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (โ-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
$(document).ready(function() {
var wikiskinsandbox = document.getElementsByClassName("title-area")[0];
wikiskinsandbox.innerHTML='<li class="namee"><div class="title-name" style="margin:0;"><div style="display: inline-block;width: 47px;height: 45px;background: var(--main-color);vertical-align: top;"><div style="display: inline-block;width: 47px;clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);background: white;height: 47px;line-height: 2em;padding-left: 2px;padding-top:2px;"><a href="//dogcraft.net" style=""><i class="fa fa-home" style="font-size: 40px;color: var(--main-color);"></i></a></div></div><div style="display: inline-block;background: var(--main-color);"><a href="/wiki/Main_Page"><img alt="Dogcraft Wiki" class="top-bar-logo" src="/wiki/resources/assets/logo.png"><div class="title-name" style="display: inline-block;">Dogcraft Wiki</div></a></div><div></div></div></li><li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>';
});
This page was last modified on 2 August 2020, at 23:10. (3 years ago)