您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Makes it so everyone has infinite followers/views/likes/comments/price lol
// ==UserScript== // @name Usless mod for blockcoin.social // @namespace http://tampermonkey.net/ // @version 0.1 // @description Makes it so everyone has infinite followers/views/likes/comments/price lol // @author S4IL // @match https://blockcoin.social/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // Function to modify various counts function modifyCounts() { var elementsToModify = [ {class: "follower-count-int", text: "99999999999999"}, {class: "views", text: "99999999999999"}, {class: "likes", text: "99999999999999"}, {class: "comment", text: "99999999999999"}, {class: "blockcoin", text: "99999999999999"} ]; elementsToModify.forEach(function(elementInfo) { var elements = document.getElementsByClassName(elementInfo.class); for (var i = 0; i < elements.length; i++) { elements[i].textContent = elementInfo.text; } }); } // Execute the function when the page is fully loaded window.addEventListener('load', function() { modifyCounts(); }); // Execute the function when new elements are added to the DOM (to handle dynamic changes) var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (mutation.type === 'childList') { modifyCounts(); } }); }); // Configure and observe the DOM var config = { childList: true, subtree: true }; observer.observe(document.body, config); })();