okaydata / Make Allmusic work with adblock

// ==UserScript==
// @name         Make Allmusic work with adblock
// @namespace    http://allmusic.com/
// @version      0.1
// @description  Hides AllMusic's adblock warning crap.
// @author       okaydata
// @match        *.allmusic.com/*
// @grant        none
// @require      https://code.jquery.com/jquery-latest.js
// ==/UserScript==

(function() {
    'use strict';
    $(document).ready(function() {
        var tmTimer = setInterval(function() {
            var $firstDiv = $('div:first'), divId = $firstDiv.attr('id');
            if (divId && divId.match(/a[0-9]+/)) {
                $($firstDiv).wrap('<div class="bishop" style="display:none"></div>');                
                clearInterval(tmTimer);
            }
        }, 50);
        
        var tmTimer2 = setInterval(function() {
            $('body').css('overflow', 'auto');
            $('.registration-prompt-box').remove();
            $('#ctoolbar').hide();
        }, 500);
    });
})();