不要从网页复制文本 [英] Not to copy text from a web page
问题描述
我想创建一个网页,没有人可以简单地选择文本
,将frm复制到另一个位置。用简单的方法,
我想从我的网页上停止复制过程。 Plz建议
用于此目的的JavaScript代码。
I''ld like to create a web page, from which no one can select the text
simply, copy frm there n paste at another location. In simple means,
i''ld like to stop copy process from my web page. Plz suggest
JavaScript code for this purpose.
推荐答案
3月1日晚上10点50分, " Sillu" < madhotra.su ... @ gmail.comwrote:
On Mar 1, 10:50 pm, "Sillu" <madhotra.su...@gmail.comwrote:
我想创建一个网页,从中没有人可以选择文本
简单地说,将frm复制到另一个位置。用简单的方法,
我想从我的网页上停止复制过程。 Plz建议
用于此目的的JavaScript代码。
I''ld like to create a web page, from which no one can select the text
simply, copy frm there n paste at another location. In simple means,
i''ld like to stop copy process from my web page. Plz suggest
JavaScript code for this purpose.
不可能。以下FAQ项目与脚本有关,但
同样适用于页面中的任何其他内容 - 如果您将其发布在网页上的
,则可以保存本地:
< URL: http ://www.jibbering.com/faq/#FAQ4_1 >
< URL: http://www.jibbering.com/faq/#FAQ4_5 >
< FAQENTRY>
也许页面保护上的项目可以合并为一个,并且一般都在
关于页面内容以及仅用于脚本
< ; /常旅客>
-
Rob
Impossible. The following FAQ items are in regard to script, but the
same holds for any other content in the page - if you publish it on
the web, it can be saved locally:
<URL: http://www.jibbering.com/faq/#FAQ4_1 >
<URL: http://www.jibbering.com/faq/#FAQ4_5 >
<FAQENTRY>
Perhaps the items on page protection can be rolled into one, and be in
regard to page content in general as well as just for script
</FAQENTRY>
--
Rob
3月1日,上午7:57,RobG < r ... @ iinet.net.auwrote:
On Mar 1, 7:57 am, "RobG" <r...@iinet.net.auwrote:
3月1日晚上10点50分,Sillu < madhotra.su ... @ gmail.comwrote:
On Mar 1, 10:50 pm, "Sillu" <madhotra.su...@gmail.comwrote:
我想创建一个网页,从中没有人可以选择文本
简单地说,将frm复制到另一个位置。用简单的方法,
我想从我的网页上停止复制过程。 Plz建议
用于此目的的JavaScript代码。
I''ld like to create a web page, from which no one can select the text
simply, copy frm there n paste at another location. In simple means,
i''ld like to stop copy process from my web page. Plz suggest
JavaScript code for this purpose.
不可能。以下FAQ项目与脚本有关,但
同样适用于页面中的任何其他内容 - 如果您将其发布在网页上的
,则可以保存本地:
< URL:http://www.jibbering.com/faq/#FAQ4_1>
< URL:http:// www .jibbering.com / faq / #FAQ4_5>
< FAQENTRY>
也许页面保护上的项目可以合并为一个,并且在
关于页面内容以及仅用于脚本
< / FAQENTRY>
-
Rob
Impossible. The following FAQ items are in regard to script, but the
same holds for any other content in the page - if you publish it on
the web, it can be saved locally:
<URL:http://www.jibbering.com/faq/#FAQ4_1>
<URL:http://www.jibbering.com/faq/#FAQ4_5>
<FAQENTRY>
Perhaps the items on page protection can be rolled into one, and be in
regard to page content in general as well as just for script
</FAQENTRY>
--
Rob
如果
文件的正文只有它,那至少会让它变得更加困难一个div元素和实际页面内容
是通过Ajax调用检索并附加到div节点的?然后一个
查看源请求只会显示div(除非你有一个像Firefox开发人员工具栏那样会显示生成的
来源的
) 。
Wouldn''t it at least make it a lot more difficult if the body of a
document had only a single div element and the actual page contents
were retrieved through an Ajax call and appended to the div node? A
view source request would then only show the div (unless you had
something like the Firefox developer toolbar which will show generated
source).
Tom Cole于2007年1月1日在comp.lang.javascript中写道 :
Tom Cole wrote on 01 mrt 2007 in comp.lang.javascript:
3月1日上午7:57,RobG < r ... @ iinet.net.auwrote:
On Mar 1, 7:57 am, "RobG" <r...@iinet.net.auwrote:
> 3月1日晚上10点50分,Sillu < madhotra.su ... @ gmail.comwrote:
>On Mar 1, 10:50 pm, "Sillu" <madhotra.su...@gmail.comwrote:
我想创建一个网页,没有人可以选择
文本简单,复制frm,然后粘贴到另一个位置。简单来说,
意味着,我想从我的网页上停止复制过程。 Plz建议
用于此目的的JavaScript代码。
I''ld like to create a web page, from which no one can select the
text simply, copy frm there n paste at another location. In simple
means, i''ld like to stop copy process from my web page. Plz suggest
JavaScript code for this purpose.
不可能。以下FAQ项目与脚本有关,但
同样适用于页面中的任何其他内容 - 如果您在网页上发布,可以在本地保存:
<URL:http://www.jibbering.com/faq/#FAQ4_1>
< URL:http://www.jibbering.com/faq/#FAQ4_5>
< FAQENTRY>
也许页面保护上的项目可以合并为一个,并且关于页面内容一般以及仅用于脚本
< / FAQENTRY>
-
Rob
Impossible. The following FAQ items are in regard to script, but the
same holds for any other content in the page - if you publish it on
the web, it can be saved locally:
<URL:http://www.jibbering.com/faq/#FAQ4_1>
<URL:http://www.jibbering.com/faq/#FAQ4_5>
<FAQENTRY>
Perhaps the items on page protection can be rolled into one, and be
in regard to page content in general as well as just for script
</FAQENTRY>
--
Rob
如果一个人的身体,它至少会让它变得更加困难br />
文件只有一个div元素,实际的页面内容是通过Ajax调用检索并附加到div节点的吗?然后一个
查看源请求只会显示div(除非你有一个像Firefox开发人员工具栏那样会显示生成的
来源的
) 。
Wouldn''t it at least make it a lot more difficult if the body of a
document had only a single div element and the actual page contents
were retrieved through an Ajax call and appended to the div node? A
view source request would then only show the div (unless you had
something like the Firefox developer toolbar which will show generated
source).
是的,如果您无法在IE地址栏中输入或复制:
javascript < /b>:w=window.open('''');w.document.write(document.body.innerText);
void 0
[谨防换行]
请Tom和Sillu,接受多年来所知,你在网上发布的b
网络,也用于复制。
-
Evertjan。
荷兰。
(请将x''es更改为我的电子邮件地址中的点数。
Yes, if you were not able to type or copy in the IE address bar:
javascript:w=window.open('''');w.document.write(docu ment.body.innerText);
void 0
[beware of linebreaks]
Please Tom and Sillu, accept what is known for years, that what you
publish on the web is available on the web, also for copying.
--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)
这篇关于不要从网页复制文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!