Skip to content

Instantly share code, notes, and snippets.

@lyf-is-coding
Created October 15, 2022 12:37
Show Gist options
  • Save lyf-is-coding/b56afea6dc94227c0c190ad42024bdcf to your computer and use it in GitHub Desktop.
Save lyf-is-coding/b56afea6dc94227c0c190ad42024bdcf to your computer and use it in GitHub Desktop.

Revisions

  1. lyf-is-coding created this gist Oct 15, 2022.
    31 changes: 31 additions & 0 deletions LinkneverdieAntiAnti-Adblocker.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    // ==UserScript==
    // @name Anti Anti-Adblocker - linkneverdie.net
    // @namespace Violentmonkey Scripts
    // @match https://linkneverdie.net/*
    // @grant none
    // @version 1.0
    // @author -
    // @description 10/14/2022, 3:23:08 PM
    // ==/UserScript==

    function leet()
    {
    console.log("Running");

    let collection = document.getElementsByTagName("script");

    for (var i = 0; i < collection.length; i)
    {
    if (collection[i].innerText.includes("quang-cao"))
    {
    console.log(collection[i]);
    collection[i].remove();
    }
    else
    {
    ++i;
    }
    }
    }

    leet();