Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Avenoel - mobile
- // @namespace http://userstyles.org
- // @description avenoel version mobile
- // @author grosseviande
- // @homepage https://userstyles.org/styles/150924
- // @include http://avenoel.org/*
- // @include https://avenoel.org/*
- // @include http://*.avenoel.org/*
- // @include https://*.avenoel.org/*
- // @run-at document-start
- // @version 0.20171125200240
- // ==/UserScript==
- (function() {var css = [
- "@namespace url(http://www.w3.org/1999/xhtml);",
- " .topics-title a {",
- " display: block;",
- " margin: auto;",
- " height: 100%;",
- " width: 100%;",
- " }"
- ].join("\n");
- if (typeof GM_addStyle != "undefined") {
- GM_addStyle(css);
- } else if (typeof PRO_addStyle != "undefined") {
- PRO_addStyle(css);
- } else if (typeof addStyle != "undefined") {
- addStyle(css);
- } else {
- var node = document.createElement("style");
- node.type = "text/css";
- node.appendChild(document.createTextNode(css));
- var heads = document.getElementsByTagName("head");
- if (heads.length > 0) {
- heads[0].appendChild(node);
- } else {
- // no head yet, stick it whereever
- document.documentElement.appendChild(node);
- }
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment