Different for netscape 4.x?

  • Tazel
  • Student
  • Student
  • Tazel
  • Posts: 97

Post 3+ Months Ago

How would you make the site look for netscape 4.x and if someone is browsing with that browser, direct them to a special page? I validated my source and css and everything checks out so that's not the problem when displayed with netscape 4.x.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

I wouldn't write a page to even consider Netscape 4.x anymore. I quit doing that about a year or so ago. Not worth the time or hassle, and not enough people using it. If anybody still is, they are probably finding a lot of problems with a bunch of sites out there not really displaying very well for them.
  • Tazel
  • Student
  • Student
  • Tazel
  • Posts: 97

Post 3+ Months Ago

I mean something like hotbot.com. If the user is browsing with netscape 4.x, then I'd send it to a page saying something like, "Sorry, this site cannot be viewed with this browser, Netscape 4.x. Please comeback with an upgraded version or a different browser." Something like that. I just want it to detect the browser and if it is Netscape 4.x, then I'll send it to a special page.
  • rjmthezonenet
  • Expert
  • Expert
  • User avatar
  • Posts: 526
  • Loc: St. John's, Newfoundland, Canada

Post 3+ Months Ago

I wrote a PHP user-agent sniffer class last year. It plugs in with another script for page re-writing for old browsers. It was my first go at PHP, but it does work extremely well. Would you like the code?
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

The only reason I was still using Nutscrape 4 up until about 6 months ago was for one E-Mail account (I liked Netscape's E-Mail client).

If it wasn't for the fact that it held like 600Meg of E-Mails since '95, I would've quit using it even longer before I did. The only reason I stopped as because I needed to format and simply couldn't be bothered reinstalling it, heh (although, I do have all 600Meg of E-Mails backed up on a CD if ever I get the motivation to sift through them all for the useful stuff).

As far as a browser, I've not used NS4 since IE4 got released.
  • rjmthezonenet
  • Expert
  • Expert
  • User avatar
  • Posts: 526
  • Loc: St. John's, Newfoundland, Canada

Post 3+ Months Ago

Now I gotta know... what e-mail client are you using now?
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Tazel - search places like Earthweb - http://webdeveloper.earthweb.com/webjs/ or javascriptkit - http://www.javascriptkit.com/cutpastejava.shtml for browser redirect scripts. Find one you like and use it. If for somereason you find one and can't get it to work ask. However, please take some time and research some of the answers to your questions before posting them. At the rate you've been asking questions about how to fix things on the page you're working on, we'll be writing the entire page for you before it's done. We don't mind helping at all but not with everything on your site.
  • rjmthezonenet
  • Expert
  • Expert
  • User avatar
  • Posts: 526
  • Loc: St. John's, Newfoundland, Canada

Post 3+ Months Ago

This'll need some updating for the latest versions...

Code: [ Select ]
  function BrowserSniff () {
    $ua = $this->environment['user_agent'];
    if (preg_match ("/Mozilla/",$ua) == true) {
      if (preg_match ("/MSIE/",$ua) == true && preg_match ("/Opera/",$ua) == false) {
        preg_match ("/(?<=MSIE )\S{3}/",$ua, $matches);
        $name = "Internet Explorer";
        $acro = "ie";
        $version = $matches[0];
      } elseif (preg_match ("/Netscape/",$ua) == true) {
        preg_match ("/(?<=Netscape6\/)\S{3,5}/",$ua, $matches);
        $name = "Netscape";
        $acro = "ns";
        $version = $matches[0];
      } elseif (preg_match ("/Opera/",$ua) == true) {
        preg_match ("/(?<=Opera )\S{3,5}/",$ua, $matches);
        $name = "Opera";
        $acro = "opera";
        $version = $matches[0];
      } elseif (preg_match ("/Gecko/",$ua) == true) {
        preg_match ("/(?<=rv:)\S{3,5}/",$ua, $matches);
        $name = "Mozilla";
        $acro = "moz";
        $version = $matches[0];
      } else {
        preg_match ("/(?<=Mozilla\/)\S{3,5}/",$ua, $matches);
        $name = "Netscape";
        $acro = "ns";
        $version = $matches[0];
      }
    }
    elseif (preg_match ("/Lynx/",$ua) == true) {
      preg_match ("/(?<=Lynx\/)\S{3,11}/",$ua, $matches);
      $name = "Lynx";
      $acro = "lynx";
      $version = $matches[0];
    } else {
      $name = "Unknown";
      $acro = "na";
      $version = "x";
    }
    preg_match ("/[0-9]/", $version, $matches);
    $major = $matches[0];
    return array  ( 'name'  => $name
            , 'acro'  => $acro
            , 'version' => $version
            , 'major'  => $major
            );
  }
  1.   function BrowserSniff () {
  2.     $ua = $this->environment['user_agent'];
  3.     if (preg_match ("/Mozilla/",$ua) == true) {
  4.       if (preg_match ("/MSIE/",$ua) == true && preg_match ("/Opera/",$ua) == false) {
  5.         preg_match ("/(?<=MSIE )\S{3}/",$ua, $matches);
  6.         $name = "Internet Explorer";
  7.         $acro = "ie";
  8.         $version = $matches[0];
  9.       } elseif (preg_match ("/Netscape/",$ua) == true) {
  10.         preg_match ("/(?<=Netscape6\/)\S{3,5}/",$ua, $matches);
  11.         $name = "Netscape";
  12.         $acro = "ns";
  13.         $version = $matches[0];
  14.       } elseif (preg_match ("/Opera/",$ua) == true) {
  15.         preg_match ("/(?<=Opera )\S{3,5}/",$ua, $matches);
  16.         $name = "Opera";
  17.         $acro = "opera";
  18.         $version = $matches[0];
  19.       } elseif (preg_match ("/Gecko/",$ua) == true) {
  20.         preg_match ("/(?<=rv:)\S{3,5}/",$ua, $matches);
  21.         $name = "Mozilla";
  22.         $acro = "moz";
  23.         $version = $matches[0];
  24.       } else {
  25.         preg_match ("/(?<=Mozilla\/)\S{3,5}/",$ua, $matches);
  26.         $name = "Netscape";
  27.         $acro = "ns";
  28.         $version = $matches[0];
  29.       }
  30.     }
  31.     elseif (preg_match ("/Lynx/",$ua) == true) {
  32.       preg_match ("/(?<=Lynx\/)\S{3,11}/",$ua, $matches);
  33.       $name = "Lynx";
  34.       $acro = "lynx";
  35.       $version = $matches[0];
  36.     } else {
  37.       $name = "Unknown";
  38.       $acro = "na";
  39.       $version = "x";
  40.     }
  41.     preg_match ("/[0-9]/", $version, $matches);
  42.     $major = $matches[0];
  43.     return array  ( 'name'  => $name
  44.             , 'acro'  => $acro
  45.             , 'version' => $version
  46.             , 'major'  => $major
  47.             );
  48.   }
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

rjmthezonenet wrote:
Now I gotta know... what e-mail client are you using now?


Now I'm using Outlook... With Norton on my Windows machine, and spam blockers on the mail server, they weed out 99% of the worms, trojans, viruses & spam before it has a chance to be seen by outlook, heh.

My main drawback with NS4.x's mail client, was that you could only have it check a single pop3 box. Now I've got a dozen different pop3 accounts I need to check regularly.
  • rjmthezonenet
  • Expert
  • Expert
  • User avatar
  • Posts: 526
  • Loc: St. John's, Newfoundland, Canada

Post 3+ Months Ago

Axe wrote:
My main drawback with NS4.x's mail client, was that you could only have it check a single pop3 box.


Yeah, that was a major annoyance with Netscape 4!

For the record (in case someone reads this thread who doesn't know about Mozilla 1.6 (the program re-packaged as Netscape 7):

Quote:
Mozilla supports Multiple Accounts to help you manage all your mail through one interface.

Junk mail controls helps you take back control of your e-mail from spammers. Mozilla's adaptive junk mail control gets smarter with use and is personalized to the e-mail that you receive.

Manage your mail with customizable Labels and Mail Views. Color code your e-mail to help you prioritize. Sort your mail with views to help you through your e-mail much faster.

Mozilla Messenger includes Enterprise ready features such as S/MIME, return receipts, LDAP support, and digital signing.


http://www.mozilla.org/products/mozilla1.x/

Cheers

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 49 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.