Prevent Scythian highlighting from corrupt text fields

In short, a text area programmatically filled with the phone number in it, with the Skype plugin installed, creates highlight marks.

In this way,

(418) 555-1234 

becomes

 begin_of_the_skype_highlighting (418) 555-1234 end_of_the_skype_highlighting 

And if this line is placed inside the text box, the Skype highlight again encapsulates it, Ad infinitum.

How do you prevent this?

+4
source share
3 answers

You should look at http://forum.skype.com/index.php?showtopic=96959&st=0

This seems to be an error message, but still not resolved.

Suggestions should use a meta tag (which does n't seem to work in all Skype plugins)

 <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" /> 

Enter an invisible character that will destroy the skype algorithm for identifying phones

 +123 456<span style="display:none;">_</span> 789 

(I don't think this can work with text areas)

And, of course, disable the plugin if the problem is related to your own access to this page.


Update

Check to see if either of the two examples works at http://www.jsfiddle.net/gaby/Qy7uw/ . (I do not have skype to check)

I am using zero width join &zwj; and friend &nbsp;

+9
source

Using only CSS, you can remove it by overriding the styles used by Skype. Try adding these two lines to your stylesheet:

 span.skype_pnh_container {display:none !important;} span.skype_pnh_print_container {display:inline !important;} 

edit Skype started adding unique numbers to classes, you can solve it with the new Css 3 selector:

 span.skype_pnh_container {display:none !important;} span.skype_pnh_print_container, span[class^="skype_pnh_print_container"] {display:inline !important;} 
+1
source

An ugly hack, not yet tested, but text that goes in the text box can be generated with a non-printable character between each printable character. Special encodings may be damaged, though ...

0
source

All Articles