您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Enjoy!
- // ==UserScript==
- // @name SSH Badge
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description Enjoy!
- // @author G1_1777gold
- // @match https://www.nitrotype.com/garage
- // @grant none
- // ==/UserScript==
- var _bucket_checker_ = null;
- function look_for_bucket(){
- var a = document.getElementsByClassName('bucket bucket--f');
- if(a.length != 0 && a.length != undefined){
- add_the_badge(a);
- clearInterval(_bucket_checker_);
- }
- }
- function add_the_badge(a){
- var node = document.createElement("div");
- node.className = "bucket-media";
- node.innerHTML = '<img alt="Scoreboard Top 3" class="profile-badge" src="https://media.discordapp.net/attachments/890657434253791335/891850921657651240/Screen_Shot_2021-09-26_at_8.56.47_PM.png">';
- a[0].insertBefore(node, a[0].childNodes[0]);
- }
- _bucket_checker_ = setInterval(look_for_bucket, 200);