怎么样通过javascript实现加载页面全屏以及禁用鼠标右键和选取功能?
怎么样通过javascript实现加载页面全屏以及禁用鼠标右键和选取功能?
<SCRIPT langauge='javasript'>
<!--
document.oncontextmenu=new Function('event.returnValue=false;'); //Right key function of mouse is forbidden.
document.onselectstart=new Function('event.returnValue=false;'); //function of selection is forbidden.
-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!-- //Begin
if (this.name !='fullscreen'){
window.open(location.href,'fullscreen','fullscreen,scrollbars')
window.close(parent);
}
// End -->
</script>