mozdev.org

HON    

resources:
other:
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 'trunk': $rhett_alt = 'Mozilla 1.5a'; $rhett_src = 'images/trunk.png'; break; case 'px': $rhett_alt = 'Mozilla Firebird 0.6'; $rhett_src = 'images/px.png'; break; case 'fbtrunk': $rhett_alt = 'Mozilla Firebird 0.6.1'; $rhett_src = 'images/fbtrunk.png'; break; default: $rhett_alt = $worx; } $rhett .= '' . $rhett_alt . ''; if( $sq == 1 ) { if( $nobr == 0 && $i%2 != 0 ) $rhett .= '
'; } elseif( $nobr == 0 ) { $rhett .= '
'; } 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"] ) ) { return 'trunk'; } elseif ( ereg( 'Firebird/0.6.1', $_SERVER["HTTP_USER_AGENT"] ) ) { return 'fbtrunk'; } 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 '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 'fbtrunk': echo 'install'; break; default: echo 'installUnsure'; break; } } function isHONlookupCompatible() { switch (which()) { case 'm13': echo 'install'; break; case 'm14': 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 '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 '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 '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 '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 '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; } } ?>
Uninstallation Instructions (pre-1.x release)

These instructions are for HONcode Status v0.8 (or earlier) and HONlookup v0.4 (or earlier). Versions above 1.0 include an uninstaller. Be careful though, as improper uninstallation could break your browser installation! It is recommended to backup you global Mozilla chrome folder (e.g. for Mozilla on windows, usual path is 'C:\Program Files\mozilla.org\Mozilla\chrome') before doing any change!

Note: Uninstallation instructions are adapted to the browser your using.

top
top

The hon project can be contacted through the mailing list or the member list.
Copyright © 2000-2017. All rights reserved. Terms of Use & Privacy Policy.