会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Jie
心若无尘,一花一世界,一鸟一天堂;心若静,已如涅磐,风声物语,皆可成言.
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
JS,CSS 禁止复制,禁止打印,禁止……
Posted on
2008-10-27 11:13
JieNet
阅读(
528
) 评论(
0
)
收藏
举报
Code
<
html
>
<
head
>
<
style
>
@media print
{
body{display
:
none
}
}
</
style
>
<
script
language
="javascript"
type
="text/javascript"
>
<!--
function
MM_reloadPage(init) {
//
reloads the window if Nav4 resized
if
(init
==
true
)
with
(navigator) {
if
((appName
==
"
Netscape
"
)
&&
(parseInt(appVersion)
==
4
)) {
document.MM_pgW
=
innerWidth; document.MM_pgH
=
innerHeight; }}
else
if
(innerWidth
!=
document.MM_pgW
||
innerHeight
!=
document.MM_pgH) location.reload();
}
MM_reloadPage(
true
);
//
-->
</
script
>
</
head
>
<
body
leftmargin
=0
topmargin
=0
oncontextmenu
="return false"
ondragstart
="return false"
onselectstart
="return false"
oncopy
="document.selection.empty()"
onbeforecopy
="return false"
>
<
noscript
><
iframe
src
=*
></
iframe
></
noscript
>
</
body
>
</
html
>
刷新页面
返回顶部
博客园
© 2004-2025
浙公网安备 33010602011771号
浙ICP备2021040463号-3