Only When Sunday

🏖️ Redirects specific websites to WeRead.qq.com/web/shelf except sunday

目前為 2023-06-10 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
mefengl
評價
0 0 0
版本
0.0.2
建立日期
2023-06-10
更新日期
2023-06-10
尺寸
675 位元組
授權條款
MIT
腳本執行於
所有網站

Only When Sunday UserScript

GitHub stars Follow on GitHub Twitter Follow

🏖️ The "Only When Sunday" UserScript is a JavaScript-based browser automation tool that redirects specific websites to a designated URL every day of the week, except Sunday.

Usage

The script currently targets the following websites:

  • twitter.com
  • weibo.com
  • youtube.com
  • outlook.com

If you visit any of these sites, the script will redirect you to https://weread.qq.com/web/shelf unless it's Sunday.

Customization

This script is created for personal use, but you can easily modify it to suit your own needs:

  • Redirected websites: Modify the websitesToRedirect array in the script to include the websites you want to be redirected from. Just replace or add the desired URLs to the array.

  • Destination URL: Change the URL to which the script redirects by modifying the window.location.href value in the script. Replace https://weread.qq.com/web/shelf with the URL of your choice.

License

This project is licensed under the terms of the MIT license. For more details, see the LICENSE file.

Disclaimer

Please note that this script is just a tool to help you avoid distractions on specific websites. It's not guaranteed to be foolproof. Please use responsibly.