您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Tired of getting blacklisted on SteamGifts? Want to counter those blacklisters? Run this script and find dem blacklisters! Note: script is very slow and uses lots of memory and may crash from time to time, and you will not be able to do anything on that tab
当前为
// ==UserScript== // @name SteamGifts Blacklist Searcher // @version 1.0 // @description Tired of getting blacklisted on SteamGifts? Want to counter those blacklisters? Run this script and find dem blacklisters! Note: script is very slow and uses lots of memory and may crash from time to time, and you will not be able to do anything on that tab // @match https://www.steamgifts.com/users // @grant GM_getValue // @grant GM_setValue // @copyright MIT License // @namespace https://gf.qytechs.cn/users/73819 // ==/UserScript== var url = "https://www.steamgifts.com/users/search?page="; var page = prompt("Which page from https://www.steamgifts.com/users do you want to start searching from?", GM_getValue ("SGUserPage", 1)); GM_setValue ("SGUserPage", page === null? GM_getValue ("SGUserPage", 1) : page); var numBlackLists = prompt("How many blacklists do you have left from that page?", GM_getValue ("numBlackLists", 0)); GM_setValue ("numBlackLists", numBlackLists === null? GM_getValue ("numBlackLists", 0) : numBlackLists); // loop forever until we found all blacklists while (numBlackLists > 0) { $.ajax({ url: url + page, type: "GET", async: false, // check one at a time success: function(result){ $(result).find("div[class='table__row-inner-wrap']").each( function(){ // skip level 0, most have 0 giveaways, very low probability of them being the one to blacklist you if ($(this).find("span").first().text() !== "0") { var user = $(this).find("a").eq(1)[0].text; $.ajax({ url: $(this).find("a").first()[0].href, type: "GET", async: false, // check one at a time success: function(result){ var links = $(result).find("a[href*='/giveaway/']:eq(1)"); // rare case that all giveaways are private, could fail if the first page just happens to have all private giveaways and no group or public giveaways, but very low probability, willing to let this go if(links.length === 0) { return false; } $.ajax({ url: links[0].href, type: "GET", async: false, // check one at a time success: function(result){ // check if they blacklisted us :( if ($(result).find("div[class='table__column--width-fill']:contains('been blacklisted by the giveaway creator')").length) { alert("You have been blacklist by: " + user); // ( Mew2 ) numBlackLists--; GM_setValue ("numBlackLists", numBlackLists); } } }); } }); } } ); } }); console.log("Completed Page " + page +", Number of Blacklist(s) left: "+ numBlackLists); page++; GM_setValue ("SGUserPage", page); } alert("All Blacklists have been found!");
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址