// ==UserScript==
// @name Grooveshark "Close Ad" button fix
// @namespace n.ippl.es
// @description GrooveShark has a close ad button at the top right, but it's broken as shit! Let's fix it shall we? (This doesn't cheat the advertisers/Grooveshark quite so much as hiding ads immediately)
// @include http://listen.grooveshark.com/*
// ==/UserScript==
//setTimeout(function() {
(function(d) { try {
var capital = document.querySelector('#capital');
var parent = capital.parentNode;
document.querySelector('#remove_capital_button').addEventListener('click', function(e) { e.preventDefault(); parent.removeChild(capital); return false; }, true);
} catch(e) { if(console) console.log('failed to run close ad fix'); }})(document);
//}, 1000);
Mozilla add on,User script,Grease Monkey Script, greasemonkey userscripts, updater userscripts mafia wars userscripts mafia wars autoplayer userscripts mafia wars wall userscripts scripts userscripts travian greasemonkey greasemonkey download greasemonkey facebook greasemonkey tutorial greasemonkey youtube greasemonkey travian greasemonkey chrome greasemonkey mafia wars greasemonkey mafia wars autoplayer
Sunday, February 6, 2011
Grooveshark "Close Ad" button fix
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment