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.