Browser size hijacking

Freshness Warning
This blog post is over 17 years old. It's possible that the information you read below isn't current and the links no longer work.

Anyone know of a Firefox extension (or have a handy greasemonkey script) that will prevent web sites from changing the size of my browser window?

Whether the work of arrogant web designers who apparently know better than me what size my browser should be set to, or designers to lazy and stupid to embrace the medium they’re designing for, these sites that take over aspects of my browsing preferences and change the way I choose to view the web.

I’ve had enough and I’d like a way to stop them.

DarkWulf
March 29, 2006 11:28 PM

Well, unless things have changed, its an actual preference in Firefox for me. (Mind you, I'm using an older version) So... tools->options, then web features, and theres an "advanced" button next to the enable javascript checkbox. In the popup that button spawns theres a list of checkboxes and one of the checkboxes is for "move/resize windows". Uncheck. smile.

Adam Kalsey
March 29, 2006 11:39 PM

Okay, I need to be more specific. Pop-up windows should be allowed to resize. Windows I open should not.

Jemaleddin
March 30, 2006 8:00 AM

Well, javascript windows that are opened at a given size will still work - they just can't change size. I only know of a few sites that are dynamically sizing javascript popups after they load - and I sure wish they'd quit it.

BillSaysThis
March 30, 2006 8:22 AM

The very first option in the Enable JavaScript Advanced dialog on the Content tab of FF 1.5.x Options specifies if JS should be able to resize _existing_ windows. Isn't that what you want?

Clay Loveless
March 30, 2006 3:32 PM

For those using Firefox on Mac OS X, you'd check in Preferences -> Content Next to the Enable JavaScript checkbox, click the Advanced ... button. In the sheet that drops down, uncheck "Allow scripts to Move or resize existing windows"

Chris
April 3, 2006 5:33 PM

try this in the address bar type 'about:config' in the filter type 'resiz' (note no e) try changeing the values of dom.disable_window_move_resize dom.disable_window_open_feature.resizable I dont know if this will help, dont know a page i can test it on.

Nick
April 14, 2006 6:33 AM

Chris was right. Change dom.disablewindowopenfeature.resizable to true

adam
April 24, 2008 10:52 AM

nice!! Changing dom.disablewindowopenfeature.resizable to true worked!!! Great find! Thanks

This discussion has been closed.

Recently Written

The Trap of The Sales-Led Product (Dec 10)
It’s not a winning way to build a product company.
The Hidden Cost of Custom Customer Features (Dec 7)
One-off features will cost you more than you think and make your customers unhappy.
Domain expertise in Product Management (Nov 16)
When you're hiring software product managers, hire for product management skills. Looking for domain experts will reduce the pool of people you can hire and might just be worse for your product.
Strategy Means Saying No (Oct 27)
An oft-overlooked aspect of strategy is to define what you are not doing. There are lots of adjacent problems you can attack. Strategy means defining which ones you will ignore.
Understanding vision, strategy, and execution (Oct 24)
Vision is what you're trying to do. Strategy is broad strokes on how you'll get there. Execution is the tasks you complete to complete the strategy.
How to advance your Product Market Fit KPI (Oct 21)
Finding the gaps in your product that will unlock the next round of growth.
Developer Relations as Developer Success (Oct 19)
Outreach, marketing, and developer evangelism are a part of Developer Relations. But the companies that are most successful with developers spend most of their time on something else.
Developer Experience Principle 6: Easy to Maintain (Oct 17)
Keeping your product Easy to Maintain will improve the lives of your team and your customers. It will help keep your docs up to date. Your SDKs and APIs will be released in sync. Your tooling and overall experience will shine.

Older...

What I'm Reading

Contact

Adam Kalsey

+1 916 600 2497

Resume

Public Key

© 1999-2023 Adam Kalsey.