Hi all. I'm writign a script for one of the browser games (http:// www.dossergame.co.uk/).
My code is loading page (using GM_xmlhttpRequest), then filtering 20 rows from a table in it and showing these in different format with some additional info on the current page. Everything works fine if I put 'alert' just before inserting the code to current page. When I remove it I get about 5-10 lines only and then FireBug is reporting an error: dom[licznik] is undefined file:///C:/Users/Wojtek/AppData/Roaming/Mozilla/Firefox/Profiles/bcz0dutq.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js Line 669 (669 out of range 514) where: dom - is my variable to hold loaded html data (no problem with this one, I think) licznik - is my pointer on the website (holds the number of the row in the table). variable licznik should be only between 1 and 21, but FireBug is reporting it has reached value of 669 (?) Can anyone explain me what can cause this problem and how to avoid it? This error stops the script completly, and I'm trying to solve this since yesterday... And what is that odd range of 514? Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en -~----------~----~----~----~------~----~------~--~---
