On 12 Oct 2012, at 00:11, Kyle Sluder <k...@ksluder.com> wrote:

> On Oct 11, 2012, at 10:00 AM, "Gerriet M. Denkmann" <gerr...@mdenkmann.de> 
> wrote:
> 
>> 
>> On 11 Oct 2012, at 23:45, Kyle Sluder <k...@ksluder.com> wrote:
>> 
>>> On Oct 11, 2012, at 8:26 AM, "Gerriet M. Denkmann" <gerr...@mdenkmann.de> 
>>> wrote:
>>> 
>>>> I have a WebView which displays text which contains some invisible 
>>>> characters (like ZERO WIDTH SPACE).
>>>> When I use Edit→Copy these characters are also put on the pasteboard.
>>>> 
>>>> But this does not make sense. The pasteboard should contain the selected 
>>>> text without these invisible characters.
>>> 
>>> I challenge this statement. The user selected those characters. They should 
>>> therefore be copied.
>> 
>> Ok. New version:
>> This generally makes sense. But in my special case the pasteboard should 
>> contain the selected text without these invisible characters.
> 
> Can you inject a JavaScript into the page that strips the characters before 
> putting them on the pasteboard?

I have no experience with JavaScript. And no idea how to start.
I was hoping to just use subclassing and/or delegates.

Gerriet.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to