NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Anti-adblocker
// @namespace https://openuserjs.org/users/Goodgy
// @updateURL https://openuserjs.org/meta/Goodgy/Anti-adblocker.meta.js
// @downloadURL https://openuserjs.org/src/scripts/Goodgy/Anti-adblocker.user.js
// @version 1.1
// @description Removes any notification that tells you to disable adblock.
// @author Goodgy
// @require https://code.jquery.com/jquery-3.1.0.min.js
// @include http*://*deviantart.com/*
// @include http*://*.deviantart.com/*
// @match https://openuserjs.org/?q=anti-adblock
// @grant none
// ==/UserScript==
(function() {
'use strict';
function remove_banner_deviantart(){
$('div.banner-wrap').hide();
$('div#block-notice').hide();
$('div#elnino-modal').hide();
$('div#modalfade').hide();
}
function start_up(){
var current_link = $(document).attr('URL');
if (current_link.indexOf("deviantart.com") !=-1) {
setInterval(remove_banner_deviantart,1);
}
console.log("Done");
}
// If the window is loaded, start up the bot
$(document).ready(function() {
start_up();
});
})();