Quantcast

Forums | MacLife

You are not logged in.

#1 2009-01-01 2:47 pm

Jasoco
Your own personal Jesus
From: Doylestown, PA, USA, Earth
Registered: 2000-08-26
Posts: 8848
Website

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.


                         Haikus are easy
          But sometimes they don't make sense
                           Refrigerator

                Jasoco.netGeekPub Forums

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

arkayn
Addicted to TIVO
From: Golden Valley
Registered: 2000-03-02
Posts: 5472
Website

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

Jasoco
Your own personal Jesus
From: Doylestown, PA, USA, Earth
Registered: 2000-08-26
Posts: 8848
Website

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!


                         Haikus are easy
          But sometimes they don't make sense
                           Refrigerator

                Jasoco.netGeekPub Forums

Offline

 

#5 2009-01-02 10:25 pm

arkayn
Addicted to TIVO
From: Golden Valley
Registered: 2000-03-02
Posts: 5472
Website

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

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson