Firefox, enable OpenGL and remove whitebar

Firefox does not enable OpenGL by default

How to enable OpenGL for firefox

  1. Open Firefox
  2. Write about:config to open configuration
    • enable WebGL
      set webgl.force-enabled to true .
    • To enable Layers Acceleration,
      set layers.acceleration.force-enabled to true
    • Not for Rock but good to know for windolls users, to enable Direct2D in Windows Vista/7
      set gfx.direct2d.force-enabled to true

How to remove White bar on top in fullscreen on youtube

First I though it is due OpenGL settings, then that it is because of firefox settings, now I know, it is because of google/youtube scripts.

Accept/Deny google/youtube poputs on top like privacy, then white bar will disappear after reloading/restaring firefox

1 Like