I don't think a Safari plug-in is the right way to do this. For one, it will only work in Safari, not in any other browser. Two, it uses undocumented APIs that can and do change from one release to the next, making it difficult to support. Three, it's not the right layer — what you really want to do is intercept HTTP requests, not mess directly with a browser.

The best way to do this would be to implement an HTTP proxy, I think. That doesn't require using any private APIs. It's not even Mac- specific code; you could probably find open-source code for a simple pass-through proxy for any Unix-like OS.

(Also, you are aware that there's already a parental-control Web filter built into the OS?)

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to