您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically reloads the watchlist/unread posts
当前为
// ==UserScript== // @name Bitcointalk.org Autoreload // @name:de Bitcointalk.org Autoreload // @homepage http://gf.qytechs.cn/scripts/19125-bitcointalk-org-autoreload/ // @homepage http://openuserjs.org/scripts/LsHallo/Bitcointalk.org_Autoreload // @version 0.64 // @iconURL https://gf.qytechs.cn/system/screenshots/screenshots/000/003/979/thumb/logo.png?1461614733 // @description Automatically reloads the watchlist/unread posts // @description:de Automatischer reload der post seiten bei bitcointalk // @author LsHallo // @match https://bitcointalk.org/index.php?action=watchlist // @match https://bitcointalk.org/index.php?action=unreadreplies // @namespace https://gf.qytechs.cn/en/scripts/19125-bitcointalk-org-autoreload/ // ==/UserScript== load(); var y, x, link; function changeTitle(state) { if(state === 0) { document.title = x + " Unread Posts"; document.getElementById('faviconprovider').href = 'https://gf.qytechs.cn/system/screenshots/screenshots/000/003/979/thumb/logo.png?1461614733'; setTimeout(function(){changeTitle(1);},2000); } else { document.title = y; document.getElementById('faviconprovider').href = 'https://bitcointalk.org/favicon.ico'; setTimeout(function(){changeTitle(0);},2000); } } function load() { y = document.title; time = ~~(Math.random()*75953+105896); console.log("Idle time: " + ~~(time/1000) + " seconds (" + ((time/1000).toFixed(0)/60).toFixed(2)+" minutes)"); setTimeout(function(){location.reload();},time); d = new Date(); if(d.getHours() < 10) Hours = "0"+d.getHours(); else Hours = d.getHours(); if(d.getMinutes() < 10) Minutes = "0"+d.getMinutes(); else Minutes = d.getMinutes(); if(d.getSeconds() < 10) Seconds = "0"+d.getSeconds(); else Seconds = d.getSeconds(); console.log("Last reload: " + Hours + ":" + Minutes + ":" + Seconds); x = document.getElementsByClassName("windowbg").length/3; if(x > 0) { link = document.createElement('link'); link.type = 'image/x-icon'; link.rel = 'shortcut icon'; link.id = 'faviconprovider'; link.href = 'https://gf.qytechs.cn/system/screenshots/screenshots/000/003/979/thumb/logo.png?1461614733'; document.getElementsByTagName('head')[0].appendChild(link); changeTitle(0); } }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址