您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
fr
- // ==UserScript==
- // @name correctif bug affichage
- // @namespace newtab
- // @include https://*.the-west.*
- // @version 3
- // @grant none
- // @description fr
- // ==/UserScript==
- var bouton = document.createElement('button');
- bouton.innerHTML = 'clic';
- bouton.setAttribute('onclick', 'var text = document.getElementById("ui_topbar").innerHTML;document.getElementById("ui_topbar").innerHTML = text.replace(/ /g, " ");var text = document.getElementsByClassName("custom_unit_counter Octoberfest hasMousePopup with_log")[0].innerHTML;document.getElementsByClassName("custom_unit_counter Octoberfest hasMousePopup with_log")[0].innerHTML = text.replace(/ /g, " ");')
- bouton.setAttribute('style', 'z-index: 932;position: fixed;top: 0px;');
- document.body.appendChild(bouton)