ronaldevers.nl


23 Jul 2010 » Adding files to Safari's "safe" file list

It is always nice to spare mouse clicks. For instance, when I download an nzb file with Safari, I want it to automatically be opened in NZB Drop. But Safari does not consider nzb files to be “safe” so you have to open it yourself. Blech!

Luckily this post solves the problem. It boils down to the following.

  1. Create a file called

    ~/Library/Preferences/com.apple.DownloadAssessment.plist

  2. with contents:

    	<?xml version="1.0" encoding="UTF-8"?>
    	<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
    		"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    	<plist version="1.0">
    		<dict>
    			<key>LSRiskCategorySafe</key>
    			<dict>
    				<key>LSRiskCategoryExtensions</key>
    				<array><string>nzb</string></array>
    			</dict>
    		</dict>
    	</plist>
    

  3. Restart Safari and you’re done. Nice!

See the original post over at mymacinations.com for some more detailed information.