KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have made a script that runs with no glitch on Firefox. I'm retrieving some data from external domain in an iframe to insert them in the page by using setInterval() I have tried to use Trixie, so that it runs in IE, but it seems that functions GM_getValue and GM_setValue were not defined. I've added these replacement functions, based on cookies, but I can't get it to work in a cross-domain way : http://www.howtocreate.co.uk/operaStuff/userjs/aagmfunctions.js The cookie is created, and the data stored, but it's only accessible from the iframe, not from the top document. Here is the basic structure I used : http://www.pastie.org/1889407 In test() I have access to the value stored with GM_getValue("destination",""), but it doesn't work inside function check(). 1) Is there a way to make the cookie cross-domain? 2) Are there other ways to store data in IE in a cross-domain way? (I have briefly heard of Flash objects, but it doesn't seem quite a light solution...) Other implementations of these functions (getValue and setValue) are quite hard to find. 3) I'm using Trixie, maybe it's not the best solution, any advice on what plugin I should better use, to have those functions?
Tags (comma-separated)
Save Edits
Cancel