Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a problem on my laptop when I try to view videos on Facebook. Whenever I click on a video to start it, iframe expands but not enough to cater the video and scroll bars appear.

There is a way to fix it by changing HTML i.e. by adding scrolling="no" to the iframe element. I tried it with FireBug and it works great, the problem is, of course, the fact that it isn't permanent. That's why I tried a Stylish addon for Firefox but I believe it can only change CSS of a page.

Is there any other addon that can automatically add a scrolling parameter to every iframe on facebook page?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

This is indeed possible with CSS using Stylish or userChrome.css. Apply the following to the element that has scroll bars:

overflow: hidden !important;
share|improve this answer
    
I could swear I tried adding that with Stylish and it didn't work then. Indeed it works now! Just added iframe{overflow: hidden !important;} for Facebook page. –  John Doe Feb 7 '12 at 20:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.