Hi All,

I'm doing a page reload extension, similar to the functionality in
Opera.

I've got it all working nicely, except for POSTs.

In Opera, if you auto-reload a page which was obtained via a POST it
will auto-post to the URL periodically. This is the behavior I'd like
to emulate.

chrome.tabs.update(tab_id, {url: url}); doesn't work (that does a GET,
which I guess makes sense as a default)

chrome.tabs.executeScript(tab_id, {code: 'window.location.reload()'});
should probably work, but 
http://code.google.com/p/chromium/issues/detail?id=6429
means this is actually done as a GET.

Are there any good options I've missed?

The only thing I can think of is that if the page comes from a POST
(how do I detect that anyway?) dynamically create a hidden HTML form
via a content script that contains all the postdata (not exactly sure
how I'd get that..) and repost it.

--

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=.


Reply via email to