1
vote
1answer
332 views

How to reverse the defaults write com.apple.Safari CustomUserAgent “\”My user agent string\“” command

Using the defaults write com.apple.Safari CustomUserAgent "\"My user agent string\"" command, you can set the default User Agent for Safari. This means that the CustomUserAgent key gets written in ...
0
votes
1answer
305 views

How do I change the global stylesheet of Safari from the command line on OS X?

I am looking for a command line solution to change Safari default stylesheet. This can be configured manually by going to Safari > Preferences > Advanced > Style sheets. Still, I need this in order ...
0
votes
1answer
120 views

How do I refresh Application metadata - URL handlers, Web browsers - after installing my own AppleScript?

I'm working on an Apple Script that handles URLs. There's a command one can give which re-creates the list that Safari shows to change the default web browser. Anyone know what this is?