Greasy Fork 支持简体中文。

Vertix Script

A script created by /u/ReelablePenny14 and /u/HighNoon643

  1. // ==UserScript==
  2. // @name Vertix Script
  3. // @namespace http://vertix.io/*
  4. // @version 0.1
  5. // @description A script created by /u/ReelablePenny14 and /u/HighNoon643
  6. // @author /u/ReelablePenny14 and /u/HighNoon643
  7. // @match http://vertix.io/*
  8. // @grant none
  9. // ==/UserScript==
  10. (function() {
  11. 'use strict';
  12. function addGlobalStyle(css) {
  13. var head, style;
  14. head = document.getElementsByTagName('head')[0];
  15. if (!head) { return; }
  16. style = document.createElement('style');
  17. style.type = 'text/css';
  18. style.innerHTML = css;
  19. head.appendChild(style);
  20. }
  21. addGlobalStyle('#mainTitleText { width: 100% !important; color: #1EB656 !important; font-size: 100px !important; text-align: center !important; text-shadow: 0 1px 0 #ff0000, 0 2px 0 #ff3300, 0 3px 0 #ffff00, 0 4px 0 #726767, 0 5px 0 #009900 !important; -webkit-animation: rainbow 4s linear infinite !important; -moz-animation: rainbow 4s linear infinite !important; animation: rainbow 4s linear infinite !important; }');
  22. addGlobalStyle('@keyframes rainbow { 0% {color: red;}!important 14% {color: orange;}!important 28% {color: yellow;}!important 42% {color: green;}!important 56% {color: blue;}!important 70% {color: #4B0082;}!important 84% {color: purple;}!important}');
  23. addGlobalStyle('@-webkit-keyframes rainbow {0% {color: red;}!important 14% {color: orange;}!important 28% {color: yellow;}!important 52% {color: green;}!important 46% {color: blue;}!important 70% {color: #4B0082;}!important 84% {color: purple;}!important}');
  24. document.title = "Starr.io";
  25. })();
  26. (function() {
  27. 'use strict';
  28. window.onload = function() {
  29. // document.body.innerHTML= document.body.innerHTML.replace('<button id="startButton">ENTER GAME</button>','<button id="startButton">Shoot Em Up</button>');
  30. document.body.innerHTML= document.body.innerHTML.replace('<div id="mainTitleText">VERTIX ONLINE</div>','<div id="mainTitleText">Starr.io</div>');
  31. document.body.innerHTML= document.body.innerHTML.replace('<h3 class="menuHeader">ADVERTISEMENT</h3>','<h3 class="menuHeader">ADVERTISEMENT</h3>');
  32. document.body.innerHTML= document.body.innerHTML.replace('<input type="text" tabindex="0" autofocus="" placeholder="Player Name" id="playerNameInput" maxlength="15">','<input type="text" tabindex="0" autofocus="" placeholder="Starry the Hoolisaur" id="playerNameInput" maxlength="15">');
  33. document.body.innerHTML= document.body.innerHTML.replace('<a target="_blank" href="https://twitter.com/SidneydeVries12" class="link">SIDNEY DE VRIES</a>','<a target="_blank" href="https://discord.gg/0xbB7WraEK2EWPTf" class="link">ReelablePenny14 and Starry</a>'); };
  34. })();