Try this to open maximized and deleted settings, to block users from messing with your internal site. You can play with restrictions according to your requirements.
function openFullscreen(url) { // get the height correction for IE and set the window height and width var height = screen.availHeight; var width = screen.availWidth; var fullscreen = (document.all) ? "no" : "yes"; var resizable = "no"; var toolbar = "no"; var status = "no"; var left = 0; var top = 0; //set window properties props = "toolbar=no" + ",fullscreen=" + fullscreen + ",status=no" + ",resizable=no" + ",scrollbars=no" + ",menubar=no" + ",location=no" + ","; dims = "width="+ width + ",height="+ height + ",left="+ left + ",top=" + top; var win = window.open("", name, props + dims); win.resizeTo(width, height); win.location.href = url; win.focus(); }
Madmurf
source share