Closed
Bug 544687
Opened 15 years ago
Closed 3 years ago
tripadvisor.com -- Sniffing for "Firefox" and not for "Gecko"
Categories
(Web Compatibility :: Desktop, defect, P5)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: david, Unassigned)
References
()
Details
(Keywords: webcompat:contact-ready, Whiteboard: [country-all] [serversniff] [contactready])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100104 SeaMonkey/2.0.2
Build Identifier:
At the top of many (all?) pages is the note:
"We noticed that you're using an unsupported browser. The TripAdvisor website may not display properly. We support the following browsers: Windows: Internet Explorer, Mozilla Firefox. Mac: Safari."
That note does not appear if I spoof using the following UA string:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100104 SeaMonkey/2.0.2, NOT Firefox/3.5.6
Reproducible: Always
Reporter | ||
Comment 1•15 years ago
|
||
I have contacted the site owner about this problem.
Blocks: geckoisgecko
Reporter | ||
Comment 2•15 years ago
|
||
Oops! Incomplete Summary fixed.
Summary: tripadvisor.com → tripadvisor.com -- Sniffing for "Firefox" and not for "Gecko"
Comment 3•10 years ago
|
||
description |
The message is still there when faking UA with SeaMonkey.
→ http -b GET http://www.tripadvisor.com/ 'User-Agent: Mozilla/5.0 (X11; Linux i686; rv:32.0) Gecko/20100101 SeaMonkey/2.29' | egrep -i unsupported
<div class="unsupportedBrowser" style="width:973px; margin:0 auto 20px; padding:5px; background-color:#ffe5a5; font-size:.75em;">
<b>We noticed that you're using an unsupported browser. The TripAdvisor website may not display properly.</b><br/> We support the following browsers:
<b>We noticed that you're using an unsupported browser. The TripAdvisor website may not display properly.</b><br/> We support the following browsers:
→ http -b GET http://www.tripadvisor.com/ 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0' | egrep -i unsupported
[nothing returned]
Assignee: english-us → nobody
Component: English US → Desktop
Whiteboard: [country-all] [serversniff] [contactready]
Comment 4•10 years ago
|
||
suggestedfix |
Tripadvisor should just send the normal content to browser such as SeaMonkey.
They could either detect specifically SeaMonkey as an authorized browser or Gecko/version number. But better would be to not detect at all on User Agent strings and just rely on feature detections.
Comment 5•9 years ago
|
||
Still an issue, still contactready. I guess many Gecko-based browsers have added a "like Firefox"-type string at this point though.
Looks like the message has been fixed or removed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 7•7 years ago
|
||
Windows 7 Ultimate SP1 (x64)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 SeaMonkey/2.49.1
I still get that banner at the top of the page unless I enable "Advertise Firefox compatibility". This proves that the site is sniffing for "Firefox" and not "Gecko".
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Updated•7 years ago
|
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
Comment 8•6 years ago
|
||
See bug 1547409. Moving webcompat whiteboard tags to keywords.
Keywords: webcompat:contact-ready
Comment 9•3 years ago
|
||
I was not able to reproduce the issue anymore.
https://prnt.sc/KxL7Dv6nKcT3
Tested with:
Browser / Version: Firefox Nightly 100.0a1 (2022-03-29), SeaMonkey 2.53.11.1
Operating System: Windows 10 Pro
Status: REOPENED → RESOLVED
Closed: 7 years ago → 3 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•