https://bugzilla.wikimedia.org/show_bug.cgi?id=23675
--- Comment #5 from Roan Kattouw <[email protected]> 2011-05-24 15:46:02 UTC --- (In reply to comment #4) > WikiMedia dialogue is a modal pop-up, blocking ALL browser windows. Safari's > dialogue is a sheet, blocking only other tabs in the same window. > > WikiMedia's text: > > > * http://en.wikipedia.org > > > > Are you sure you want to leave this page? > > > > Leaving this page may cause you to lose any changes you have made. > > If you are logged in, you can disable this warning in the "Editing" section > > of your preferences. > > > > Click OK to leave this page, or Cancel to stay on this page. > > Buttons: (Cancel) ((OK)) > > The bold heading is unhelpful. The text is incorrect: I am not leaving the > page > when I reload it. The dialogue is wordy, requiring reading three paragraphs to > determine the appropriate action. The button text is not an action, so the > reading is necessary. > Only the middle paragraph is provided by MediaWiki. Everything else is done by your browser through the onbeforeunload event. > Why is a website trying to add functionality to a browser, in the first place, > and why is it overriding the way my browser already provides this function? It > doesn't do it as well, and it makes it worse still because the behaviour is > non-standard and unfamiliar. Does Safari show this warning on leaving the page as well as refreshing it? I don't believe that the difference between reloading and leaving, or the fact that the browser does its own dialog thingy, is detectable by JavaScript. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
