window.resizeTo( width, height );
The problem you may face is modern day browsers can prevent you in the settings to not be able to resize the window. There is no way around that.
Chrome will not allow it. Won’t Fix Bug
IE is based on security zones
More Related Contents:
- What is JavaScript’s highest integer value that a number can go to without losing precision?
- What are the current cookie limits in modern browsers?
- How to know whether refresh button or browser back button is clicked in Firefox [duplicate]
- Setting minimum size limit for a window minimization of browser?
- How can I know whether refresh button or browser back button is clicked in Firefox? [duplicate]
- 5 stars and the golden 5 stars are not together (When browsing with Internet explorer)
- How can I tell if a DOM element is visible in the current viewport?
- Difference between DOMContentLoaded and load events
- Browser detection versus feature detection
- How to build PDF file from binary string returned from a web-service using javascript
- How to compress an image via Javascript in the browser?
- Show datalist labels but submit the actual value
- Jquery load() only working in firefox?
- How do I get the (x, y) pixel coordinates of the caret in text boxes?
- get client time zone from browser [duplicate]
- Can I pass a JavaScript variable to another browser window?
- Cross-browser bookmark/add to favorites JavaScript [duplicate]
- How to detect timeout on an AJAX (XmlHttpRequest) call in the browser?
- Detecting if a browser is in full screen mode
- Enter key press behaves like a Tab in Javascript
- How can I make event.srcElement work in Firefox and what does it mean?
- Target=’_blank’ to show in new window, NOT new tab, possible?
- What happens to code after a javascript redirect (setting window.location.href)?
- How to find Javascript syntax errors? [closed]
- Inserting text at cursor in a textarea, with Javascript
- Detecting an image 404 in Javascript
- Open Gmail on mailto: action
- Trigger events when the window is scrolled to certain positions
- postMessage still broken on IE11?
- Could a website force the browser to go into fullscreen mode?