您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
check notifications quickly
// ==UserScript== // @name Login Notificaitons // @description check notifications quickly // @namespace http://poems-and-quotes.com // @include http://www.poems-and-quotes.com/login.php // @version 1 // ==/UserScript== var currentLocation = window.location.href; var newLocation = "http://www.poems-and-quotes.com/login.php"; var source = document.documentElement.innerHTML; var position = document.documentElement.innerHTML.indexOf("You don't have any new private messages."); var position2 = document.documentElement.innerHTML.indexOf("You don't have any un-reviewed comments."); if (position == -1) { document.title = "(1) Login Result"; } if (position2 == -1) { document.title = "(1) Login Result"; } unsafeWindow.setInterval(function(){ { window.location = newLocation; }}, 15000);