您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to open tab
// ==UserScript== // @name jd_force_submit // @description try to open tab // @include http://trade.jd.com/shopping/order/getOrderInfo.action?rid=* // @author nemoDebug // @grant GM_getValue // @grant GM_setValue // @grant GM_deleteValue // @grant GM_xmlhttpRequest // @version 2015.7.21.23 // @namespace https://greasyfork.org/scripts/153 // ==/UserScript== if(document.getElementById("order-submit")==null) { console.log("-----------no submit-----------"); setTimeout('location.href="http://"+location.hostname+location.pathname+location.search',100) } else { setTimeout('var result=document.getElementById("shopping-lists").innerText.indexOf("有货");if(result>0){console.log("----goods--have-submit--");javascript:submit_Order();}else{ console.log("--reloading--");location.href="http://"+location.hostname+location.pathname+location.search;}',3000); setTimeout('location.href="http://"+location.hostname+location.pathname+location.search',7000); }