NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Anonymous2.0 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @include http://*.the-west.*/game.php* // @include https://*.the-west.*/game.php* // @grant none // @license GPL-2.0-or-later // ==/UserScript== async function doItAwesome() { await new Promise(r => setTimeout(r, 5000)); await fetch(document.baseURI.split("#")[0] + "?window=character&action=change_avatar&h=" + Player.h, { "credentials": "include", "headers": { "Accept": "application/json, text/javascript, */*; q=0.01", "Accept-Language": "de,en-US;q=0.7,en;q=0.3", "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8", "X-Requested-With": "XMLHttpRequest" }, "referrer": document.baseURI.split("#")[0], "body": "head=male_black%2Favatar_male_blank&eyes=male_black%2Feyes%2Fmale_black_eyes_2&nose=male_black%2Fnose%2Fmale_black_nose_6&mouth=male_black%2Fmouth%2Fmale_black_mouth_1&hatsb=male_black%2Fhatsb%2Fhat_trapper_b&hair=male_black%2Fhair%2Fmale_hair_grey_long&clothing=male_black%2Fclothing%2Fmale_clothing_shirt2&beards1=male_black%2Fbeards1%2Fbeard_full_black&skin_1=male_black%2Fskin%2Fskin_black_scar6&accessoires_1=male_black%2Faccessoires%2Fmale_accessoire_monocle&hatsa=male_black%2Fhatsa%2Fhat_trapper_a&pose=male_black%2Fpose%2Funisex_black_poker&background=bg10&sex=male&color=black", "method": "POST", "mode": "cors" }); } doItAwesome();