I'd like to use Cocoa WebView for display of email messages. For security/privacy purposes I want to disable JavaScript but, incredibly enough, can't find any way to do it in the documentation.
Thanks in advance for any hints.
I'd like to use Cocoa WebView for display of email messages. For security/privacy purposes I want to disable JavaScript but, incredibly enough, can't find any way to do it in the documentation.
Thanks in advance for any hints.
Check out WebView's -(WebPreferences *)preferences, which has a -(void)setJavascriptEnabled:(BOOL)flag option.