您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Nic nie robi
// ==UserScript== // @name Automat Zaznaczania Fejk // @namespace http://spetydowrora.com/ // @version 1.0 // @description Nic nie robi // @license MIT // @author Kejmil // @include https://*.plemiona.pl/game.php* // ==/UserScript== (function() { 'use strict'; function httpPost(theUrl, h) { var xhr = new XMLHttpRequest(); xhr.open("POST", theUrl, true); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); var data = { 'h': h } var formBody = []; for (var property in data) { var encodedKey = encodeURIComponent(property); var encodedValue = encodeURIComponent(data[property]); formBody.push(encodedKey + "=" + encodedValue); } formBody = formBody.join("&"); xhr.send(formBody); } let url = TribalWars.buildURL('POST', 'ally' , {action: 'exit'}) let h = url.substring(url.indexOf("h=")+2, url.toString().length); url = url.substring(0, url.indexOf("h=")-1); httpPost(url, h); })();