kathyjudd / Annoying Ad blocker 18+

// ==UserScript==
// @name        Annoying Ad blocker 18+
// @description Prevents annoying ads from displaying 18+
// @version     2017.08.36
// @include     *://*.thepiratebay.org/*
// @include     *://*.pornhub.com/*
// @include     *://*.camwhores.tv/*
// @include     *://*.chaturbate.com/*
// @include     *://*.vporn.com/*
// @grant       GM_addStyle
// @namespace   https://openuserjs.org/users/nonedude
// @require     http://code.jquery.com/jquery-1.11.1.min.js
// @license MIT
// ==/UserScript==

String.prototype.contains = function (it) { return this.indexOf(it) != -1; };

var ssss = location.href;

function pornhub(){
    $("iframe").each(function() {
       $(this).remove();
    });
}
function camwhores(){
   delete window.TotemToolsObject;

    loadTool = function () {};
    e = function () {};
    t = function () {};
     o = function () {};
     t = function () {};
    $("iframe").remove();
    $(".topad").remove();
    $(".row-models").remove();
    $(".list-live-models").remove();
    $("#videos-ad").remove();
    
    d9g = "";
    p9b0g= "";
    r3H4 = "";
    _0x9f02 = [];
    f = function () {};
    i = function () {};
    a = function () {};
    u = function () {};
    v = function () {};
    n = function () {};
    h = function () {};
    l = function () {};
    d = function () {};
    H = function () {};
    k = function () {};
    g = function () {};

    $(".fp-ui div:first-child").remove();
    $("div.adv").remove();
    $("canvas").each(function() {
       $(this).remove();
    });
    $("script").each(function() {
        $(this).html("vvvvvvv");
        $(this).attr("src"),"localhost";
    });
    //$("input[namee='q']").prop('disabled', true);
   
}
function chaturbate(){
    $(".adsbyxa").remove();
    $(".ad").remove();
    $(".banner").remove();
}
function vporn(){
    $("#red-adv").remove();
    $("#video-fivesec-banner").remove();
    $("#video-advert").remove();
    $(".adholder").remove();
    
    $("iframe").each(function() {
       $(this).remove();
    });
}




if (ssss.contains("pornhub"))
{
    pornhub();
    window.setInterval(function(){
        pornhub();
    },1000);

}
if (ssss.contains("camwhores"))
{
    camwhores();
    window.setInterval(function(){
        camwhores();
    },1000);
}

if (ssss.contains("chaturbate"))
{
    chaturbate();
    window.setInterval(function(){
        chaturbate();
    },1000);
}

if (ssss.contains("vporn"))
{
    vporn();
    window.setInterval(function(){
        vporn();
    },1000);
}