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
Створено
23.05.2024
Оновлено
23.05.2024
Ліцензія
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