window | Techerator https://techerator.com Techerator is an excellent source of tips, guides, and reviews about software, web apps, technology, mobile phones, and computers. Wed, 04 Aug 2010 05:42:12 +0000 en-US hourly 1 https://wordpress.org/?v=7.0.2 7158109 Firefox Tip: How to Prevent JavaScript Code from Resizing Your Browser Window https://techerator.com/2010/08/firefox-tip-how-to-prevent-javascript-code-from-resizing-your-browser-window/?utm_source=rss&utm_medium=rss&utm_campaign=firefox-tip-how-to-prevent-javascript-code-from-resizing-your-browser-window https://techerator.com/2010/08/firefox-tip-how-to-prevent-javascript-code-from-resizing-your-browser-window/#respond Wed, 04 Aug 2010 14:45:29 +0000 http://44.229.110.106/?p=8016 Have you ever been browsing the internet, opened a new link, and suddenly had your entire browser window change size?  This is a trick that web developers can easily do with JavaScript (and was heavily used in the “older” days of the internet) but has become a nuisance in modern times.  If I’ve got a pile of […]

The post Firefox Tip: How to Prevent JavaScript Code from Resizing Your Browser Window first appeared on Techerator.

]]>
Have you ever been browsing the internet, opened a new link, and suddenly had your entire browser window change size?  This is a trick that web developers can easily do with JavaScript (and was heavily used in the “older” days of the internet) but has become a nuisance in modern times.  If I’ve got a pile of tabs open, I don’t like my newly-opened tab kicking my browser to 680×480 just because an antique webpage was built to that resolution.

If you’re using Firefox, there is a very simple way to prevent websites from resizing your browser window without disabling JavaScript altogether.  Sure, disabling JavaScript is the kill-all solution (and would be more secure for your browser), but there are way too many legitimate uses for JavaScript for me to suggest doing that.

Disabling JavaScript’s Ability to Resize Your Browser Window in Firefox

Note: In this guide, I’ll be using Firefox version 3.6.8.  Details in this procedure may vary according to your version.

Step 1: In Firefox, click Tools then select Options.

Step 2: Click the Content tab, then click the Advanced… button to the right of Enable JavaScript.

Step 3: Uncheck the box that says “Move or resize existing windows“.

That’s it!  Those pesky websites won’t be able to resize your browser window anymore.  Make sure to check out the rest of our articles about Firefox!

Image credit: Mixy Lorenzo (seriously, how good does that cupcake look?)

The post Firefox Tip: How to Prevent JavaScript Code from Resizing Your Browser Window first appeared on Techerator.

]]>
https://techerator.com/2010/08/firefox-tip-how-to-prevent-javascript-code-from-resizing-your-browser-window/feed/ 0 8016