Sorry, but applying your js to a remote website is a single origin
policy violation.
google gadget works inside the iframe, and some info's about customers
site you can receive only from the gadget API.


On Thu, May 27, 2010 at 2:05 AM, vinic <[email protected]> wrote:
> I frequent a forum and would like an iGoogle gadget that takes the
> list of subscribed threads from the Control Panel page on the site and
> strips out most everything on the page except for the lists of threads
> and the amount of unread posts, using JavaScript. That portion is
> easy.
>
> The problem is applying this JavaScript to the remote website. A
> Content type of "url" allows for the remote site to display using the
> user's cookies. However, JavaScript cannot be applied by the gadget
> for "url" content types. If I were to use the "html" content type, I
> would have to devise a way to log into the forum from the gadget which
> opens plenty of security holes.
>
> How should I go about doing this? Essentially I just need to apply a
> userscript to a website and display it within an iGoogle gadget.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "iGoogle Developer Forum" 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/Google-Gadgets-API?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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/Google-Gadgets-API?hl=en.

Reply via email to