Jump to content

User:UsernameHere/common.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
document.getElementById('p-logo').innerHTML = '<a id="custom-logo" href="/wiki/Main_Page" title="Visit the main page"><img width="160" height="160" src="/media/wikipedia/commons/6/64/Wikipedia-Crystal_clear-advancedsetting.png" style="position: absolute;top: 10px; left: 0px"></a>';
document.getElementById('custom-logo').style['background-size'] = '0px';
window.onkeydown = function (e)
{
	if (e.ctrlKey && e.altKey) {var KICKASSVERSION='2.0';var s = document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='//hi.kickassapp.com/kickass.js';s.onload = function () {document.getElementById('kickass-menu').innerHTML = '';}}
};