阻止IE用户复制或查看复制工具栏? [英] Prevent IE users from copying or seeing copy toolbar?

查看:61
本文介绍了阻止IE用户复制或查看复制工具栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当IE用户将光标放在我网站的照片上时,如何阻止保存/打印/电子邮件/ mypictures工具栏弹出

?谢谢你在

提前寻求帮助。

签名,


解决方案
"我" <匿名@_ COM>。写道:

当IE用户将光标放在我网站的照片上时,如何防止保存/打印/电子邮件/ mypictures工具栏弹出?感谢您提前帮助。




假设您使用PHP(如果没有,翻译成另一种语言),请放置

这位于页面顶部。


<?php

if(ereg(" IE",


_SERVER [''USER_AGENT''])){

退出;

}

?>


不是100%可靠,但它会阻止绝大多数IE用户

复制你的图像。


不可否认,它也有停止IE用户的副作用

*看到你的图像,但这是你支付的价格。


其他方法包括:

- 进入IE用户的房子并窃取他们所有的PrintScrn

键。最好闯进他们的办公室,以防万一。

- 首先不要把图像放在网上。

- 得到一个非常大的版权律师


小组常见问题解答为您提供了更多提示。


-

Chris

"我" <匿名@_ COM>。写道:

当IE用户将光标放在我网站的照片上时,如何防止保存/打印/电子邮件/ mypictures工具栏弹出? T




如果他们的浏览器的部分标准功能被关闭而没有任何警告,您的用户可能会感到恼火。如果他们不想使用它们,他们总是可以自行禁用该功能。


但如果你已经检查过所有用户和他们确实希望你

在你的网站上为他们关闭这个功能然后看看
http://www.microsoft.com/windows/ie/...mgtoolbar.mspx

HTML解决方案页面的底部 - 请注意,元标记是

技术上有效(但是因为没有HTTP标头图像工具栏因此而感到虚伪

这是一个相当于,但除非你使用自定义DTD,否则galleryimg属性是

无效。


史蒂夫


- -

我的理论给你起见,我的异端邪说你愤怒,

我从不回信,你不喜欢我的领带。 - 医生


Steve Pugh< st *** @ pugh.net>< http://史蒂夫.pugh.net />


How do I prevent the save/print/email/mypictures toolbar from popping up
when IE users place their cursor over photos at my website? Thank you in
advance for your help.
Signed,
me

解决方案

"me" <anonymous@_.com> writes:

How do I prevent the save/print/email/mypictures toolbar from popping up
when IE users place their cursor over photos at my website? Thank you in
advance for your help.



Assuming you use PHP (if not, translate to another language), place
this at the top of your page.

<?php
if (ereg("IE",


_SERVER[''USER_AGENT''])) {
exit;
}
?>

Not 100% reliable, but it will stop the vast majority of IE users
copying your images.

Admittedly, it also has the side effect of stopping IE users from
*seeing* your image, but that''s the price you pay.

Other approaches include:
- going into IE users'' houses and stealing all their PrintScrn
keys. Best break into their offices as well, just in case.
- not putting the image on the web in the first place.
- getting a really big copyright lawyer

The group FAQ has some more hints for you.

--
Chris


"me" <anonymous@_.com> wrote:

How do I prevent the save/print/email/mypictures toolbar from popping up
when IE users place their cursor over photos at my website? T



Your users may be annoyed if part of the standard functionality of
their browser was switched off with no warning. They can always
disable the feature themselves if they don''t want to use it.

But if you''ve checked with all your users and they do want you to
switch this function off for them on your site then have a look at
http://www.microsoft.com/windows/ie/...mgtoolbar.mspx
bottom of the page for HTML solutions - note that the meta tag is
technically valid (but bogus as there is no HTTP header imagetoolbar
for this to be an equivalent of, but the galleryimg attribute is
invalid unless you use a custom DTD.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don''t like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>


这篇关于阻止IE用户复制或查看复制工具栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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