Greasemonkey script to auto-close clixsense ads


SUBMITTED BY: KapguHaJI

DATE: May 29, 2017, 5:35 a.m.

FORMAT: JavaScript

SIZE: 1.5 kB

HITS: 78798

  1. // ==UserScript==
  2. // @name ClixSense Ad Closer (29 July 2013) by Dolce Panna
  3. // @namespace ClixSense Ad Closer (29 July 2013) by Dolce Panna
  4. // @description Closes Clixsense ads when they're validated
  5. // @grant none
  6. // @include http://www.clixsense.com/*/View_Ads/*
  7. // @include http://www.clixsense.com/*/ClixGrid/*
  8. // @version 1.0 Alfa
  9. // ==/UserScript==
  10. //eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('o(f(p,a,c,k,e,r){e=f(c){h c.v(a)};i(!\'\'.m(/^/,q)){j(c--)r[e(c)]=k[c]||e(c);k=[f(e){h r[e]}];e=f(){h\'\\\\w+\'};c=1};j(c--)i(k[c])p=p.m(t s(\'\\\\b\'+e(c)+\'\\\\b\',\'g\'),k[c]);h p}(\'6(7(){8(0.1("2").3.4(/9/5)||0.1("2").3.4(/a b/5)){c.d()}},e);\',l,l,\'n|x|u|z|F|G|H|f|i|I|E|y|A|B|C\'.D(\'|\'),0,{}))',45,45,'|||||||||||||||function||return|if|while||15|replace|document|eval||String||RegExp|new|msg|toString||getElementById|viewed|innerHTML|window|close|500|split|already|match|gi|setInterval|validated'.split('|'),0,{}))
  11. var t = setTimeout(" function Hello() { if ($(\"a[title='Close window']\").length && $(\"a[title='Close window']\").css('display') == 'inline') { window.close(); } setTimeout('Hello()', 1000) } Hello(); ", 1000);

comments powered by Disqus