How to stop Firefox 3.5 from crashing when Youtube and other flash videos are in full screen mode
Right click firefox.sh or run-mozilla.sh pick "Open with Other Application..." from the right click menu.

Choose the "Text editor" program in the Open With window. Press Open.

I also like to note that Mozilla seem to changed the name of "firefox.sh" to "run-mozilla.sh" , so if firefox.sh is not in your firefox folder then edit run-mozilla.sh instead or a file with a .sh extension since there is only one .sh file in the Firefox folder
Add the code shown after this sentence to the second line of firefox.sh by opening firefox.sh with a text editor and going to the second line and pasting this code on the 2nd line.
export LD_PRELOAD=/usr/lib/libGL.so.1
and press save, and you are done
The Code for firefox.sh should look like this:
#!/bin/sh
#
export LD_PRELOAD=/usr/lib/libGL.so.1
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1

