Last active
July 28, 2023 14:09
-
-
Save ImMALWARE/c35e80c5fb0537fd6308790040d47f84 to your computer and use it in GitHub Desktop.
Lolzteam NoAds
This file contains hidden or 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 Lolzteam NoAds | |
// @description Lolzteam NoAds | |
// @author MALWARE | |
// @homepage https://t.me/notmalware/ | |
// @include http://zelenka.guru/* | |
// @include https://zelenka.guru/* | |
// @include http://*.zelenka.guru/* | |
// @include https://*.zelenka.guru/* | |
// @include http://lolz.guru/* | |
// @include https://lolz.guru/* | |
// @include http://*.lolz.guru/* | |
// @include https://*.lolz.guru/* | |
// @grant GM_addStyle | |
// @version 1.0 | |
// @license MIT | |
// @icon https://lolz.guru/favicon.ico | |
// @run-at document-start | |
// ==/UserScript== | |
var css = [ | |
'.axsBackground {display: none;}', | |
'li[data-author="Реклама"] {display: none;}', | |
'.text_Ads.mn-0-0-15 {display: none;}', | |
'.section.monthMaecenas {display: none;}', | |
'a[href="https://xenforo.com"] {display: none;}', | |
'.hasUnreadArticles {display: none;}', | |
'.panel.Notice.DismissParent.notice_34 {display: none;}' | |
].join("\n"); | |
(function() { | |
'use strict'; | |
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 { | |
document.documentElement.appendChild(node); | |
} | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment