xenofungi / Facebook nag screen remover

// ==UserScript==
// @name        Facebook nag screen remover
// @namespace   xenofungi.facebook.nonag
// @include     http://*.facebook.com/*
// @include     https://*.facebook.com/*
// @include     http://facebook.com/*
// @include     https://facebook.com/*
// @updateURL https://openuserjs.org/meta/xenofungi/Facebook_nag_screen_remover.meta.js
// @version     1.4
// @grant       none
// @icon        data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAABHNCSVQICAgIfAhkiAAAC+5JREFUeNrtnXtwVNUdx7/7yj6SbLJ5bEISSTZCHhgSgmgUCAgUsUJ9FGdabTstOoModKqiDFItWltrYQZf09Yyio9OrYNQiFLBICIPUWlMSEIIzwTi5rnZzWvfr9s/LLu52d3sTfbuZrP8vpmdyX2dc+/53N/5/c45994j0Ov1DEgxKyEVAQEmEWASASZNiMRj2dlqdaCpoRP1dVrU12nR1NAJs9lOpRhGScQiFM7IQGl5NsrKc1A6KxtJyXLOxwu4RtHV+5ux6Ykq6HqGqNQnUHK5BBuevR2rVt8KgUAQOuCBfgs2P70Pe3aeotKNIlXMzcPW11YiV5MyfsBDg1YsW/A62r/r9z1QKIAsWY44hYRKO4xy2l2wGMxwO90+2xSKOFQdfAQFRerxAV6/djd2fVDLWpd0XTLUxWrIVXIIhAIiEAkxgHXQir7LBuiadWAYL7KS0ixUVa+BWCIaWxT92YGzLLgiiQi58/KQNz8PilQFwY2kBIAsSYYpZVmYtnQ6pIlSz6bTDR14ZevhsTWTTCY7Nj6+l7Uu56YcJE9NpsKeYClSFchboIFA5EX311eO4FxzN3fADXVaVrScnKtCcq6KSjdKJFPKMKU007Pscrlx9PBF7oAbT7WzltXFairVKFNaQTrLTTbUabkDPt3QwY6Wk2RUotHmloUCyFXeDo/6sQA+c7rL27BOpmg5av1xisLz/5VWA4xDNm6Ah3c/SqidG7UaycZisXNvJpFiQ2IqgnH4PwGgkMUhMV4KZYIUifHf/8SisdnL519fgpthCPCEN0ukYsy4Xo2yoikoLcx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MIkAkyZG/wMeCI07k6TzIAAAAABJRU5ErkJggg==
// ==/UserScript==
(function main() {

    function removeNag() {
        var notice = Array.prototype.slice.call(document.getElementsByTagName('div')).filter(d => d.style.height == '215px')[0];
        if (notice === null || notice === undefined) {
            window.setTimeout(removeNag, 1000);
        } else {
            var p = notice.parentElement;
            p.removeChild(notice);
        }
    }
    window.setTimeout(removeNag, 1000);
})();