| To generalize, it's not easy to judge what pixels on a browser's rendered webpage are trustworthy and legitimate. For example, every time I see a "Are you sure you want to leave this page?"[1], I hesitate for a moment and wonder if that dialog box is being spoofed. That dialog shows up for many scammy websites but also legitimate ones too. Yes, one could try to learn which dialogs can't be spoofed[2] but there's always paranoia because you can't keep up-to-date with all unknown future exploits. Chrome makes that dialog box scarier because it is modal and you can't click outside of the box on the browser's tab [x] to close the window. (You also can't use the keyboard Ctrl+F4 to close it either.) In contrast, Firefox let's you avoid clicking the dialog box by letting you click on the tab's [x] or press Ctrl+F4. It's easy to replicate these differences in behavior on website regex101.com.[3] Type a few characters there and then try to navigate away from the page. Chrome forces you to interact with the dialog box but Firefox lets you click
[x] on the browser tab. It's nearly impossible for any combination of CSS and Javascript to "escape" the browser window and hijack the [x] button on the browser's tab so it feels "safer" just to click there. [1] https://www.google.com/search?q=google+chrome+%22are+you+sur... [2] https://superuser.com/questions/639084/malicious-confirm-nav... [3] https://regex101.com/ |
The essay 'The Line of Death' [1] talks about users' trust placed into UI elements, and the implications thereof.
[1] https://textslashplain.com/2017/01/14/the-line-of-death/