📄 skill6.htm
字号:
<html>
<head>
<title>自动跳出Frame</title>
<style type="text/css">
<!--
body { font-family: "宋体"; font-size: 9pt; margin-top: 0px; margin-left: 0px; margin-right: 0px}
A { COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: none }
A:hover { COLOR: red; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: underline }
a:active { font: 9pt "宋体"; cursor: hand; color: #FF0033 }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#fef4d9">
<br>
<br>
<center>
<font color=red face="隶书" size=6>自动跳出Frame(说明)</font>
</center>
<br>
<center>
<table border=5 bordercolor=blue borderlight=green>
<tr>
<td align=center width=300 height=50> 有时侯,你的页面会被别人的frame引用,含在别人的frame中(有时一些站点因内容不足,
会将别人的页面当作自己的一个frame,看起来像是自己本身的页面) 。你当然不会高兴, 访问者也觉得看着不方便。 用了这个js,一旦被别人frame了,会自动弹出。你就不用再担心了!
<p>将下代码copy入你网页<body>和</body>中即可。 </p>
<p><SCRIPT LANGUAGE=JAVASCRIPT><br>
<!-- <br>
if (top.location !== self.location) {<br>
top.location=self.location;<br>
}<br>
</SCRIPT></p>
</td>
</tr>
</table></center>
<center>
<SCRIPT LANGUAGE="JavaScript">
<!-- hide
function goHist(a)
{
history.go(a);
}
//-->
</script>
<FORM METHOD="post">
<INPUT TYPE="button" VALUE="返回" onClick="goHist(-1)" style="background-color: #8000FF; color: rgb(255,255,255)">
</form>
</center>
<br>
<br>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -