SOLUTION
- Currently working for OS X 10.12.6
- Finder doesn't crash when .weblock is clicked.
- Safari is able to launch the url.
- However, Quicklook views .weblocs as plain text files, bypassing the web preview generation.
Overview
Step 1
File: /System/Library/QuickLook/Web.qlgenerator/Contents.info.plist
Remove: <string>com.apple.weblocation</string>
Step 2
File: /System/Library/QuickLook/Text.qlgenerator/Contents.info.plist
Add:
<string>com.apple.internet-location</string>
Location:
<string>QLGenerator</string>
<key>LSItemContentTypes</key>
<array>
<string>public.data</string>
<string>com.apple.internet-location</string> <!-- sierra-webloc-crashfix -->
</array>
Step 3
Copy File: /System/Library/QuickLook/Text.qlgenerator
Move Copy:/Library/QuickLook/Text.qlgenerator
Step 4
Terminal Command:
qlmaange -r
Basic instructions for editing these types of files:
ex.Step 1
Locate File: /System/Library/QuickLook/Web.qlgenerator/
-Right Click and select “Show Package Contents”
Copy File to desktop: /System/Library/QuickLook/Web.qlgenerator/Contents.info.plist
…Enter PW to allow changes
Duplicate File on desktop & rename: original.Contents.info.plist
-Edit desktop/Contents.info.plist
Remove:
<string>com.apple.weblocation</string>
- Save, move both files to replace original File: /System/Library/QuickLook/Web.qlgenerator/Contents.info.plist
…Enter PW to allow changes
ect.