您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Notifies you when you need to set filler themes for Hidden Hoclaus and Candyween
当前为
// ==UserScript== // @name BvS Filler Themes Notifier // @namespace Thewho // @description Notifies you when you need to set filler themes for Hidden Hoclaus and Candyween // @include http://*animecubed.com/billy/bvs/pages/main.html // @version 1.1 // @history 1.1 Added grant permissions (Updated by Channel28) // @history 1.0 Initial Release // @grant GM_getValue // @grant GM_setValue // ==/UserScript== var currentDate = new Date().getTime().toString(); if (currentDate - GM_getValue("lastDate", "") > 86400000) { var d = new Date(); if (d.getDate() == 23) { alert("You need to activate your filler themes today \n for access to Hidden Hoclaus Tomorrow!"); var dt = new Date().getTime(); GM_setValue("lastDate", dt.toString()); } //Notification for Candyween //This bellow calculates how many days the current month has function getLastDayOfMonth() { var day; var month; var year; var tmpdate = new Date(); month = tmpdate.getMonth() +1; year = tmpdate.getFullYear(); switch(month) { case 1 : case 3 : case 5 : case 7 : case 8 : case 10: case 12: day = 31; break; case 4 : case 6 : case 9 : case 11: day = 30; break; case 2 : if( ( (year % 4 == 0) && ( year % 100 != 0) ) || (year % 400 == 0) ) day = 29; else day = 28; break; } return day; } if (d.getDate() == getLastDayOfMonth() -1) { alert("You need to activate your filler themes today \n for access to Candyween Tomorrow!"); var dt = new Date().getTime(); GM_setValue("lastDate", dt.toString()); } }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址