[Project_owners] Getting Source Tab When Listening to http-on-modify-request
adamsplugins at gmail.com
Wed Feb 28 06:48:46 PST 2007
You might be able to guess by comparing the url.
E.g. the tab for example.com is probably the one trying to retrieve
resources from example.com/xxx
I've had a lot of folks ask for this in tamperdata, but filtering by
domain is generally sufficient.
What's the problem you're trying to solve with this information?
On 28/02/07, Kyle Wilgus <wigginz at gmail.com> wrote:
> In my extension, I am listening to the topic http-on-modify-request.
> I'd like to be able to get a reference to the tab that was actually
> triggering the topic.
> For example, if I have 5 tabs open, and the page loaded in tab 3 (not
> necessarily the selected tab) has a meta refresh or makes an AJAX
> request, I want to be able to identify that tab 3 was the source when
> I get the message in my observe method.
> Does anyone know how this can be done?
> Project_owners mailing list
> Project_owners at mozdev.org
More information about the Project_owners