Which is proper way to warn user, that she has unsaved `work' from extension?
Lev Serebryakov
Programmer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
> I'm writing extenstion, which needs to know, when exit process is initiated
>(XPCOM component needs to know this).
> My compomnetnt registeres itself as observer for `quit-application-requested'
>topic. Results are wary:
>
> FireFox 1.0.x: it works (and component could even abort exiting! It is
>cool!).
> Mozilla 1.7.5: it works ONLY if user selects `File|Exit' and DOESN'T WORK
>if user closes last window! It is VERY bad.
Hmm, so using this someone could write a malicious extension that
would stop me from exiting firefox/mozilla when I wanted to, and force
me to look at their advertisement etc until I killed the process?
Sounds good... Not..
Errol Smith
errol <at> ros (dot) com [period] au
ES> Hmm, so using this someone could write a malicious extension that
ES> would stop me from exiting firefox/mozilla when I wanted to, and
ES> force
ES> me to look at their advertisement etc until I killed the process?
ES> Sounds good... Not..
Sorry, but it is not argument at all. Because YOU should thinks when installs
extension. Mozilla and FireFox WARNS you, that you should trust source of
extension.
I say more: it is posiible yo write extension, whcih remove ALL files from
you HDD, whcih you could delete by yourself. Is it Ok?