I need to have a Firefox extension which redirects certain URLs to
another location. AFAIK using OnStartURIOpen() is not appropriate since
it only allows or disallows the url load and cannot handle redirection.
Any ideas?
Firefox 2.0.
___
dev-embedding
Hi,
the following code, when called from Firefox extension, retrieves
firefox profile directory location.
nsresult rv = NS_InitXPCOM2(nsnull, nsnull, nsnull);
if (NS_FAILED(rv)) return;
nsCOMPtrnsIProperties fileLocator =
do_GetService(@mozilla.org/file/directory_service;1, rv);
if
On Dec 20, 4:06 pm, Andrei Korostelev [EMAIL PROTECTED] wrote:
Hi,
the following code, when called from Firefox extension, retrieves
firefox profile directory location.
nsresult rv = NS_InitXPCOM2(nsnull, nsnull, nsnull);
if (NS_FAILED(rv)) return;
nsCOMPtrnsIProperties fileLocator
I need a Firefox extension which performs some actions (redirect and
others) before the URL is open. Simply using Mozilla's
window.addEventListener(load, Handler, ..) does not work since I have
to catch the URL *before* the page is loaded. Not too exotic task on my
thought. I also read a couple of