Penguin

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

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

Newer page: version 78 Last edited on Tuesday, April 18, 2006 7:27:23 am by SteveZobell Revert
Older page: version 74 Last edited on Thursday, March 23, 2006 2:39:40 pm by IanMcDonald Revert
@@ -4,9 +4,9 @@
 Both Mozilla browsers support address bar shortcuts. They currently only support one substitution, but it works pretty well for most applications. 
  
 To create a shortcut, save a bookmark to the site you wish to have a shortcut to, then edit it and put a <tt>%s</tt> where the query would go and put a name for the shortcut in the shortcut field of its properties. F.ex, a shortcut for the WlugWiki might look like <tt>http://www.wlug.org.nz/%s</tt> and be invoked with the name <tt>wlug</tt>. Then you could enter "<tt>wiki MozillaNotes</tt>" in your address bar to get to this page. 
  
-!! Search plugins 
+ !! Search plugins 
  
 [Mozilla] supports the use of plugins that integrate new sites into the browser's search box. F.ex, the following file will let you perform a TitleSearch on the WlugWiki: 
  
  <verbatim> 
@@ -139,13 +139,13 @@
 Now I can control how my pdf files open, instead of being forced into that horrible acroread browser plugin... 
  
 !!Using user css to hide/disable plugin content 
  
-You can enable the flash plugin but not automatically load flash animations by using CSS and XUL. 
+You can enable the Flash and Java plugins but not automatically load flash animations or Java programs by using CSS and XUL. 
 This can also be used for arbitrary types. 
  
  
-!!Flash plugin click-to-load 
+!!Flash and Java 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. */ 
@@ -153,36 +153,29 @@
  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"); }  
+  
+ /* 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("resource: ///res /clickToView.xml#java "); } 
 </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. 
  
-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> :  
-  
+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> 
-/* 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.wlug.org.nz/archive/software/clickToView.xml#java "); } 
+ { -moz-binding: url("http://www.wlug.org.nz/archive/software/clickToView.xml#flash "); } 
 </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
+There is also a Firefox extension called ~FlashBlock to block Flash, although it only works for recent versions of Firefox 1 .4 or 1 .5
  
 !!!Misc Neat Stuff 
 http://webfx.eae.net/games/minehunter/launcher.html 
  
@@ -317,8 +310,10 @@
 !! Thunderbird hangs while accessing IMAP folders from Courier-IMAP server 
 I had to set MAXPERIP=5 in /etc/courier/imapd (on a Debian 3.0 server). Otherwise Courier-IMAP defaults to allow only 4 connections per IMAP client and that causes Thunderbird (and Netscape Messenger, IIRC) to stop responding. -- ~FrEd 
 -- This is actually configured within the mail client (Thunderbird, Netscape Messenger, Mozilla Mail, etc). Go to the Account Settings, then Server Settings, press the 'Advanced' button, and there is field for 'Maximum number of server connections to cache', which is set to 5 by default. -- DanielLawson 
  
+!! Slow File Picker  
+Firefox 1.5 comes with a GTK2 file picker that is very slow. You may see a large delay when starting a download or using "Save Image As" or "Save Link As". The delay increases if there are many files in the target directory, and KDE users may see more delay than GNOME users. Until this is fixed, you can recover the old file picker using the instructions [ here | http://forums.mozillazine.org/viewtopic.php?p=1783468&sid=25b198251a20b570b199705272dbc3a0#1783468 ]  
  
 !!! See also 
  
 * [More ad blocking | http://www.deftone.com/blogzilla/archives/ad_blocking.html]