淘口令搜索自动解密

浏览器添加搜索引擎:关键字“淘口令”,网址格式“http://www.taofake.com/tools/tkljm/?key=%s”,即可在浏览器地址栏输入“淘口令”+空格+你的淘口令,回车直达解密地址

当前为 2019-09-21 提交的版本,查看 最新版本

// ==UserScript==
// @name         淘口令搜索自动解密
// @namespace    http://tampermonkey.net/
// @version      0.1.1
// @description  浏览器添加搜索引擎:关键字“淘口令”,网址格式“http://www.taofake.com/tools/tkljm/?key=%s”,即可在浏览器地址栏输入“淘口令”+空格+你的淘口令,回车直达解密地址
// @author       百度贴吧-销锋镝铸
// @match        http://www.taofake.com/tools/tkljm/?key=*
// @grant        none
// ==/UserScript==

(function() {
    setTimeout(function(){
        var key = document.location.search.replace(/\?key=.*?%EF%BF%A5(.*?)%EF%BF%A5.*/,"¥$1¥");
        if(key.length>0 && key.indexOf("¥")==0){
            $("#tkl").val(key);
            $("#search").click();
            var interbal = setInterval(function(){
                if($("#result").css("display")=="block"){
                    clearInterval(interbal);
                    document.location = $("input.url").val();
                }
            },500);
        }},1000);
})();