I would like to use a CSS style sheet, in Safari. How can I set the path for this in Safari programatically.
ie not through, Safari Preferences.
I am currently applying a CSS file via javascript, but applying the CSS directly would remove the javascript overhead.
I ran a class-dump of Safari, and found the following methods:
anyone, care to take an educated guess, as to which one I should swizzle...
or better yet, is there an official way to do this?

ie not through, Safari Preferences.
I am currently applying a CSS file via javascript, but applying the CSS directly would remove the javascript overhead.
I ran a class-dump of Safari, and found the following methods:
Code:
- (void)setStyleSheetPathPreference:(id)arg1;
- (id)styleSheetPathPreference;
- (void)updateStyleSheetMenu;
- (void)takeStyleSheetFromMenuItem:(id)arg1;
- (void)disableUserStyleSheet:(id)arg1;
- (void)choseStyleSheetFromPanel:(id)arg1 returnCode:(int)arg2 contextInfo:(void *)arg3;
- (void)chooseStyleSheetFromFileBrowser:(id)arg1;
anyone, care to take an educated guess, as to which one I should swizzle...
or better yet, is there an official way to do this?