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