Terminal Tips: Stop Safari "saved text" dialogs
We're continuing with Safari hacks for today's Terminal Tip. Have you ever typed text on a web page, but then realized that you want to go to another page without saving your input? However, when you close the window or tab, Safari rudely tells you that you have saved text and if you navigate away, your changes will not be saved. While these dialogs can be useful, most of the time they're annoying. If you want to get rid of them, just type in this Terminal (/Applications/Utilities/) command and press enter:
defaults write com.apple.Safari DebugConfirmTossingUnsubmittedFormText NOYou will no longer see the dialog when you have typed text on a page and want to navigate away. To reverse the command, replace "NO" with "YES."
Want more tips and tricks like this? Visit TUAW's Mac 101 and Terminal Tips sections.
Share
Categories
We're continuing with Safari hacks for today's Terminal Tip. Have you ever typed text on a web page, but then realized that you want to go...
Add a Comment
Is there a similar way to kill the "Are you sure you want to send a form again?" notices? It is by far the most annoying thing about Safari. I have no clue why some sites trigger it and some don't - but I hate it.
I've googled around for it, but there's no elegant solution 'default write' like the above, it seems.
This too should be a pref setting.
This really should be a preference setting.
September 09 2008 at 10:10 AM Report abuse Permalink rate up rate down Reply"Safari rudely tells you"
C'mon, give me a break. It's a dialog box. If anything, it's useful when you have ten tabs open and perhaps got up to do something and forgot you were writing a comment on TUAW.
J
Thank you! That is my most hated dialog box.
September 09 2008 at 8:48 AM Report abuse Permalink rate up rate down ReplyI'd advise not to change this setting, because it can be the only way to not lose everything you were typing, if another application (Like Onyx, for exemple) tries killing Safari and you only have on tab open...
But thanks for the heads up !
Hot Apps on TUAW
Deals of the Day
more deals- Used Apple iMac 17" Core 2 Duo 1.83GHz for $430 + $28 s&h
- Lounge Deluxe Stand for iPhone / iPod touch for $28 + $8 s&h
- Brookstone Surround-Sound Earbuds for $14 + $7 s&h
- Refurbished Skullcandy Tokidoki Smokin' Buds Mic'd Headset for $5 + $2 s&h
- Stitchway Backup Battery for iPod / iPhone for $5 + free shipping
- Used Apple MacBook Pro 2.4GHz 15" LED Laptop for $1,030 + $29 s&h
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



6 Comments