Created
January 7, 2016 04:47
-
-
Save maagmirror/4f4783765f91a2252793 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name fixes | |
// @namespace Maag | |
// @description /* | |
// @author http://www.taringa.net/maag- | |
// @homepage https://userstyles.org/styles/120582 | |
// @include http://www.taringa.net/* | |
// @include https://www.taringa.net/* | |
// @include http://*.www.taringa.net/* | |
// @include https://*.www.taringa.net/* | |
// @include https://*.www.taringa.net/mi | |
// @run-at document-start | |
// @version 1 | |
// ==/UserScript== | |
(function() {var css = [ | |
"@namespace url(http://www.w3.org/1999/xhtml);", | |
"*", | |
"", | |
"", | |
"div .nav-principal.fl-l {", | |
" padding-left: 80px;", | |
"}", | |
"li.juegos {", | |
" display:none;", | |
"}", | |
"li.comunidades {", | |
" display:none;", | |
"}", | |
".header-main__badge {", | |
" display: inline-block;", | |
" margin: 0 3px;", | |
" padding: 0 5px;", | |
" line-height: 18px;", | |
" font-size: 11px;", | |
" color: #FF0E0E;", | |
" background: #000000;", | |
"}", | |
"div.list.recomendados {", | |
" display:none;", | |
"}", | |
"div.fixme {", | |
" display:none;", | |
"}", | |
"/*i.icon.s-like-color, i.icon.s-like:active {", | |
" color: #FF0E0E;", | |
" }", | |
"nav.tabs ul, div.meta-data ul {", | |
" margin: 0;", | |
" padding: 0px 178px;", | |
" }", | |
"}", | |
"nav.tabs ul, div.meta-data ul {", | |
"margin: 0;", | |
"padding: 0 93px;", | |
"}", | |
"", | |
"*/" | |
].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); | |
} | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment