Skip to content

Commit 299b7dc

Browse files
kdeldyckemathiasbynens
authored andcommitted
.macos: Also disable Java for local domains in Safari (mathiasbynens#769)
1 parent 5befea3 commit 299b7dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.macos

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@ defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebK
524524
# Disable Java
525525
defaults write com.apple.Safari WebKitJavaEnabled -bool false
526526
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaEnabled -bool false
527+
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaEnabledForLocalFiles -bool false
527528

528529
# Block pop-up windows
529530
defaults write com.apple.Safari WebKitJavaScriptCanOpenWindowsAutomatically -bool false

0 commit comments

Comments
 (0)