在复制时自动添加URL [英] When copying automatically add URL

查看:87
本文介绍了在复制时自动添加URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾在几个网站上看到,当您从那里复制一些文本并粘贴到任何地方时,它会在我复制文本的位置添加网页的网址。



例如:
$ b

 是我复制的文本。 

当我粘贴时,我得到:

< pre class =lang-none prettyprint-override> 这是我复制的文本。
了解更多:http://example.com/abc/def

我是只是想知道这是如何完成的?如何在复制的文本中添加其他文本?



示例:检查这个问题(或任何其他)answers.com上。复制问题文本并粘贴。使用Firefox最新版本进行测试。

解决方案

有许多在线工具可以提供这个和其他网站/博客管理工具。 Answer.com也使用一种名为 tynt 的服务。打开链接,向下滚动到底部,您可以在特色客户端看到answer.com;)。
了解更多信息。


I have seen on few websites that when you copy some text from there, and paste anywhere, it will add the URL of the page from where I copied the text.

For example:

This is text I copied.

and when I paste, I get:

This is text I copied.
Read more: http://example.com/abc/def

I'm just curious to know how this is done? How to add additional text in the copied text?

Example: Check this question (or any other) on answers.com. Copy the question text and paste. Tested with Firefox latest version.

解决方案

There are many online tools which provide this and other website/blog management utilities. Answer.com is also using one such service named tynt. Open the link, scroll down to the bottom and you can see answer.com in featured clients ;). For more information.

这篇关于在复制时自动添加URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆