Re: Any way to intercept the URL-opening mechanism on OS X?
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: Uli Kusterer <email@hidden>
- Date: Sun, 03 Jan 2016 16:03:03 +0100
On 03 Jan 2016, at 00:04, Conrad Shultz <email@hidden> wrote:
>> On Dec 22, 2015, at 3:51 PM, Rick Mann <email@hidden> wrote:
>>
>> 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.
>
> Rather than a plug-in, would a Safari extension do what you need? You might take look at https://developer.apple.com/library/safari/documentation/Tools/Conceptual/SafariExtensionGuide/WorkingwithWindowsandTabs/WorkingwithWindowsandTabs.html
You could probably modify Weberal Express to do that: https://github.com/gnyrd/WebEx ?
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://stacksmith.org
_______________________________________________
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