Only When Sunday

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

目前为 2023-06-12 提交的版本。查看 最新版本

作者
mefengl
评分
0 0 0
版本
0.0.5
创建于
2023-06-10
更新于
2023-06-12
大小
789 字节
许可证
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.live.com
  • spotify.com
  • bilibili.com
  • discord.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.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址