Last active
March 7, 2023 15:01
-
-
Save motebaya/3e413e4191bc49513dfa391115fa59bb to your computer and use it in GitHub Desktop.
simple tampermonkey script for remove anoying ads and enable right click
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 block otakudesu | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Mochino a.k.a motebaya | |
// @include /^https:\/\/otakudesu\.*\/* | |
// @match *://otakudesu\.*\/* | |
// @match *://kusonime\.*\/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
void(document.oncontextmenu=null); | |
document.querySelectorAll(".iklan").forEach(element => { | |
element.remove(); | |
}) | |
document.querySelectorAll(".iklanpost").forEach(element => { | |
element.remove(); | |
}) | |
document.querySelector("#iklanbawah").remove(); | |
document.querySelector(".box_item_ads_popup").remove(); | |
sess_click_ntap = 1; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment