答题活动

答题活动工具

目前为 2019-12-01 提交的版本。查看 最新版本

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

QingJ © 2025

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