If you run your script on all pages, and maybe only affect pages that 
have a certain name, like a named or id'ed iframe, then it would work. 
Passing information back and forth between the iframe and the main page 
may be a "challenge".

It's pretty stupid that there isn't a global variable space that can be 
used for purposes like this. (afaik -- some of us asked for stuff like 
that over and over and I don't think it was ever done) Sure there is a 
"security" issue, but so what. We're not performing brain science or 
rocket surgery here, so people need to get past that. Sometimes you just 
need to pass information around to perform some little task that is cool 
or needed or whatever. If someone potentially messing with that data 
will cause your head to explode, then you shouldn't be doing that in a 
GmScript. It's pretty much a no-brainer. Just name the global variable 
space "Caveat Emptor" and be done with it. (and give some of us the 
functionality and features and such that we would like and need)

daremind wrote:
> I've got an interesting assignment to develop a web app. I wonder
> whether any one can tell me whether this achievable at all.
>
> In the web app, I will have a portion of the web page that acts like a
> web browser.  in the web browser, I can load any web page from another
> site.  And then I'll add some javascript effects onto this web page.
>
> What i'm doing inside this browser-like portion of the page can be
> done with grease monkey user script. however, the issue is whether
> this doable at all.  More specifically:
>
> What is this portion of the page?  if I use an Iframe, i have domain
> permission issue so javascript can't modify it's content.  If i use
> some div's, i need to parse like a browser to pull over js, css, etc.
> which is a mess.
>
> Is there some type of plugin that I can use to create such as area
> inside a web page so that i can use grease monkey user script on its
> content? or am i trying to do something grease monkey already did.
>
> and did i make any sense to you?
>
> thanks much.
>
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to