Keka Centered Bold Text Display

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

目前为 2024-05-03 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Keka Centered Bold Text Display
  3. // @namespace https://greasyfork.org/en/users/688917
  4. // @version 1.1
  5. // @description Display bold text at the center of the page on keka.com
  6. // @run-at document-end
  7. // @match https://ezeetechnosys.keka.com/
  8. // @grant none
  9. // @license MIT
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. // Create a new div element to hold the text
  16. var newDiv = document.createElement('div');
  17. newDiv.style.position = 'fixed';
  18. newDiv.style.top = '50%';
  19. newDiv.style.left = '50%';
  20. newDiv.style.transform = 'translate(-50%, -50%)';
  21. newDiv.style.fontSize = '24px';
  22. newDiv.style.color = 'black';
  23. newDiv.style.fontWeight = 'bold';
  24. newDiv.style.zIndex = '1000'; // High z-index to ensure visibility
  25.  
  26. // Set the text content
  27. newDiv.textContent = 'jaydeep';
  28.  
  29. // Append the div to the body
  30. document.body.appendChild(newDiv);
  31. })();