Differences between version 74 and revision by previous author of MozillaNotes.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 74 | Last edited on Thursday, March 23, 2006 2:39:40 pm | by IanMcDonald | Revert |
Older page: | version 68 | Last edited on Saturday, January 28, 2006 12:40:59 am | by AllanBlack | Revert |
@@ -143,40 +143,46 @@
You can enable the flash plugin but not automatically load flash animations by using CSS and XUL.
This can also be used for arbitrary types.
-!Flash plugin click-to-load
+!
!Flash plugin click-to-load
Copy the following into your your <tt>$HOME/.mozilla/firefox/''salt''/chrome/userContent.css</tt> file:
<verbatim>
/* Prevent flash animations from playing until you click on them. */
- object[
[classid$=":D27CDB6E-AE6D-11cf-96B8-444553540000"],
- object[
[codebase*="swflash.cab"],
- object[
[type="application/x-shockwave-flash"],
- embed[
[type="application/x-shockwave-flash"],
+ object[classid$=":D27CDB6E-AE6D-11cf-96B8-444553540000"],
+ object[codebase*="swflash.cab"],
+ object[type="application/x-shockwave-flash"],
+ embed[type="application/x-shockwave-flash"],
embed[src$=".swf"]
- { -moz-binding: url("http://www.cs
.hmc
.edu
/~jruderma
/clickToView.xml#ctv
"); }
+ { -moz-binding: url("http://www.wlug
.org
.nz
/archive/software
/clickToView.xml#flash
"); }
</verbatim>
The file location of the userContent.css will be different for other browsers: try <tt>$HOME/.galeon/mozilla/galeon/chrome</tt> or <tt>$HOME/.mozilla/default/''salt''/chrome/userContent.css</tt>.
-You can copy the clickToView.xml file onto a local webserver as change
the url to point to your version
, if
you don't want
to get it
from his webserver every
time.
+You can copy the [
clickToView.xml | http://www.wlug.org.nz/archive/software/clickToView.xml ]
file into
the "res" subdirectory of the directory where firefox is installed
, and replace the moz-binding with this:
+<verbatim>
+ { -moz-binding: url("resource:///res/clickToView.xml#flash"); }
+</verbatim>
+Then
you do not have
to load the file
from the web all the
time, or rely on this file being available and unmodified. The command "which firefox" can help determine the directory where firefox is installed, and root may be needed to install the xml file. The xml file comments also give directions for installing clickToView, including hints for Windows OS users
.
-Unfortunately
the moz-binding must
be an http [URI];
file:// URIs don't
work due
to the security model
.
+clickToView.xml really should be in
the chrome directory with userContent.css, but this is not yet supported. Eventually, "profile:///chrome" may
be available to replace "resource:///res". And "
file:///" will not
work here. Keeping a copy of clickToView.xml in the chrome directory is a good idea anyway, and you may want
to use a symlink to the xml file in chrome from
the res directory
.
There is also a Firefox extension called ~FlashBlock that does this, although it only works for recent versions of Firefox 1.4 or 1.5.
!! Java plugin click-to-load
You can prevent [Java] applets from loading immediately, requiring a click instead, by copying the following into your <tt>userContent.css</tt>:
<verbatim>
+/* Prevent java applets from playing until you click on them. */
object[codebase*="java"],
object[type="application/java"],
embed[type="application/java"],
applet[code$=".class"]
-{ -moz-binding: url("http://www.cs
.hmc
.edu
/~jruderma
/clickToView.xml#ctv
"); }
+{ -moz-binding: url("http://www.wlug
.org
.nz
/archive/software
/clickToView.xml#java
"); }
</verbatim>
+The flash plugin click-to-load section above describes how to install the [ clickToView.xml | http://www.wlug.org.nz/archive/software/clickToView.xml ] file locally. Directions are also in the clickToView.xml file comments.
!!!Misc Neat Stuff
http://webfx.eae.net/games/minehunter/launcher.html
@@ -269,9 +275,9 @@
None, Down, Alt_L|Right
</verbatim>
Finally, run 'imwheel -b 67' to map buttons 6 and 7 only. See Google or the IMWheel site for more examples.
---PradeepSanders
+--Pradeep Sanders
Another possibility is to remap the mouse buttons using xmodmap. This was actually done under Solaris (Nevada build 30), but I see no reason why it shouldn't also work under Linux (I don't currently have a Linux machine to try it).
I discovered through trial and error (and a little luck) that buttons 6 and 7 were indeed making Mozilla move back and forward through the browsing history (I didn't actually have to do any of the above steps).
@@ -298,9 +304,9 @@
<verbatim>
xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7 10 11"
</verbatim>
--- AllanBlack
+-- Allan Black
!! Type-ahead Find Problems
I was having problems where somehow typeahead find would become enabled whenever I tried to type into the address bar and it was near on impossible to get out of the typeahead find mode. To disable it set
accessibility.typeaheadfind