I am trying to make a popup that is a new browser window, so I can change tabs and still have this popup. I want it to be with a minimal UI (toolbars, menubars, addressbar, etc). I tried something like that:
window.open('test.html', 'popup', 'left=100,top=100,width=320,height=320,popup=1,toolbar=0,scrollbars=0,status=0,location=0')
But it still show the UI. Is there any way to create new window without the UI?
Juan Pablo Isaza
I tested your code and mine with Opera and it didn't change anything. But on Safari and Chrome I managed to get a minimal UI. Here's what I used:
<!DOCTYPE html>
<html>
<body>
<p>Click the button to open a new window with some specifications.</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction() {
window.open("https://www.google.com", "_blank", "toolbar=no, location=no, directories=no,status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes, width=600, height=600");
}
</script>
</body>
</html>