Penguin

Differences between version 77 and revision by previous author of MozillaNotes.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 77 Last edited on Tuesday, March 28, 2006 4:20:02 am by SteveZobell Revert
Older page: version 74 Last edited on Thursday, March 23, 2006 2:39:40 pm by IanMcDonald Revert
@@ -153,19 +153,20 @@
  object[codebase*="swflash.cab"], 
  object[type="application/x-shockwave-flash"], 
  embed[type="application/x-shockwave-flash"], 
  embed[src$=".swf"] 
- { -moz-binding: url("http ://www.wlug.org.nz /archive/software /clickToView.xml#flash"); } 
+ { -moz-binding: url("resource :///res /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 | 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. 
+Next, 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. 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. 
  
 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. 
+  
+It is possible to load the clickToView.xml from the web instead of installing a local copy, but this can be slow and the xml file may not always be available or may be modified without your knowing. Use a local xml file if you can, but if necessary the file can be loaded from the web by replacing the moz-binding line with this:  
+<verbatim>  
+ { -moz-binding: url("http://www.wlug.org.nz/archive/software/clickToView.xml#flash"); }  
+</verbatim>  
  
 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 
@@ -177,12 +178,12 @@
 object[codebase*="java"], 
 object[type="application/java"], 
 embed[type="application/java"], 
 applet[code$=".class"] 
-{ -moz-binding: url("http ://www.wlug.org.nz /archive/software /clickToView.xml#java"); } 
+{ -moz-binding: url("resource :///res /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. 
+As with the flash blocker above, [ clickToView.xml | http://www.wlug.org.nz/archive/software/clickToView.xml ] must be installed locally in the res subdirectory of the directory where Firefox is installed . Directions are also in the clickToView.xml file comments. 
  
 !!!Misc Neat Stuff 
 http://webfx.eae.net/games/minehunter/launcher.html