返回列表 回复 发帖

[转帖]让你的打印失效

[html]
<script>
function hp_dp1()
{
for(i=0;i<document.all.length;i++)
{
if(document.all.style.visibility!="hidden")
{
document.all.style.visibility="hidden";
document.all.id="hp_id"
}
}
};
function hp_dp2()
{
for(i=0;i<document.all.length;i++){if(document.all.id=="hp_id")
document.all.style.visibility=""}};
window.onbeforeprint=hp_dp1;
window.onafterprint=hp_dp2;
</script>
你打印不出这些字的哦
[/html]
哈哈哈!!!!你的IP是不是?我都知道了!!!
返回列表