Only When Sunday

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

2023/06/10のページです。最新版はこちら

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
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.