<a href="../asdocs/html_tutorials/humor01.html" target="_blank">一则笑话</a> 在新窗口中打开网页
<head><style>a{TEXT-DECORATION:none}</style> <!-- 放在头文件中去掉超链接的下划线 --></head>
<center><a href="javascript:history.back(1)">返回上一页</a></center>
<a href="<a href="javascript :history.back(-1)">返回上一页</a>
或<a href="javascript :;" onClick="javascript :history.back(-1);">返回上一页</a>
如果是用按钮做的话就是:<input type="button" name="Submit" onclick="javascript:history.back(-1);" value="返回上一页">
用图片做的话就是:<a href="javascript :;" onClick="javascript :history.back(-1);"><img src="图片路径" border="0" title="返回上一页"></a>
<a href="javascript:window.close()">关闭窗口</a>
 (不换行空格)
显示网页星号javascript:!function(){for(var t=document.getElementsByTagName("input"),e=0;e<t.length;e++)"password"===t[e].getAttribute("type")&&t[e].setAttribute("type","text")}();
解锁右键复制限制javascript:!function(){function t(e){e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation()}document.querySelectorAll("*").forEach(e=>{"none"===window.getComputedStyle(e,null).getPropertyValue("user-select")&&e.style.setProperty("user-select","text","important")}),["copy","cut","contextmenu","selectstart","mousedown","mouseup","mousemove","keydown","keypress","keyup"].forEach(function(e){document.documentElement.addEventListener(e,t,{capture:!0})}),alert("%E8%A7%A3%E9%99%A4%E9%99%90%E5%88%B6%E6%88%90%E5%8A%9F%E5%95%A6%EF%BC%81")}();
网友评论