Skip to content

Instantly share code, notes, and snippets.

@motebaya
Last active March 7, 2023 15:01
Show Gist options
  • Save motebaya/3e413e4191bc49513dfa391115fa59bb to your computer and use it in GitHub Desktop.
Save motebaya/3e413e4191bc49513dfa391115fa59bb to your computer and use it in GitHub Desktop.
simple tampermonkey script for remove anoying ads and enable right click
// ==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