• 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: Any way to intercept the URL-opening mechanism on OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any way to intercept the URL-opening mechanism on OS X?


  • Subject: Re: Any way to intercept the URL-opening mechanism on OS X?
  • From: Rick Mann <email@hidden>
  • Date: Wed, 23 Dec 2015 00:36:34 -0800

Hmm, didn't this change in iOS 9 and 10.11 to only work per-app?

> On Dec 23, 2015, at 00:32 , email@hidden wrote:
>
> Can't NSURLProtocol help you here??
>
> Docs:
> https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLProtocol_Class/
>
> Tutorial:
> http://www.raywenderlich.com/59982/nsurlprotocol-tutorial
>
>
>
>
>> You know how you can click links in email, and heck, to open them in
>> Safari (or whatever browser)? Is there any way to write an extension of
>> some sort that can intercept this and re-write the URL? I tried to write a
>> filter in Safari proper for the URL that the user pastes into the address
>> bar, but Safari plug-ins don't have access to that.
>>
>> I want to write a thing to strip all the utm_* parameters off the URLs.
>>
>> What about intercepting the clipboard and rewriting text there?
>>
>> TIA,
>>
>> --
>> Rick Mann
>> email@hidden
>>
>>
>>
>> _______________________________________________
>>
>> 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
>


--
Rick Mann
email@hidden



_______________________________________________

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:
    • Re: Any way to intercept the URL-opening mechanism on OS X?
      • From: Jens Alfke <email@hidden>
References: 
 >Any way to intercept the URL-opening mechanism on OS X? (From: Rick Mann <email@hidden>)
 >Re: Any way to intercept the URL-opening mechanism on OS X? (From: email@hidden)

  • Prev by Date: Re: Any way to intercept the URL-opening mechanism on OS X?
  • Next by Date: Communicating with Privileged Helper Tool
  • Previous by thread: Re: Any way to intercept the URL-opening mechanism on OS X?
  • Next by thread: Re: Any way to intercept the URL-opening mechanism on OS X?
  • Index(es):
    • Date
    • Thread