Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > OmniWeb Browser Identity

OmniWeb Browser Identity
Thread Tools
jaredbkt
Fresh-Faced Recruit
Join Date: Mar 2001
Status: Offline
Reply With Quote
Aug 9, 2001, 03:07 PM
 
I want web sites to identify Omniweb as Internet Epxlorer. Does anyone know what info I need to put in the Identify Omniweb as Another Brower area in the Java Script preferences area? You have to enter it manually and I don't know what the info should be. Thanks.
     
theolein
Addicted to MacNN
Join Date: Feb 2001
Location: zurich, switzerland
Status: Offline
Reply With Quote
Aug 9, 2001, 05:20 PM
 
From MSDN (At least they very good documentation):
navigator.appVersion returns in this format:
clientVersion (platform; information; extraInformation)
or
5.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)
on a pc

So you can write a little JavaScript like this:
document.write(navigator.appVersion );

and run it in explorer to see what you get out. Take those four values and experiment in ommniweb by running the same script.
weird wabbit
     
Capitaine Caverne
Fresh-Faced Recruit
Join Date: Jul 2001
Status: Offline
Reply With Quote
Aug 9, 2001, 05:56 PM
 
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 5.0b1; Mac_PowerPC)


Be aware that OmniWeb supports the Netscape JavaScript code. Some IE and Netscape Javascript calls are different. So in some case, the Javascripts are not going to run correctly.
bouarf.
     
Rickster
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Aug 9, 2001, 11:32 PM
 
Note that the setting in the JavaScript panel only controls how OmnIWeb identifies itself to scripts. The User-Agent header sent to HTTP servers is something else; you'll find a thread about it here.

[ 08-09-2001: Message edited by: Rickster ]
Rick Roe
icons.cx | weblog
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 01:09 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,