Keka Centered Bold Text Display

Display bold text at the center of the page on keka.com

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Keka Centered Bold Text Display
// @namespace    https://greasyfork.org/en/users/688917
// @version      1.5
// @description  Display bold text at the center of the page on keka.com
// @run-at       document-end
// @match        https://ezeetechnosys.keka.com/
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // Create a new div element to hold the text
    var newDiv = document.createElement('div');
    newDiv.style.position = 'fixed';
    newDiv.style.top = '50%';
    newDiv.style.left = '50%';
    newDiv.style.transform = 'translate(-50%, -50%)';
    newDiv.style.fontSize = '24px';
    newDiv.style.color = 'black';
    newDiv.style.fontWeight = 'bold';
    newDiv.style.zIndex = '1000'; // High z-index to ensure visibility

    // Set the text content
    newDiv.textContent = 'Eat/Sleep/Code/Repeat';

    // Append the div to the body
    document.body.appendChild(newDiv);
})();