• Quick note - the problem with Youtube videos not embedding on the forum appears to have been fixed, thanks to ZiprHead. If you do still see problems let me know.

Can Firefox be made to ignore some source code?

Prometheus

Acolyte of Víðarr
Joined
Nov 14, 2007
Messages
50,595
Specifically, my job requires me to use a web page that includes iframes which have had the "scrolling=no" attribute set, but I want these frames to scroll anyway when I'm viewing the page. Is there some way to get Firefox (v3.6, WinXP)--or any other browser--to ignore that attribute setting when displaying a page?

Thanks to anyone with an answer!
 
I haven't got the facilities to try it out, but couldn't you place a table inside the frame that could scroll? Seems to me you could nest something in the window that itself had scrolling.
 
I haven't got the facilities to try it out, but couldn't you place a table inside the frame that could scroll? Seems to me you could nest something in the window that itself had scrolling.

I'm not building the page myself, I'm viewing it live. The frames I want to scroll display fine in full screen, but I often have multiple windows tiled on my desktop, and I want to be able to see everything in these frames without having to maximize the window.
 
A couple of ways to do this. Essentially what you want is to inject a Jscript into the html that activates scrolling before it is rendered by the browser.

One way to do that is with a custom script managed by GreaseMonkey.

Another is to set up a local master css style sheet that enables scrolling in all frames.

There might be a preference that over-rides scroll-bar and tool-bar suppression, but unfortunately I'm a bit pressed for time right now to verify which versions of FF, if any, have that. IIRC, settings like that are accessible via the about:config URI.

Sorry I can't be more detailed right now. I hope this sets you or some one with a little more time in the right direction.
 
Firefox has a plug-in called 'no script'. It disables unwanted scripts and though I haven't looked deep into it, I think it is very customisable as to which scripts it blocks.

http://noscript.net

It might help. I use it to stop redirects and malicious scripts (click jacking etc)
 
Please try this:

In the location text field type "about:config";
Press <enter>;
In the filter text field type "scroll";

Click on the entry corresponding to the one highlighted in the image below; the value should read "true";

about--config|scroll.png


Close the window and test the desired links;

Let us know if that works.
 
Thanks for the suggestions; I'll try 'em out at work tomorrow, if I get a chance--though, as it turns out the point may be moot. Just after I posted this thread I found out that that everything I work with is being upgraded next month--Windows 7, new web interfaces, new database back end etc., and they want me to start using only IE 8 as my browser. Bah! Anyway, thanks again! :)
 
and they want me to start using only IE 8 as my browser.

The Horror :eek:

My condolences.

[ot]
Lest this last comment be misconscrewed as a kneejerk reaction against all things Microsoft, allow me to say that this is emphatically not the case.

There are a great many things that MS has produced that excellently address the needs of an enterprise, arguably better than any other.

IE 8 is not one of them.

One can only hope that when productivity tanks after IE 8 is demonstrated to be unable to cope with emerging public standards -- most notably HTML5 (although a MS-peculiar "innovation" is sure to follow ;) ) -- the Real Systems Analysts™ will flag and flagellate it mercilessly.
[/ot]
 
What do you think of Windows 7?

"Mostly harmless" would be the easiest quip.

Yet Windows 7 is a significant upgrade with significant advantages; and with significant perils when translating modus operandi from earlier iterations of Windows.

If you've got the iron [the hardware to support it], then it is a no-brainer: Go for it! The days of a 640kB system software partition are long ago and far away ;)

If it runs the application programs that you need to run, and interacts well with the peripheral hardware that you have to hand, then use it well.
 

Back
Top Bottom