笨笨網站超級論壇 (綠色版本)


頁: [1]

#1  懲罰式防偷圖語法 -  (Administrator) 發表於 27-7-2013 09:05

<P><FONT color=blue>當有人使用右鍵檢視圖片內容或原始檔,就會連續出現幾個對話視窗提出警告語句</FONT></P>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue>alert("請勿檢視原始檔";   &lt;&lt;&lt; 警告語句,可隨意更改內容,字句亦可全句加入或刪除即可</FONT></P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#0000ff size=3>如不能顯示語法效果可貼去本站</FONT><A href="http://www.bunbun000.com/html/index.htm" target=_blank><FONT color=red size=3>語法測試板</FONT></A><FONT color=#0000ff size=3>試看</FONT></P>
<P><FONT color=#0000ff size=3></FONT> </P>
<P><FONT color=#0000ff size=3>(貼上語法後指著測試板 right click 即可見效果)</FONT></P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple>&lt;script language="JavaScript"&gt; <BR>&lt;!--<BR>function right(e) { <BR>if (navigator.appName =='Netscape'&& <BR>(e.which ==3|| e.which ==2)) <BR>return false; <BR>else if (navigator.appName == 'Microsoft Internet Explorer' && <BR>(event.button == 2|| event.button ==3)) { <BR>alert("此網頁為本站所有";alert("此圖亦為本站所有";alert("請勿檢視原始檔";alert("多謝合作!";alert("再見!!");<BR>return false; <BR>} <BR>return true; <BR>} <BR>document.onmousedown=right; <BR>if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; <BR>--&gt; <BR>&lt;/script&gt;</FONT></P>

#2  複製上列語法 -  (Administrator) 發表於 27-7-2013 09:08

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<script language="JavaScript">
<!--
function right(e) {
if (navigator.appName =='Netscape'&&
(e.which ==3|| e.which ==2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2|| event.button ==3)) {
alert("此網頁為本站所有";alert("此圖亦為本站所有";alert("請勿檢視原始檔";alert("多謝合作!";alert("再見!!";
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right;
-->
</script>
</textarea><br>
<input onclick="javascript:this.form.txt.focus();this.form.txt.select();" type="button" value="全選">
</form>

<br>

<script type="text/javascript"><!--
google_ad_client = "ca-pub-4078143172638881";
/* 336X280 */
google_ad_slot = "3268225205";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
頁: [1]

Powered by Discuz Simply! 0.54 Released © wxyuan90