views:

167

answers:

2

Is it possible to completely disable the JavaScript exit alert boxes that spring up when I try to leave the page?

I'm running Firewatir on Ubuntu.

+1  A: 

Are you able to use Greasemonkey scripts while using Firewatir? If so, then the BlockUnloadEvents script might do the trick:

http://userscripts.org/scripts/show/23865

ZoogieZork