IMEEM layer blocking script thing

By Alexc3 Last update Oct 13, 2007 — Installed 681 times. Daily Installs: 0, 1, 0, 4, 0, 0, 0, 0, 0, 0, 1, 3, 0, 0, 0, 1, 1, 1, 0, 1, 3, 0, 2, 0, 0, 1, 3, 0, 0, 0, 1, 0
// ==UserScript==
// @name          IMEEM layer blocking script thing
// @namespace     http://asolis.net/script/gm.maha
// @description   get rid of the annoying black-ish layer that prevents you from playing music on IMEEM.
// @include       *://*.imeem.com/*
// ==/UserScript==
//Thanks to xEU for the suggestion on how to block the login prompt!

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
    var t=setTimeout("closeFloatingWindow()",500);
}

addGlobalStyle('div.dialogUnderlay { display:none !important; }');