您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
🏖️ Closes specific websites tabs except Sunday
当前为
// ==UserScript== // @name Only When Sunday // @namespace https://github.com/mefengl // @author mefengl // @version 0.0.8 // @description 🏖️ Closes specific websites tabs except Sunday // @match *://*/* // @grant none // @license MIT // ==/UserScript== (() => { 'use strict'; const websitesToClose = [ 'bilibili.com', 'ddys.art', 'discord.com', 'greasyfork.org', 'outlook.live.com', 'spotify.com', 'twitter.com', 'weibo.com', 'weread.qq.com', 'youtube.com', ]; if (new Date().getDay() !== 0) { if (websitesToClose.some(website => window.location.href.includes(website))) { window.close(); } } })();