Greasy Fork 支持简体中文。

Dynamic Personal Greeting Message (DPGM) (CEST)

Show a greeting message based on the time of day in CEST, also it's in a modern style too! :D

作者
Emree.el
今日安裝
0
安裝總數
0
評價
0 0 0
版本
1.0
建立日期
2024-05-23
更新日期
2024-05-23
尺寸
3.2 KB
授權條款
MIT
腳本執行於
所有網站

Shows a modern grey box in the middle of the screen when you enter any site, with a personal greeting.
Based on any time of the day.

Script only happens once per domain (would still work on same domain if new tab is opened.)

THIS IS IN CENTRAL EUROPEAN SUMMER TIME (CEST) !!!!

SO IF YOU LIVE OUTSIDE OF EUROPE, THIS SCRIPT's DYNAMIC CHANGER WOULD BE WRONG IN YOUR TIMEZONE.
You can try tweaking the script to ensure it will work in your timezone.


ALSO, change my name to your name in the script or else it'll greet you with my name lmao.

(To do this you look for the lines: ) !!!!
( return "Good morning, Emree"; )
( } else if (hours < 18) { )
( return "Good afternoon, Emree"; )
( } else { )
( return "Good evening, Emree"; )

(And you change "Emree" to "Your name")


This script works on every single site. If you wanna change it:

// @match *://*/*

to

// @match your link