您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Refresh/Filter
当前为
// ==UserScript== // @name Panther Refresh // @namespace http://your.homepage/ // @version 0.4 // @description Refresh/Filter // @author Daniel Nichols // @match http://brokerweb.pantherpremium.com/open.asp?tab=open // @grant none // ==/UserScript== var ids = []; var player = document.createElement('audio'); player.src = 'https://dl.dropbox.com/u/7079101/coin.mp3'; player.preload = 'auto'; function refreshIframe() { document.getElementById('ifrmTabData').contentWindow.location.reload(); window.setTimeout(loaded, 5000); } function loaded() { var iframe = document.getElementById('ifrmTabData'); var innerDoc = iframe.contentDocument || iframe.contentWindow.document; var table = innerDoc.getElementById("TabDataGrid_ctl00"); if(!table){ window.setTimeout(loaded, 1000); return; } for (var i = 0, row; row = table.rows[i]; i++) { var tmp = row.cells[2].innerText; alert(tmp); if(ids.indexOf(tmp) == -1){ ids.push(tmp); console.log(tmp); player.play() } } } function load() { var x = setTimeout('alert("x");',100000);//destroy all other timers for (var i = 0; i <= x; i++) clearTimeout(x); window.setInterval(refreshIframe, 20000); window.setTimeout(loaded, 2000); } window.setTimeout(load, 1000);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址