Home | Mirror | Search

第 10 章 Javascript

目錄

1. 禁止複製與滑鼠右鍵
2. DOMDocument
2.1. createTextNode
3. Microsoft.XMLHTTP
3.1. Get
3.2. POST
4. jQuery
4.1. Ajax
4.1.1. Load
4.2. jsonp
4.3. Garlic.js - 表單數據持久化
5. ActiveWidgets - WebUI
6. 所見即所得現在編輯工具
6.1. FCKeditor
6.2. NicEdit
6.3. TinyMCE
6.4. WYSIWYG
7. Highslide
8. JavaScript 代碼混淆
8.1. JavaScript Packer
9. phantomjs - headless WebKit with JavaScript API
10. Javascript MVC Frameworks
10.1. example

1. 禁止複製與滑鼠右鍵


<script language="JavaScript" type="text/javascript">
document.oncontextmenu=new Function("event.returnValue=false;");
document.onselectstart=new Function("event.returnValue=false;");
</script>

		
comments powered by Disqus