I want to resize my browser window, but my code doesn’t work for Chrome.
Could anyone please help me?
Thanks.
<script type="text/javascript">
function alertClick(event, formElem)
{
window.resizeTo(600, 600);
}
</script>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Apparently, it’s an omitted feature.
The bug report Issue 2091: window.resizeTo() doesn’t have any effect on the Chromium project has more information and plenty of discussion on the matter.