超级简单的图片防盗(HTML),好用
时间:2021-09-10 10:13:46|栏目:JavaScript代码|点击: 次
<style type="text/css">
* html img {
filter:expression(
this.不能去掉 ? "" :
(
(!this.complete) ? "" :
this.runtimeStyle.filter = ("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "')") +
String(this.不能去掉 = true).substr(0, 0) +
(this.src = "http://www.sxpcrazy.com/blog/clear.gif").substr(0, 0)
)
);
}
</style>
<img src="https://www.jb51.net/logos.gif">
* html img {
filter:expression(
this.不能去掉 ? "" :
(
(!this.complete) ? "" :
this.runtimeStyle.filter = ("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "')") +
String(this.不能去掉 = true).substr(0, 0) +
(this.src = "http://www.sxpcrazy.com/blog/clear.gif").substr(0, 0)
)
);
}
</style>
<img src="https://www.jb51.net/logos.gif">