when using multiple tabs within one browser window, the list of the top ten will be updated correctly. using several windows, leads to different top ten lists - for each window one ....
The problem is that Firefox instantiates a new JavaScript context every time a new window opens. So even with a global variable there is no global state so far.
It could be written/read from disk, but that would lead to a big disk i/o overhead, and I think thats not appropriate.
further ideas welcome!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=304752
Originator: NO
The problem is that Firefox instantiates a new JavaScript context every time a new window opens. So even with a global variable there is no global state so far.
It could be written/read from disk, but that would lead to a big disk i/o overhead, and I think thats not appropriate.
further ideas welcome!