[Greasemonkey] Atom Films Ad Skipper

Paul Jobson paul at jobson.us
Wed Jun 8 08:49:12 EDT 2005


Further testing revealed that the previous script, which I posted didn't 
work too well.  Here's an update, this also skips you through the 
"Matrue Content" warnings.

// ==UserScript==
// @name          Atom Films Ad Skipper
// @description   Skips video ads.
// @include       http://atomfilms.com*
// @include       http://www.atomfilms.com*
// @exclude
// ==/UserScript==

(function() {
     try {
         if(errorDuration) {
             clearTimeout(errorTimeout);
             errorTimeout = null;
             showContent();
         }
     } catch(e) {}
     if (document.title == 'AtomFilms - Warning') {
     	var x = window.location.href.split('/');
     	window.location.href = 
'http://www.atomfilms.com/landing/landingIndex.jsp?mature=accept&id='+ 
x[x.length-1];
     }
})();


More information about the Greasemonkey mailing list