adf.ly skipper


SUBMITTED BY: Guest

DATE: Feb. 17, 2013, 7:11 a.m.

FORMAT: Text only

SIZE: 843 Bytes

HITS: 1414

  1. // ==UserScript==
  2. // @name adf.ly skipper
  3. // @description Based on (SR)SkippRedirect customize @coffee0101
  4. // @include http://adf.ly/*
  5. // @include http://9.bb/*
  6. // @include http://u.bb/*
  7. // @date 03/17/2013
  8. // ==/UserScript==
  9. function tag(n){
  10. return document.getElementsByTagName(n);
  11. }
  12. (function(){
  13. if(document.getElementById("rf") && tag("iframe")[1]){
  14. url=tag("iframe")[1].src;
  15. }
  16. /* if(tag("script")[5]){
  17. url=tag('script')[5].innerHTML.split("$(\"#skip_button\").attr(\"href\", '");
  18. if(url){url=url[1].split("');")[0];}
  19. } */
  20. if(tag("script")[0]){
  21. url=tag("script")[0].innerHTML.split("var url = '")[1].split("';")[0];
  22. }
  23. if(url){
  24. location.href = url;
  25. }
  26. })();

comments powered by Disqus