GT - Community Boosts Notifier

If you got boosts to do, this makes it more obvious

目前為 2016-04-29 提交的版本,檢視 最新版本

// ==UserScript==
// @name         GT - Community Boosts Notifier
// @version      1.3
// @description  If you got boosts to do, this makes it more obvious
// @author       Rani Kheir
// @match        *www.ghost-trappers.com/fb/hunt.php*
// @match        *www.ghost-trappers.com/fb/camp.php*
// @namespace https://gf.qytechs.cn/users/4271
// ==/UserScript==

(function() {
    'use strict';
    
    /*
    if (document.getElementsByClassName("boostLink hidden").length < 2) {
	var paragraphElement = document.createElement("p");
	paragraphElement.appendChild(document.createTextNode("You've got Boosts!"));
	paragraphElement.style.color = "white";
	paragraphElement.style.fontWeight = "bold";
    paragraphElement.style.textShadow = "3px 2px 1px #000000";
	paragraphElement.style.fontSize = "medium";
	paragraphElement.style.padding = "20px 0 0 0";
	document.getElementsByClassName("slotMore")[0].parentElement.parentElement.parentElement.appendChild(paragraphElement);
    }
    */
    
    var x_x = $.get("/fb/live_feed_boost.php", function( response ) {
        var y_y = x_x.responseText;
        if (y_y.search("No team member needs help at the moment.") < 0) {
            var paragraphElement = document.createElement("p");
            paragraphElement.appendChild(document.createTextNode("You've got Boosts!"));
            paragraphElement.style.color = "white";
            paragraphElement.style.fontWeight = "bold";
            paragraphElement.style.textShadow = "3px 2px 1px #000000";
            paragraphElement.style.fontSize = "medium";
            paragraphElement.style.padding = "20px 0 0 0";
            document.getElementsByClassName("slotMore")[0].parentElement.parentElement.parentElement.appendChild(paragraphElement);
        }
    });
    
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址