[JS] adF.ly Skipper for view9



由於 AdF.ly 在這個月做了一連串的更新,不斷地更改密鑰的寫法導致之前寫的跳過廣告的插件都失效了... 今天來更新一下..


下載後直接將檔案拖拉到擴充功能頁面 chrome://extensions/



可能會出現這個.. 按繼續


安裝成功後就不需要等待倒數可以直達目標頁面囉!

安裝成功後可以用此連結測試看看:http://adf.ly/LqDA6
底下是 Source,載點在最下面,或者你手動複製存成 .js 再拉進來也ok

// ==UserScript==
// @name          Adf.ly Skipper
// @namespace     http://knowlet3389.blogspot.tw/
// @description   Adf.ly Skipper for view9
// @author        Org by Team Vipers, Optimization by KNowlet
// @include       *adf.ly/*
// @include       *j.gs/*
// @include       *q.gs/*
// @include       *9.bb/*
// @include       *u.bb/*
// @version 1.1
// ==/UserScript==
function decode_base64(h) {
  var p = {}, f, g = [], l = "", k = String.fromCharCode, m = [[65, 91], [97, 123], [48, 58], [43, 44], [47, 48]];
  for(z in m) {
    for(f = m[z][0];f < m[z][1];f++) {
      g.push(k(f))
    }
  }
  for(f = 0;64 > f;f++) {
    p[g[f]] = f
  }
  for(f = 0;f < h.length;f += 72) {
    var g = 0, q, n = 0, r = h.substring(f, f + 72);
    for(q = 0;q < r.length;q++) {
      for(m = p[r.charAt(q)], g = (g << 6) + m, n += 6;8 <= n;) {
        l += k((g >>> (n -= 8)) % 256)
      }
    }
  }
  return l
}

function killtime() {
  for(var h = document.domain, p = document.domain.replace(/^www\./, ""), f = document.domain.replace(/^(\w+\.)+?(\w+\.\w+)$/, "$2"), g = document.cookie.split(";"), l = g.length - 1;0 <= l;--l) {
    var k = g[l].replace(/\s*(\w+)=.+$/, "$1");
    document.cookie = k + "=;expires=expires=Thu, 01-Jan-1970 00:00:01 GMT;";
    document.cookie = k + "=;path=/;expires=expires=Thu, 01-Jan-1970 00:00:01 GMT;";
    document.cookie = k + "=;path=/;domain=" + h + ";expires=expires=Thu, 01-Jan-1970 00:00:01 GMT;";
    document.cookie = k + "=;path=/;domain=" + p + ";expires=expires=Thu, 01-Jan-1970 00:00:01 GMT;";
    document.cookie = k + "=;path=/;domain=" + f + ";expires=expires=Thu, 01-Jan-1970 00:00:01 GMT;"
  }
}

function removePar(h) {
  return-1 < h.indexOf("&") ? h.split("&")[0] : h
}

var url = window.location.href;

if(-1 < url.indexOf("/int/")) {
    location.replace(url.split("/int/")[1])
  }else {
  if(-1 < url.indexOf("locked?")) {
    killtime(); 
    var a = removePar(url.split("url=")[1]);
    location.replace("http://adf.ly/" + a)
  }else { 
    killtime();
    var security_code = document.documentElement.innerHTML.split("var ysmm = '")[1].split("';")[0],
    security_code = security_code.substr(0, security_code.indexOf("!HiTommy"));
    for(var b = "", c = "", d = 0;d < security_code.length;d++) {
      0 == d % 2 ? b += security_code.charAt(d) : c = security_code.charAt(d) + c
    }
    var e = decode_base64(b + c);
    finalurl = e.substring(e.length - (e.length - 2));
    window.document.body.onbeforeunload = null;
    location.assign(finalurl);
    /*
    xmlhttp=new XMLHttpRequest();
    xmlhttp.open("GET", finalurl, false);
    xmlhttp.send();
    document.documentElement.innerHTML = xmlhttp.responseText;
    */
  }
};



如果之後又更新導致失效敬請通知

留言

本月最夯

偷用電腦,怎知?事件檢視器全記錄!(開機時間、啟動項時間...)

楓之谷洋蔥4.1.2 - 最後更新日期04/03