Thank you a lot @Angelo S for your reply. I have already used localstorage and I have the following problem. Eg. I define in project javascript a global counter variable:
localStorage.counter=1;
Now if I want to change its (global) value by eg. clicking a button on a page it seems impossible. I use run Javascript there eg. on tap of a button, event is run javascript and I try to trigger the apearence of a text.
localStorage.counter=localStorage.counter+1;
if (localStorage.counter==2){$("#obj111").show()}
This seems not to work because for the program localStorage.counter is still 1. (so if in the if I set 1 instead of 2 the object does show)
Could you explain how I can fix this? I have tried also with page javascript and it seems it is the same.
I could sum up the problem as follows. if localStorage variable is written on project javascript then every page "sees" it but if I try to adapt its value locally on a page it is impossible.
Thank you in advance