Adding FlashBlock to Epiphany
We'll assume Epiphany is installed in /usr; otherwise adjust all paths accordingly.
1. Start Epiphany, and choose Help, About. Check that the version number is greater than 1.9.7, and check that the "Using backend "gecko-X.Y"" line says "gecko-1.8" or "gecko-1.9". If those two conditions are not met, this installation procedure will not work.
2. Download the firefox flash block extension from here (direct link) by right-clicking and choosing "Save" (note that you cannot left-click the link to the .xpi file)
3. Open the downloaded .xpi file with file-roller and extract the flashblock.jar file from the chrome directory
4. Copy flashblock.jar into /usr/share/epiphany/chrome
5. Create /usr/share/epiphany/chrome/flashblock.manifest with the following content:
content flashblock jar:file:///usr/share/epiphany/chrome/flashblock.jar!/content/flashblock/
Note: in Ubuntu and Debian, replace /usr/share/epiphany/chrome/ for /usr/share/epiphany-browser/chrome/ in steps 3 and 4 (both installation path and the path inside the content).
Further Note: In Ubuntu Hardy (maybe latest Debian unstable as well), replace /usr/share/epiphany/chrome/ for /usr/lib/xulrunner-1.9b3/chrome/, instead
6. In Epiphany, choose Edit, Preferences, Fonts & Style, and check the "Use custom stylesheet" box
7. Click "Edit Stylesheet..." (or edit ~/.gnome2/epiphany/user-stylesheet.css and put the following content into the stylesheet:
@import url(chrome://flashblock/content/flashblock.css);
then save the file and close the editor.
8. In Epiphany, test the flash blocker by going to a flash test page
