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)

x86
Windows XP
defect

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
I have contacted the site owner about this problem.
Blocks: geckoisgecko
Oops! Incomplete Summary fixed.
Summary: tripadvisor.com → tripadvisor.com -- Sniffing for "Firefox" and not for "Gecko"
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]
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.
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
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 → ---
Priority: -- → P5
Product: Tech Evangelism → Web Compatibility

See bug 1547409. Moving webcompat whiteboard tags to keywords.

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 ago3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.