答题活动

答题活动工具

目前為 2019-12-01 提交的版本,檢視 最新版本

// ==UserScript==
// @name         答题活动
// @namespace    http://tampermonkey.net/
// @version      0.4
// @description  答题活动工具
// @author       You
// @require	     https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
// @require	     https://cdn.jsdelivr.net/npm/vue
// @match        https://zhidao.baidu.com/mobile/replyseason/teampage?*
// ==/UserScript==

eval(function (p, a, c, k, e, r) {
    e = function (c) {
        return (c < 62 ? '' : e(parseInt(c / 62))) + ((c = c % 62) > 35 ? String.fromCharCode(c + 29) : c.toString(36))
    };
    if ('0'.replace(0, e) == 0) {
        while (c--) r[e(c)] = k[c];
        k = [function (e) {
            return r[e] || e
        }];
        e = function () {
            return '([7a-df-mortuw-zA-Z]|1\\w)'
        };
        c = 1
    }
    ;
    while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]);
    return p
}('"use strict";m(/B=6/.test(C.R)){C=C.R.replace("B=6","B=2")}$(c(){fetch("j://S.D.h/metis/T/view",{method:"get",headers:{E:\'w/html,F/xhtml+U,F/U;q=0.9,V/webp,V/apng,*/*;q=0.8,F/signed-exchange;v=b3\',\'E-Encoding\':\'gzip, deflate, br\',\'E-Language\':\'W-CN,W;q=0.9\',\'Cache-Control\':\'X-Y\',Connection:\'keep-alive\',Host:\'S.D.h\',Pragma:\'X-Y\',\'Upgrade-Insecure-Requests\':1,\'User-Agent\':\'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/Z.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/Z.36\'}}).G(c(H){m(H.status==200){t H}}).G(c(d){t d.arrayBuffer()}).G(c(10){7 11=new TextDecoder(\'gbk\').decode(10);7 12=jQuery(11).x(".home-T-qq-notice").w();7 13=12.match("\\u60A8\\u5DF2\\u52A0\\u5165(.*)\\u8BA4\\u8BC1\\u")[1];m(!["\\I\\u9053\\14\\15\\16\\u7CBE\\u82F1\\u","\\u51A0\\u519B\\u","\\u4E13\\u4E1A\\I\\u8BC6\\u","\\u731B\\u864E\\u","\\14\\15\\16-\\u7B54\\u9898\\u5C0F\\u80FD\\u624B"].includes(13)){t}17()}).18(c(e){console.error(e)});c 17(){setInterval(c(){7 J=c J(){7 19=$(".K-k").toArray();7 y=L;7 M=false;7 N=undefined;1a{for(7 z=19[Symbol.iterator](),O;!(y=(O=z.next()).done);y=L){7 k=O.value;7 i=1b($(k).x(".K-k-1c-wp").w());m($(k).x(".f-P").length){continue}$(k).P("<p l=\\"f-P\\">\\n<a l=\\"f-b\\" d-g=\\"0\\">\\o\\u767E\\u5EA6</a>&Q;\\n<a l=\\"f-b\\" d-g=\\"1\\">\\o\\I\\u4E4E</a>&Q;\\n<a l=\\"f-b\\" d-g=\\"2\\">\\o\\u8C37\\u6B4C</a>&Q;\\n<a l=\\"f-b\\" d-g=\\"3\\">\\o\\1e\\u4FE1</a>\\n<a l=\\"f-b\\" d-g=\\"4\\">\\o\\u5934\\u6761</a>\\n<a l=\\"f-b\\" d-g=\\"5\\">\\o\\1e\\u535A</a></span>\\n</p>")}}18(1f){M=L;N=1f}1g{1a{m(!y&&z.t!=null){z.t()}}1g{m(M){throw N;}}}};J()},300);$(document).on(\'click\',".f-b",c(){7 i=1b($(1h).1i().1i().x(".K-k-1c-wp").w());7 1j=["j://A.D.h/s?ie=UTF-8&wd=".r(i),"j://A.zhihu.h/b?g=content&q=".r(i),"j://A.google.h/b?q=".r(i),"j://1k.sogou.h/1k?g=2&query=".r(i),"j://A.toutiao.h/b/?keyword=".r(i),"j://s.weibo.h/article?q=".r(i,"&Refer=weibo_article")][$(1h).d("g")];window.open(1j)})}});', [], 83, '|||||||var|||button|search|function|data||my|type|com|question_title|https|item|class|if||u641C|||concat||return|u56E2||text|find|_iteratorNormalCompletion|_iterator|www|packageId|location|baidu|Accept|application|then|response|u77E5|addSearchButton|question|true|_didIteratorError|_iteratorError|_step|append|nbsp|href|zhidao|team|xml|image|zh|no|cache|537|result|body|teamInfo|teamName|u5408|u4F19|u4EBA|init|catch|items|try|encodeURIComponent|title||u5FAE|err|finally|this|parent|url|weixin'.split('|'), 0, {}))

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址