• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: detect URL change
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detect URL change


  • Subject: Re: detect URL change
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 6 Jun 2008 08:38:40 -0700

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@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • [Newbie] Proper class releasing
      • From: "Jon Keon" <email@hidden>
References: 
 >detect URL change (From: "Mauricio Camayo" <email@hidden>)
 >Re: detect URL change (From: Scott Anguish <email@hidden>)
 >Re: detect URL change (From: Adam Leonard <email@hidden>)

  • Prev by Date: Re: Regular Expressions?
  • Next by Date: Re: Regular Expressions?
  • Previous by thread: Re: detect URL change
  • Next by thread: [Newbie] Proper class releasing
  • Index(es):
    • Date
    • Thread