How to disable flash plugin firefox on linux
Ohh! This flash ads just making me crazy! Need to turn of this fucking Flash Player!
Install some plugin - not a best solution, beacuse plugins contain lots of bugs that can be used by sploits - it's very dangerous on Linux too.
So i have ubuntu 8.04 Hardy, and this artcile about how to disable flash plugin firefox 2 and disable flash plugin firefox 3.
disable flash Firefox 3
Open file /var/lib/dpkg/alternatives/xulrunner-addons-flashplugin (it containt list of extensions that used for play flash).
It's looking like:
auto
/usr/lib/xulrunner-addons/plugins/flashplugin-alternative.so
/usr/lib/flashplugin-nonfree/libflashplayer.so
50
/usr/lib/adobe-flashplugin/libflashplayer.so
50
The next step - rename it to something other (if you need to see flash againe - you can do reverse operation)
root@xxx:/# mv /usr/lib/xulrunner-addons/plugins/flashplugin-alternative.so /usr/lib/xulrunner-addons/plugins/flashplugin-alternative.so.suxx
root@xxx:/# mv /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/flashplugin-nonfree/libflashplayer.so.suxx
root@xxx:/# mv /usr/lib/adobe-flashplugin/libflashplayer.so /usr/lib/adobe-flashplugin/libflashplayer.so.suxx
This operation must be created under root user. So restart firefox and say bye-bye stupid flash.
On debian this operation looking like here, but there are different dirs
disable flash Firefox 2
Open dir /usr/lib/firefox
root@xxx# find /usr/lib/firefox * | grep "flash"
/usr/lib/firefox/flashplugin-alternative.so
/usr/lib/firefox/flashplugin-alternative.s
root@xxx# mv /usr/lib/firefox/flashplugin-alternative.so /usr/lib/firefox/flashplugin-alternative.so.suxx
root@xxx# mv /usr/lib/firefox/flashplugin-alternative.s /usr/lib/firefox/flashplugin-alternative.s.suxx
This operation must be created under root user. Now you can restart firefox and forget about flash.
On debian this operation looking like here, but there are different dirs
Good like! :).