10.4: Disable Safari 3 warnings about unsubmitted forms

Aug 07, '07 07:30:00AM

Contributed by: Anonymous

Since installing Safari 3.0, I've found the confirmation boxes for unsubmitted forms to be quite annoying. Now that Web 2.0 is so popular and so many sites send content via AJAX, having unsubmitted forms is not uncommon, and these confirmations are just a pain. The fix? After digging around with...

strings /Applications/Safari.app/Contents/MacOS/Safari
...I found the DebugConfirmUnsubmittedFormText preference. To disable the confirmations, quit Safari, open up Terminal, and type this command:
defaults write com.apple.Safari DebugConfirmTossingUnsubmittedFormText 0
To re-enable confirmations, just do the same with a 1 instead of a 0 at the end. Enjoy your much-improved Safari!

Comments (9)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20070807142802826