Greasy Fork is available in English.

ppmFunctions

This is a code library for use with the online game PopMundo.

Ce script ne devrait pas être installé directement. C'est une librairie créée pour d'autres scripts. Elle doit être inclus avec la commande // @require https://update.greasyfork.org/scripts/386028/708620/ppmFunctions.js

  1. var _gwCalling=null,_gwAuthor=null;function ppmUpdateLocalStorage(t,o,e){var n=24;void 0!==document.getElementById(e)&&(n=document.getElementById(e).value),storedValues=JSON.parse(window.localStorage.getItem(t)),storedValues[o]=n,window.localStorage.setItem(t,JSON.stringify(storedValues))}function ppmCallEveryone(t){itemListId=1,_gwCalling=window.open("","gexWindow","");var o=JSON.parse(window.localStorage.getItem(t)),e=function(t){var o=itemListId;o=o<=9?"ctl00_cphLeftColumn_ctl00_repAddressBook_ctl0"+o+"_lnkCharacter":"ctl00_cphLeftColumn_ctl00_repAddressBook_ctl"+o+"_lnkCharacter";var e=document.getElementById(o),n="https://"+window.location.hostname+e.getAttribute("href");_gwCalling.location=n,itemListId++},n=0;for(var a in o)setTimeout(function(){e()},5e3*n),n+=1}function ppmContactAuthor(t){(_gwAuthor=window.open("","gexAuthor","")).location="1662408"==t?"https://"+window.location.hostname+"/World/Popmundo.aspx/Conversations/Conversation/1477649":"https://"+window.location.hostname+"/World/Popmundo.aspx/Conversations/Conversation/1662408"}