Forums | MacLife
You are not logged in.
Pages: 1
- Index
- » Programming & Web Dev
- » Firefox: (Or other browsers) Disable ONLY window resizing JavaScripts?
#1 2009-01-01 2:47 pm
Firefox: (Or other browsers) Disable ONLY window resizing JavaScripts?
Ugh. I'm sure I'm not the only one who hates this crap. Some sites, or pages like to be opened in popups which then resizes to a certain size. Not for ads, but for legitimate content.
But in this day and age of browsers with single windows full of tabs, plug-ins that keep all popup windows in the single window, this resizing crap is annoying as hell.
Basically what happens is when the window that thinks it's alone by itself floating in space decides to resize the browser taking all your tabs with it. This gets pretty damn annoying for people like me who have our windows set to a certain size. If I was on Windows, I'd just use Maximize but I'm a Mac user. I WANT MY WINDOW SIZES LEFT ALONE THANK YOU!
Has ANYONE written an add-on or script to cancel out ONLY the JavaScript commands that resize the window?
If not, how could I do it? Can JavaScript intercept itself?
Code:
window.innerWidth window.innerHeight document.body.clientWidth document.body.clientHeight
I'm on FireFox 3.
Offline
#2 2009-01-01 2:52 pm
- Macskeeball
- Member

- Registered: 2002-02-07
- Posts: 8014
- Website
Re: Firefox: (Or other browsers) Disable ONLY window resizing JavaScripts?
I'd be surprised if there's not an option for that in Firefox' preferences. I know Camino has that, and it's generally a less feature-packed browser than Firefox.
tech writer for hire
Offline
#3 2009-01-01 5:36 pm
Re: Firefox: (Or other browsers) Disable ONLY window resizing JavaScripts?
Preferences: Content: Click on Advanced besides Enable Javascript. I have everything unchecked.
iMac C2D, 2.0 GHz, OS X 10.6.2, 2.5 GB Ram.
Offline
#4 2009-01-02 9:22 pm
Re: Firefox: (Or other browsers) Disable ONLY window resizing JavaScripts?
arkayn wrote:
Preferences: Content: Click on Advanced besides Enable Javascript. I have everything unchecked.
Oh thank the lord! Thank you!
Offline
#5 2009-01-02 10:25 pm
Re: Firefox: (Or other browsers) Disable ONLY window resizing JavaScripts?
I think that option has been there for a long time, but most people do no not notice it.
iMac C2D, 2.0 GHz, OS X 10.6.2, 2.5 GB Ram.
Offline
Pages: 1
- Index
- » Programming & Web Dev
- » Firefox: (Or other browsers) Disable ONLY window resizing JavaScripts?
