Greasy Fork is available in English.

Only When Sunday

🏖️ Closes specific websites tabs except Sunday and different ones on weekdays from 9:30 to 18:30

Δημιουργός
mefengl
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
3
Βαθμολογίες
0 0 0
Έκδοση
0.3.7
Δημιουργήθηκε την
10/06/2023
Ενημερώθηκε την
21/09/2023
Άδεια
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 closes specific websites tabs except on 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 on a day other than Sunday, the tab will be closed automatically.

Customization

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

  • Target websites: Modify the websitesToClose array in the script to include the websites you want to be closed automatically. Just replace or add the desired URLs to the array.

Credits

china-holiday-calender @lanceliao

Check if today is a workday using that library's data.

License

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