Ever since Safari 3 β came out, I've been feeling a bit like the archetypal Windows Vista user. You see every time I enter text on a page and proceed to close the tab or window it asks for confirmation. This is a new behaviour in Safari 3 and one that I don't like at all, although I can see why it's there. '
strings' came to the rescue and less than a minute later I got the answer. Open the com.apple.Safari.plist and edit it as follows --- or simply type the following in your terminal (make sure you type the whole thing in one line):
defaults write com.apple.Safari
DebugConfirmTossingUnsubmittedFormText NO
Safari won't ask you for confirmation again. To re-enable the confirmation, replace the
NO with a
YES and you're done.