腾讯动漫-破解

腾讯动漫免费看,破解收费动漫。

As of 2016-08-24. See the latest version.

// ==UserScript==
// @name         腾讯动漫-破解
// @version      3.2
// @description  腾讯动漫免费看,破解收费动漫。
// @author      feilong
// @match        http://ac.qq.com/ComicView/index/id/*
// @match        http://m.ac.qq.com/chapter/index/id/*
// @grant        none
// @namespace https://greasyfork.org/users/28687
// ==/UserScript==
/* jshint -W097 */
'use strict';

// Your code here...
// 下脚本来自http://www.xker.com/page/e2015/07/212347.html
//
//document.write("<script src=\"https://code.csdn.net/snippets/1576913/master/PC_tencent_image_look.js/raw\"></script>");

//以上脚本失效
//以下脚本自己写的。。。
//服务器是daocloud免费货,凑活用吧。。
//虽然只用js也可以弄,但是数据是别人的,为了保护一下,弄了个php
var mid = location.pathname.match(/\d+/)[0];
var cid = location.pathname.match(/\d+$/)[0];

console.log("mid="+mid+",cid="+cid);
//alert(DATA.picture.length);
if (DATA.picture.length <= 1)
{
    console.log('need crack!');
    //top.location.href = "http://feilongf-tx.daoapp.io/?mid="+mid+"&cid="+cid;
    top.location.href = "http://172.99.77.88:32832/?mid="+mid+"&cid="+cid;
}
else
{
    console.log('comic load success!');
}