File:  [mozdev] / hon / www / installation.html
Revision 1.133: download - view: text, annotated - select for diffs - revision graph
Tue Nov 9 09:45:05 2004 UTC (15 years, 2 months ago) by traguin
Branches: MAIN
CVS tags: HEAD
Firefox 1.0 compatibility

<?php
  // Taken and adapted from themes.mozdev.org
  function worksWith($worx, $nobr = 1, $sq = 0)
  {
  
    $worxArray = explode(':', $worx);
  
    $rhett = ''; // <img alt="" class="" src="" title="" />
  
    for($i=0; $worxArray[$i] != ''; $i++)
    {
      switch($worxArray[$i])
      {
        case 'm10':  $rhett_alt = 'Mozilla 1.0.x';
                     $rhett_src = 'images/moz10.png';
                     break;
  
        case 'm11':  $rhett_alt = 'Mozilla 1.1.x/1.2a';
                     $rhett_src = 'images/moz11.png';
                     break;
  
        case 'n7':   $rhett_alt = 'Netscape 7.0';
                     $rhett_src = 'images/n7.png';
                     break;
  
        case 'n701':   $rhett_alt = 'Netscape 7.01/7.02';
                     $rhett_src = 'images/n701.png';
                     break;
  
        case 'n71':   $rhett_alt = 'Netscape 7.1';
                     $rhett_src = 'images/n71.png';
                     break;
  
        case 'm12':  $rhett_alt = 'Mozilla 1.2.x';
                     $rhett_src = 'images/moz12.png';
                     break;
  
        case 'm13':  $rhett_alt = 'Mozilla 1.3.x';
                     $rhett_src = 'images/moz13.png';
                     break;
  
        case 'm14':  $rhett_alt = 'Mozilla 1.4';
                     $rhett_src = 'images/moz14.png';
                     break;
  
        case 'm15':  $rhett_alt = 'Mozilla 1.5';
                     $rhett_src = 'images/moz15.png';
                     break;
  
        case 'm16':  $rhett_alt = 'Mozilla 1.6';
                     $rhett_src = 'images/moz16.png';
                     break;
  
        case 'trunk':  $rhett_alt = 'Mozilla 1.7 (nightlies)';
                     $rhett_src = 'images/trunk.png';
                     break;
  
        case 'px':  $rhett_alt = 'Mozilla Firebird 0.6/0.6.1/0.7';
                     $rhett_src = 'images/px.png';
                     break;
  
        case 'ff8':  $rhett_alt = 'Mozilla Firefox 0.8/0.9.x/1.0';
                     $rhett_src = 'images/ff8.png';
                     break;
  
        case 'fbtrunk': $rhett_alt = 'Mozilla Firebird (nightlies)';
                        $rhett_src = 'images/fbtrunk.png';
                        break;
  		   
        default: $rhett_alt = $worx;
  
      }
  
      $rhett .= '<img style="vertical-align: middle;" alt="' . $rhett_alt . '" src="';
      $rhett .= $rhett_src . '" ';
      
      if( $nobr == 0 ): $rhett .= 'style="margin-top: 2px;" '; endif;
  
      $rhett .= 'title="' . $rhett_alt . '" />';
  
      if( $sq == 1 )
      {
        if( $nobr == 0 && $i%2 != 0 )
          $rhett .= '<br />';
      }
      elseif( $nobr == 0 )
      {
        $rhett .= '<br />';
      }
      
      if ( $rhett_alt == $worx )
      {
        $rhett = $worx;
      }
    }
  
    return $rhett;
  
  }
  
  function which()
  {
  
     if ( ereg('Gecko', $_SERVER["HTTP_USER_AGENT"]) )
     {
       if ( ereg( 'rv:1.0', $_SERVER["HTTP_USER_AGENT"] ) && !ereg( 'Netscape/7', $_SERVER["HTTP_USER_AGENT"] ) )
       {
         return 'm10';
       }
       elseif ( ereg( 'rv:1.1', $_SERVER["HTTP_USER_AGENT"] ) || ereg( 'rv:1.2a', $_SERVER["HTTP_USER_AGENT"] ) )
       {
         return 'm11';
       }
       elseif ( ereg( 'Netscape/7.1', $_SERVER["HTTP_USER_AGENT"] ) )
       {
         return 'n71';
       }
       elseif ( ereg( 'Netscape/7.0+[1|2]', $_SERVER["HTTP_USER_AGENT"] ) )
       {
         return 'n701';
       }
       elseif ( ereg( 'Netscape/7', $_SERVER["HTTP_USER_AGENT"] ) )
       {
         return 'n7';
       }
       elseif ( ereg( 'rv:1.2+[^a]', $_SERVER["HTTP_USER_AGENT"] ) &&
                !ereg( 'Phoenix', $_SERVER["HTTP_USER_AGENT"] ) &&
                !ereg( 'Firebird', $_SERVER["HTTP_USER_AGENT"] ) )
       {
         return 'm12';
       }
       elseif ( ereg( 'rv:1.3', $_SERVER["HTTP_USER_AGENT"] ) &&
                !ereg( 'Phoenix', $_SERVER["HTTP_USER_AGENT"] ) &&
                !ereg( 'Firebird', $_SERVER["HTTP_USER_AGENT"] ) )
       {
         return 'm13';
       }
       elseif ( ereg( 'rv:1.4', $_SERVER["HTTP_USER_AGENT"] ) &&
                !ereg( 'Netscape', $_SERVER["HTTP_USER_AGENT"] ) &&
                !ereg( 'Phoenix', $_SERVER["HTTP_USER_AGENT"] ) &&
                !ereg( 'Firebird', $_SERVER["HTTP_USER_AGENT"] ) )
       {
         return 'm14';
       }
       elseif (( ereg( 'rv:1.5+[ab]?', $_SERVER["HTTP_USER_AGENT"] ) &&
                 !ereg( 'Phoenix', $_SERVER["HTTP_USER_AGENT"] ) &&
                 !ereg( 'Firebird', $_SERVER["HTTP_USER_AGENT"] ) )
               ||
               ( ereg( 'rv:1.5', $_SERVER["HTTP_USER_AGENT"] ) &&
                 !ereg( 'Phoenix', $_SERVER["HTTP_USER_AGENT"] ) &&
                 !ereg( 'Firebird', $_SERVER["HTTP_USER_AGENT"] ) ))
       {
         return 'm15';
       }
       elseif (( ereg( 'rv:1.6+[ab]?', $_SERVER["HTTP_USER_AGENT"] ) &&
                 !ereg( 'Phoenix', $_SERVER["HTTP_USER_AGENT"] ) &&
                 !ereg( 'Firefox', $_SERVER["HTTP_USER_AGENT"] ) &&
                 !ereg( 'Firebird', $_SERVER["HTTP_USER_AGENT"] ) )
               ||
               ( ereg( 'rv:1.6', $_SERVER["HTTP_USER_AGENT"] ) &&
                 !ereg( 'Phoenix', $_SERVER["HTTP_USER_AGENT"] ) &&
                 !ereg( 'Firefox', $_SERVER["HTTP_USER_AGENT"] ) &&
                 !ereg( 'Firebird', $_SERVER["HTTP_USER_AGENT"] ) ))
       {
         return 'm16';
       }
       elseif ( ereg( 'rv:1.7+[ab]?', $_SERVER["HTTP_USER_AGENT"] ) &&
                !ereg( 'Phoenix', $_SERVER["HTTP_USER_AGENT"] ) &&
                 !ereg( 'Firefox', $_SERVER["HTTP_USER_AGENT"] ) &&
                !ereg( 'Firebird', $_SERVER["HTTP_USER_AGENT"] ) )
       {
         return 'trunk';
       }
       elseif ( ereg( 'Firefox/0.[89].?', $_SERVER["HTTP_USER_AGENT"] ) || ereg( 'Firefox/0.10?', $_SERVER["HTTP_USER_AGENT"] ) || ereg( 'Firefox/1.0?', $_SERVER["HTTP_USER_AGENT"] ))
       {
         return 'ff8';
       }
       elseif ( ereg( 'Phoenix', $_SERVER["HTTP_USER_AGENT"] ) ||
                ereg( 'Firebird', $_SERVER["HTTP_USER_AGENT"] ) )
       {
         return 'px';
       }
       else
       {
         return 'a non-supported browser.';
       }
  
    }
    else
    {
      return 'a non-supported browser.';
    }
    
  }
  
  function isHONcodeStatusMozCompatible()
  {
    switch (which())
    {
      case 'm13':   echo 'install';
                    break;
      case 'm14':   echo 'install';
                    break;
      case 'm15':   echo 'install';
                    break;
      case 'm16':   echo 'install';
                    break;
      case 'trunk': echo 'install';
                    break;
      case 'n7':    echo 'install';
                    break;
      case 'n701':  echo 'install';
                    break;
      case 'n71':  echo 'install';
                    break;
      default:      echo 'installUnsure';
                    break;
    }
  }
  
  function isHONcodeStatusPxCompatible()
  {
    switch (which())
    {
      case 'px':    echo 'install';
                    break;
      case 'ff8':   echo 'install';
                    break;
      case 'fbtrunk': echo 'install';
                      break;
      default:      echo 'installUnsure';
                    break;
    }
  }
  
  function isHONlookupCompatible()
  {
    switch (which())
    {
      case 'm13':   echo 'install';
                    break;
      case 'm14':   echo 'install';
                    break;
      case 'm15':   echo 'install';
                    break;
      case 'm16':   echo 'install';
                    break;
      case 'trunk': echo 'install';
                    break;
      case 'n7':    echo 'install';
                    break;
      case 'n701':  echo 'install';
                    break;
      case 'n71':  echo 'install';
                    break;
      default:      echo 'installUnsure';
                    break;
    }
  }
  
  function isHONlookupPxCompatible()
  {
    switch (which())
    {
      case 'px':    echo 'install';
                    break;
      case 'ff8':   echo 'install';
                    break;
      case 'fbtrunk': echo 'install';
                      break;
      default:      echo 'installUnsure';
                    break;
    }
  }
  
  function isSherlockCompatible()
  {
    switch (which())
    {
      case 'm10':   echo 'install';
                    break;
      case 'm11':   echo 'install';
                    break;
      case 'm12':   echo 'install';
                    break;
      case 'm13':   echo 'install';
                    break;
      case 'm14':   echo 'install';
                    break;
      case 'm15':   echo 'install';
                    break;
      case 'm16':   echo 'install';
                    break;
      case 'trunk': echo 'install';
                    break;
      case 'n7':    echo 'install';
                    break;
      case 'n701':  echo 'install';
                    break;
      case 'n71':  echo 'install';
                    break;
      case 'px':    echo 'install';
                    break;
      case 'ff8':   echo 'install';
                    break;
      case 'fbtrunk': echo 'install';
                      break;
      default:      echo 'installUnsure';
                    break;
    }
  }
  
  function getDownloadLinkLabel()
  {
    switch (which())
    {
      case 'm10':   echo 'Right-click and select \\\'Save Link Target As...\\\' to download.';
                    break;
      case 'm11':   echo 'Right-click and select \\\'Save Link Target As...\\\' to download.';
                    break;
      case 'm12':   echo 'Right-click and select \\\'Save Link Target As...\\\' to download.';
                    break;
      case 'm13':   echo 'Right-click and select \\\'Save Link Target As...\\\' to download.';
                    break;
      case 'm14':   echo 'Right-click and select \\\'Save Link Target As...\\\' to download.';
                    break;
      case 'm15':   echo 'Right-click and select \\\'Save Link Target As...\\\' to download.';
                    break;
      case 'm16':   echo 'Right-click and select \\\'Save Link Target As...\\\' to download.';
                    break;
      case 'trunk': echo 'Right-click and select \\\'Save Link Target As...\\\' to download.';
                    break;
      case 'n7':    echo 'Right-click and select \\\'Save Link Target As...\\\' to download.';
                    break;
      case 'n701':  echo 'Right-click and select \\\'Save Link Target As...\\\' to download.';
                    break;
      case 'n71':   echo 'Right-click and select \\\'Save Link Target As...\\\' to download.';
                    break;
      case 'px':    echo 'Right-click and select \\\'Save Link As...\\\' to download.';
                    break;
      case 'ff8':   echo 'install';
                    break;
      case 'fbtrunk': echo 'Right-click and select \\\'Save Link As...\\\' to download.';
                      break;
      default:      echo 'Right-click and select \\\'Save Link Target As...\\\' to download.';
                    break;
    }
  }
?>

<script language="javascript">
<!--

function errorMsg()
{
  alert("Netscape 6 or Mozilla is needed to install a sherlock plugin");
}

function addEngine(name,ext,cat)
{
  if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function"))
  {
    window.sidebar.addSearchEngine("http://mycroft.mozdev.org/plugins/"+name+".src",
                                   "http://mycroft.mozdev.org/plugins/"+name+"."+ext,
                                   name,
                                   cat );
  }
  else
  {
    errorMsg();
  }
}

function triggerURL(url) 
{
  if (!InstallTrigger.updateEnabled())
    return false; 
  else
    InstallTrigger.startSoftwareUpdate(url); 
}                  

//-->
</script>


<!-- MAIN CONTENT -->
<script type="text/javascript">
<!--
  var currentver1 = "1.3";
  var currentver2 = "1.2";
  
  if (location.search) 
  {
  	var re = /version=(\d\.\d.?)&ext=(.*)$/;
  	
  	re.test(location.search);
  	
  	var ver       = ""; 
  	var ext       = ""; 
  	var extension = "HONcode Status";
  	var noUninst  = false;
  	
  	ver = RegExp.$1;
  	ext = RegExp.$2;
  	
  	if (ver == "")
  	{
  	  var re2 = /version=(.*)$/;
  	  re2.test(location.search);
  	  
  	  ver      = RegExp.$1;
  	  noUninst = true;
  	}
    else
    {
      if (ext == "honlookup")
      {
        extension = "HONlookup";
      }
    }
  	
  	if (ext == "honlookup")
  	{
    	if (currentver2 > ver) 
    	{
    	  if (noUninst)
    	  {
    		  document.writeln('<br/><div class="update"><b>Your version of ' + extension + ' (v' + ver + ') is outdated! Version ' + currentver2 + ' is available! It is recommended to <a href="uninstallation.html" id="hon">uninstall</a> the extension before updating.</b></div>');
    	  }
    	  else
    	  {
    		  document.writeln('<br/><div class="update"><b>Your version of ' + extension + ' (v' + ver + ') is outdated! Version ' + currentver2 + ' is available!</b></div>');
    		}
    	} 
    	else if (currentver2 == ver) 
    	{
    		document.writeln('<br/><div class="update">Your version of ' + extension + ' (v' + ver + ') is up-to-date.</div>');
    	}
    }
    else
    {
    	if (currentver1 > ver) 
    	{
    	  if (noUninst)
    	  {
    		  document.writeln('<br/><div class="update"><b>Your version of ' + extension + ' (v' + ver + ') is outdated! Version ' + currentver1 + ' is available! It is recommended to <a href="uninstallation.html" id="hon">uninstall</a> the extension before updating.</b></div>');
    	  }
    	  else
    	  {
    		  document.writeln('<br/><div class="update"><b>Your version of ' + extension + ' (v' + ver + ') is outdated! Version ' + currentver1 + ' is available!</b></div>');
    		}
    	} 
    	else if (currentver1 == ver) 
    	{
    		document.writeln('<br/><div class="update">Your version of ' + extension + ' (v' + ver + ') is up-to-date.</div>');
    	}
    }
  } 
//-->
</script>

<br/>
<div class="dotted"><img src="http://www.mozdev.org/sharedimages/search_arrow.gif"
         alt="" border="0"
         style="vertical-align: middle"/> Installation / Uninstallation Instructions</div>
<ul>
  <li><a id="hon" href="#install">Installation instructions</a></li>
  <li><a id="hon" href="#uninstall">Uninstallation instructions</a></li>
</ul>
<br/>
<a name="install"></a>
<div class="dotted"><img src="http://www.mozdev.org/sharedimages/search_arrow.gif"
         alt="" border="0"
         style="vertical-align: middle"/> Installation</div>
<p>
  Before installing, please make sure it corresponds to your browser version!
  <br/>
  You appear to be using: <?php echo worksWith(which()); ?>
</p>
<?php
  if (which() == "n7" || which() == "n701" || which() == "n71")
  {
?>
<p class="important">
  Netscape users: It is recommended to install the plugins in the application folder and not in your profile folder!
</p>
<?php
  }
?>

<ul>
  <li class="<?php isHONcodeStatusMozCompatible() ?>">
    <b class="<?php isHONcodeStatusMozCompatible() ?>">HONcode Status v1.2a for Mozilla / Netscape:</b> 
    <input type="button" name="HONcodeStatus" value="Install"
           class="<?php isHONcodeStatusMozCompatible() ?>"
           onclick="triggerURL('http://downloads.mozdev.org/hon/honstatus-1.2a.xpi'); if (confirm('Do you want to view the usage instructions?')) self.location = 'usage.html#honcodestatus';"/>
    <a href="http://downloads.mozdev.org/hon/honstatus-1.2a.xpi"
       class="<?php isHONcodeStatusMozCompatible() ?>"
       onclick="alert('<?php getDownloadLinkLabel() ?>'); return false;">Download</a>
    (<i>Compatibility: <img src="images/moz13.png"
                            alt="Mozilla 1.3.x"
                            title="Mozilla 1.3.x"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/moz14.png"
                            alt="Mozilla 1.4"
                            title="Mozilla 1.4"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/moz15.png"
                            alt="Mozilla 1.5"
                            title="Mozilla 1.5"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/moz16.png"
                            alt="Mozilla 1.6"
                            title="Mozilla 1.6"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/n7.png"
                            alt="Netscape 7.0"
                            title="Netscape 7.0"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/n701.png"
                            alt="Netscape 7.01/7.02"
                            title="Netscape 7.01/7.02"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/n71.png"
                            alt="Netscape 7.1"
                            title="Netscape 7.1"
                            border="0" style="vertical-align: bottom;"/></i>)
    <p>Last modified: <?php getCVSDate('downloads/honstatus-1.2a.xpi'); ?></p>
    <p>To remove the HONcode Status button from your toolbar, go to '<b>Edit > Preferences... > Advanced > HONcode Status</b>' 
    and uncheck the box '<b>Display the HONcode Status icon</b>'.</p>
  </li>
  <li class="<?php isHONcodeStatusPxCompatible() ?>">
    <b class="<?php isHONcodeStatusPxCompatible() ?>">HONcode Status v1.5 for Mozilla Firefox:</b> 
    <input type="button" name="HONcodeStatus" value="Install"
           class="<?php isHONcodeStatusPxCompatible() ?>"
           onclick="triggerURL('http://downloads.mozdev.org/hon/honstatus-firefox-1.5.xpi'); if (confirm('Do you want to view the usage instructions?')) self.location = 'usage.html#honcodestatus';"/>
    <a href="http://downloads.mozdev.org/hon/honstatus-firefox-1.5.xpi"
       class="<?php isHONcodeStatusPxCompatible() ?>"
       onclick="alert('<?php getDownloadLinkLabel() ?>'); return false;">Download</a>
    (<i>Compatibility: <img src="images/px.png"
                            alt="Mozilla Firebird 0.6/0.6.1/0.7"
                            title="Mozilla Firebird 0.6/0.6.1/0.7"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/ff8.png"
                            alt="Mozilla Firefox 0.8/0.9.x/1.0"
                            title="Mozilla Firefox 0.8/0.9.x/1.0"
                            border="0" style="vertical-align: bottom;"/></i>)
    <p>Last modified: <?php getCVSDate('downloads/honstatus-firefox-1.5.xpi'); ?></p>
  </li>
  <li class="<?php isHONlookupCompatible() ?>">
    <b class="<?php isHONlookupCompatible() ?>">HONlookup v1.1 for Mozilla / Netscape:</b>
    <input type="button" name="HONlookup" value="Install"
           class="<?php isHONlookupCompatible() ?>"
           onclick="triggerURL('http://downloads.mozdev.org/hon/honlookup-1.1.xpi'); if (confirm('Do you want to view the usage instructions?')) self.location = 'usage.html#honlookup';"/>
    <a href="http://downloads.mozdev.org/hon/honlookup-1.1.xpi"
       class="<?php isHONlookupCompatible() ?>"
       onclick="alert('<?php getDownloadLinkLabel() ?>'); return false;">Download</a>
    (<i>Compatibility: <img src="images/moz13.png"
                            alt="Mozilla 1.3.x"
                            title="Mozilla 1.3.x"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/moz14.png"
                            alt="Mozilla 1.4"
                            title="Mozilla 1.4"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/moz15.png"
                            alt="Mozilla 1.5"
                            title="Mozilla 1.5"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/moz16.png"
                            alt="Mozilla 1.6"
                            title="Mozilla 1.6"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/n7.png"
                            alt="Netscape 7.0"
                            title="Netscape 7.0"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/n701.png"
                            alt="Netscape 7.01/7.02"
                            title="Netscape 7.01/7.02"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/n71.png"
                            alt="Netscape 7.1"
                            title="Netscape 7.1"
                            border="0" style="vertical-align: bottom;"/></i>)
    <p>Last modified: <?php getCVSDate('downloads/honlookup-1.1.xpi'); ?></p>
    <p class="note"><u>Note</u>: Doesn't work with previous versions of Mozilla!</p>
  </li>
  <li class="<?php isHONlookupPxCompatible() ?>">
    <b class="<?php isHONlookupPxCompatible() ?>">HONlookup v1.4 for Mozilla Firebird:</b>
    <input type="button" name="HONlookup" value="Install"
           class="<?php isHONlookupPxCompatible() ?>"
           onclick="triggerURL('http://downloads.mozdev.org/hon/honlookup-firefox-1.4.xpi'); if (confirm('Do you want to view the usage instructions?')) self.location = 'usage.html#honlookup';"/>
    <a href="http://downloads.mozdev.org/hon/honlookup-firefox-1.4.xpi"
       class="<?php isHONlookupPxCompatible() ?>"
       onclick="alert('<?php getDownloadLinkLabel() ?>'); return false;">Download</a>
    (<i>Compatibility: <img src="images/px.png"
                            alt="Mozilla Firebird 0.6/0.6.1/0.7"
                            title="Mozilla Firebird 0.6/0.6.1/0.7"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/ff8.png"
                            alt="Mozilla Firefox 0.8/0.9.x/1.0"
                            title="Mozilla Firefox 0.8/0.9.x/1.0"
                            border="0" style="vertical-align: bottom;"/></i>)
    <p>Last modified: <?php getCVSDate('downloads/honlookup-firefox-1.4.xpi'); ?></p>
  </li>
  <li class="<?php isSherlockCompatible() ?>">
    <b class="<?php isSherlockCompatible() ?>">HONcodeHunt Sherlock plugin:</b>
    <input type="button" name="HONcodeStatus" value="Install"
           class="<?php isSherlockCompatible() ?>"
           onclick="addEngine('honcodehunt', 'png', 'Health');"/>
    (<i>Compatibility: <img src="images/moz10.png"
                            alt="Mozilla 1.0.x"
                            title="Mozilla 1.0.x"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/moz11.png"
                            alt="Mozilla 1.1"
                            title="Mozilla 1.1"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/moz12.png"
                            alt="Mozilla 1.2.x"
                            title="Mozilla 1.2.x"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/moz13.png"
                            alt="Mozilla 1.3.x"
                            title="Mozilla 1.3.x"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/moz14.png"
                            alt="Mozilla 1.4"
                            title="Mozilla 1.4"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/moz15.png"
                            alt="Mozilla 1.5"
                            title="Mozilla 1.5"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/moz16.png"
                            alt="Mozilla 1.6"
                            title="Mozilla 1.6"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/n7.png"
                            alt="Netscape 7.0"
                            title="Netscape 7.0"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/n701.png"
                            alt="Netscape 7.01/7.02"
                            title="Netscape 7.01/7.02"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/n71.png"
                            alt="Netscape 7.1"
                            title="Netscape 7.1"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/px.png"
                            alt="Mozilla Firebird 0.6/0.6.1/0.7"
                            title="Mozilla Firebird 0.6/0.6.1/0.7"
                            border="0" style="vertical-align: bottom;"/>
                       <img src="images/ff8.png"
                            alt="Mozilla Firefox 0.8/0.9.x/1.0"
                            title="Mozilla Firefox 0.8/0.9.x/1.0"
                            border="0" style="vertical-align: bottom;"/></i>)
    <p class="note"><u>Note</u>: It should also work with other Mozilla-based browsers (e.g. Netscape 6.x).</p>
  </li>
</ul>
<div align="right">
  <a href="#" id="hon" class="top">top</a>
</div>
<br/>
<a name="uninstall"></a>
<div class="dotted"><img src="http://www.mozdev.org/sharedimages/search_arrow.gif"
         alt="" border="0"
         style="vertical-align: middle"/> Uninstallation</div>
<p>If you are using HONcode Status v0.8 (or earlier) and HONlookup v0.4 (or earlier), please look at the 
<a href="uninstallation.html" id="hon">uninstallation instructions for pre-1.x releases</a>.</p>
<p><u>Note</u>: Uninstallation instructions are adapted to the browser your using.</p>

<ul>
  <li><a id="hon" href="#honstatus">How to remove the HONcode Status plugin</a></li>
  <li><a id="hon" href="#honlookup">How to remove the HONlookup plugin</a></li>
  <li><a id="hon" href="#sherlock">How to remove the HONcodeHunt Sherlock plugin</a></li>
</ul>
<div align="right">
  <a href="#" id="hon" class="top">top</a>
</div>
<ul>
  <li>
    <a name="honstatus"></a>
    <b>HONcode Status</b>
<?php
  if ((which() == "px")
      || (which() == "fbtrunk"))
  {
?>
    <p>
      1. Go to 'Tools > Options > Extensions'
    </p>
    <p>
      2. Select 'HONcode Status Extension v1.x' and click on 'Settings'
    </p>
    <p>
      3. Click on the 'uninstall' button
    </p>
<?php
  }
  else
  {
?>
    <p>
      1. Go to 'Edit > Preferences > Advanced > HONcode Status'
    </p>
    <p>
      2. Click on the 'uninstall' button
    </p>
<?php
  }
?>
    <div align="right">
      <a href="#" id="hon" class="top">top</a>
    </div>
  </li>
  <li>
    <a name="honlookup"></a>
    <b>HONlookup</b>
<?php
  if ((which() == "px")
      || (which() == "fbtrunk"))
  {
?>
    <p>
      1. Go to 'Tools > Options > Extensions'
    </p>
    <p>
      2. Select 'HONlookup Extension v1.x' and click on 'Settings'
    </p>
    <p>
      3. Click on the 'uninstall' button
    </p>
<?php
  }
  else
  {
?>
    <p>
      1. Go to 'Edit > Preferences > Advanced > HONlookup'
    </p>
    <p>
      2. Click on the 'uninstall' button
    </p>
<?php
  }
?>
    <div align="right">
      <a href="#" id="hon" class="top">top</a>
    </div>
  </li>
  <li>
    <a name="sherlock"></a>
    <b>HONcodeHunt Sherlock plugin</b>
    <p>
      Simply delete the files '<code>honcodehunt.src</code>' and '<code>honcodehunt.png</code>' from your browser's 
      '<code>searchplugins</code>' folder (e.g. for Mozilla on Windows, usual path is 
      '<code>C:\Program Files\mozilla.org\Mozilla\searchplugins\</code>').
    </p>
  </li>
</ul>
<div align="right">
  <a href="#" id="hon" class="top">top</a>
</div>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>