从网站复制文本,附加复制文本的链接? [英] Copying text from website, attaches link with text copied?
问题描述
很抱歉,标题不确定如何解释,因为我没有完全理解它是如何工作的。如果我已经知道这一点,我不是一个经验丰富的编码员。当我复制本网站的报价时: http://stories-etc.com/engineers.htm# ixzz1ZtBtOfWv ,然后将其粘贴到某处,并自动将其他文本与报价相连接:阅读更多内容,然后提供该网站的链接。我明白他们为什么这样做,而不是他们这样做。我试着看看萤火虫的代码,但一切似乎对我来说很正常,所以假设它与PHP或JS的东西?感谢您的帮助
Sorry for the title not really sure how to explain it being that I don't fully understand how it works. I'm not a veteran coder so sorry if I should already know this. When I copy a quote from this site: http://stories-etc.com/engineers.htm#ixzz1ZtBtOfWv and then paste it somewhere it automatically attaches other text with the quote: read more and then provides the link to the site. I understand why they do it just not the way they are doing it. I tried to take a look at the code with firebug but everything seemed normal to me so assuming its something with php or JS?? Thanks for the help
推荐答案
他们使用这个JS服务:
http://www.tynt.com/
They are using this JS service: http://www.tynt.com/
它基本上捕捉选择事件并附加一些更多(隐藏)数据到选择。
It basically catches the selection event and attaches some more (hidden) data to the selection.
这篇关于从网站复制文本,附加复制文本的链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!