Forcing page reload after site whitelisting?

Maciej Mróz <[email protected]> Wed, 27 Oct 2004 11:56:47 +0200
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
I have following problem with XPI plugin installation system:
1. Our page tries to install plugin on onload event. I know that does 
not work in new versions of firefox, but works in older mozilla based 
browsers and saves users from having to bother with manual installation 
of plugin.
2. If that fails, we are displaying a link that user must click to 
install plugin (in firefox plugin installation must be user initiated). 
This way we are handling older browsers (the easy way), and new browsers 
(little harder way, extra click from user)
3. But then page whitelisting goes into equation - if our page is not 
whitelisted we see message "to protect your computer firefox prevented 
this site from installing software on your computer".

User can click "Edit", add the site to white list and ... nothing 
happens, the page IS NOT RELOADED. What's more we don't get to Step 2 :( 
When user closes the window, opens it again (effectively user reloads 
page, this time whitelisted) then we reach to step 2, user clicks link 
and everything start working. But how is the user supposed to know that 
page should be reloaded? The reasonable expectation is that he/she 
whitelists the page and then it all starts working.
In IE with XP SP2, changing page whitelist causes complete reload of 
page (afaik they even flush any existing caches for some security 
reasons), Firefox does not do that ... Is there any way to work around 
it? (like reload in "onwhitelist" event?).

regards,
Maciej Mróz