Maybe query document.body.scrollTop for your popup's document?

On Tue, Dec 8, 2009 at 11:47 PM, Juliana Peña <[email protected]>wrote:

> I have an extension (https://chrome.google.com/extensions/detail/
> chieodlkhimccchlojdmiondhiggkhmf) that uses iFrames to load iGoogle
> and other gadgets in the browserAction popup. However, when the popup
> closes and is opened again, navigation position is not saved and must
> be started from the beginning.
> I wanted to fix this by storing the current location in localStorage
> when the popup is closed and loading it but with the iframe's src in
> the saved location when opened again. However, when I try to access
> the iframe's document I get JavaScript exceptions due to cross-site
> scripting.
> Is there any other way I can do this?
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Chromium-extensions" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<chromium-extensions%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/chromium-extensions?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" 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/chromium-extensions?hl=en.


Reply via email to