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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
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