Jump to content

Recommended Posts

Yes this is odd

 

The following website is a recipe, however no matter how much or how little you copy and paste into notepad (getting rid of formatting) you get an extra line 

 

Read more: http://www.simplyrecipes.com/recipes/quesadilla/#ixzz4Lp5hmm6l

 

In the method of cooking copy paragraph 1 2 and 3 seperatly. you always get the extra URL Read more...

 

Read more is not in the text.

Link to comment
https://forums.phpfreaks.com/topic/302266-what-you-see-is-not-what-you-get/
Share on other sites

And your question is... how they do it? They do it by using a script from some folks named Tynt (which is apparently now called "33across"?). That script does it by... well, I'm not sure, it's obfuscated, but likely by a trick where you listen for an oncopy event, create a new hidden element with the selection plus the "read more" text, select that, let oncopy do its thing, then remove the element.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.