javascript:(()=>{try{const t=localStorage.getItem("pToken");if(!t){alert("אין pToken");return;}const id=prompt("הכנס ID של הדמות:");if(!id)return;fetch("https://www.pokeisrael.net:8443/user/update-character",{method:"POST",headers:{"Content-Type":"application/json","Authorization":"Bearer "+t,"P-Authorization":t,"Accept":"application/json, text/plain, */*"},body:JSON.stringify({character:Number(id)})}).then(r=>r.json()).then(d=>alert("תשובת שרת: "+JSON.stringify(d))).catch(e=>alert("שגיאה: "+e));}catch(e){alert("שגיאה כללית: "+e);}})();