Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name New Userscript
- // @namespace http://tampermonkey.net/
- // @version 0.2
- // @description try to take over the world!
- // @author You
- // @match https://wiki.archlinux.org/*
- // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
- // @grant none
- // ==/UserScript==
- (function (window) {
- // var w = window.unsafeWindow || window;
- var w=window
- if (/https:\/\/wiki.archlinux.org/.test(w.location.href)) {
- document.getElementsByClassName('mw-content-container')[0].style.maxWidth = 'none';
- document.getElementsByClassName('mw-content-container')[0].style.marginLeft = '10em';
- document.getElementsByClassName('mw-content-container')[1].style.maxWidth = 'none';
- document.getElementsByClassName('mw-content-container')[1].style.marginLeft = '10em';
- document.getElementsByClassName('mw-article-toolbar-container')[0].style.maxWidth = 'none';
- document.getElementsByClassName('mw-article-toolbar-container')[0].marginLeft = '10em';
- document.getElementById('mw-head').style.marginLeft='10em'
- document.getElementsByClassName('mw-workspace-container')[0].style.maxWidth = 'none';
- document.getElementsByClassName('mw-workspace-container')[1].style.maxWidth = 'none';
- document.getElementsByClassName('mw-page-container')[0].style.maxWidth = 'none';
- document.getElementById('mw-panel').style.webkitTransform='none'
- document.getElementById('mw-panel').style.visibility='visible'
- document.getElementById('mw-panel').style.opacity='unset'
- }
- })(window);
Add Comment
Please, Sign In to add comment