您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Reminder for voting on Mintpal
当前为
// ==UserScript== // @name Reddcoin Mintpal Vote // @description Reminder for voting on Mintpal // @namespace http://www.reddcoin.gift // @include https://www.mintpal.com/voting // @version 1 // @grant none // ==/UserScript== // Scroll $('html, body').animate({ scrollTop: $("#vote-80").offset().top - (window.innerHeight / 2) }, 1000); // Highlight $('#vote-80 td').css('background', '#67eabc'); // Bind $('#vote-80 td:eq(6) a').click(function(){ countdown = function (minutes, seconds){ if (minutes > 0 || seconds > 0){ minutesString = (minutes / 10 >= 1) ? minutes + '' : '0' + minutes; secondsString = (seconds / 10 >= 1) ? seconds + '' : '0' + seconds; window.document.title = minutesString + ':' + secondsString; if (seconds > 0){ seconds--; } else { minutes--; seconds = 59; } setTimeout(function(){ countdown (minutes, seconds); }, 1000); } else { window.document.title = '~~VOTE AGAIN~~'; alert ('It\'s time to vote again'); } } countdown (59, 59); });