tarikmanoar / Nulljungle.com Ads Remove

// ==UserScript==
// @name         Nulljungle.com Ads Remove
// @namespace    thttps://openuserjs.org/users/tarikmanoar
// @version      1.0
// @description  try to take over the world!
// @copyright    2021, tarikmanoar (https://openuserjs.org/users/tarikmanoar)
// @license      MIT
// @author       TarikManoar
// @match        https://nulljungle.com/*
// @match        http://nulljungle.com/*
// @match        https://*.nulljungle.com/*
// @match        http://*.nulljungle.com/
// @icon         https://www.google.com/s2/favicons?domain=nulljungle.com
// @run-at       document-end
// @grant        none
// ==/UserScript==

// ==OpenUserJS==
// @author tarikmanoar
// ==/OpenUserJS==

(function () {
  'use strict';
  document.getElementById("wrapper").style.filter = "none";
  setInterval(function () {
    document.querySelectorAll('[class^="wp-"]').forEach((v, i) => {
      if (v.nodeName != 'BODY') {
        v.remove();
      }
    });
    console.log('WORRRIKG');

    //Enable Context Menu
    document.oncontextmenu = null;
    document.body.oncontextmenu = null;
    document.ondragstart = null;

    //Enable Hot Key
    let h_win_disableHotKeys;
    let h_mac_disableHotKeys;
    window.removeEventListener('keydown', h_win_disableHotKeys);

    document.keypress = function (e) {
      if (e.ctrlKey && (e.which == 65 || e.which == 66 || e.which == 70 || e.which == 67 || e.which == 73 || e.which == 80 || e.which == 83 || e.which == 85 || e.which == 86)) {
        return true;
      }
    };

    /** For mac check metakey. */
    window.removeEventListener('keydown', h_mac_disableHotKeys);

    document.keypress = function (e) {
      if (e.metaKey && (e.which == 65 || e.which == 66 || e.which == 70 || e.which == 67 || e.which == 73 || e.which == 80 || e.which == 83 || e.which == 85 || e.which == 86)) {
        return true;
      }
    };

    /** Enable DevTools. */
    document.onkeydown = function (e) {
      e = e || window.event;
      if (e.keyCode == 123 || e.keyCode == 18 || (e.ctrlKey && e.shiftKey && e.keyCode == 73)) {
        return true;
      }

    };

    if (typeof document.body.onselectstart != 'undefined') {
      document.body.onselectstart = function () {
        return true;
      };
    }
    else if (typeof document.body.style.MozUserSelect != 'undefined') {
      document.body.style.MozUserSelect = 'text';
    }
    else if (typeof document.body.style.webkitUserSelect != 'undefined') {
      document.body.style.webkitUserSelect = 'text';
    }
    else {
      document.body.onmousedown = function () {
        return true;
      };
    }

    document.body.style.cursor = 'auto';

  }, 1000);

})();