Open Bug 1457335 Opened 7 years ago Updated 6 months ago

histography.io blocks Firefox

Categories

(Web Compatibility :: Site Reports, enhancement, P3)

enhancement

Tracking

(Webcompat Priority:P3, Webcompat Score:1)

REOPENED
Webcompat Priority P3
Webcompat Score 1

People

(Reporter: adamopenweb, Assigned: denschub)

References

(Depends on 1 open bug, )

Details

(4 keywords, Whiteboard: [webcompat:sitepatch-applied])

User Story

platform:windows,mac,linux
impact:blocked
configuration:general
affects:all
branch:release
user-impact-score:0
diagnosis-team:webcompat

Attachments

(1 file)

Originally filed: https://github.com/webcompat/web-bugs/issues/1804 The site doesn't allow Firefox and contacts have not been successful. It is ranked 285,224 in the U.S, which isn't very high but it would be good for this site to actually work for Firefox users. Detection code: var nt = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor), at = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor), it = /Safari/.test(navigator.userAgent) && /Googlebot/.test(navigator.vendor), rt = { Android: function() { return navigator.userAgent.match(/Android/i) }, BlackBerry: function() { return navigator.userAgent.match(/BlackBerry/i) }, iOS: function() { return navigator.userAgent.match(/iPhone|iPad|iPod/i) }, Opera: function() { return navigator.userAgent.match(/Opera Mini/i) }, Windows: function() { return navigator.userAgent.match(/IEMobile/i) }, any: function() { return rt.Android() || rt.BlackBerry() || rt.iOS() || rt.Opera() || rt.Windows() } }; rt.any() && (window.location = "mobile.htm"), nt || at || it || (window.location = "browser_support.htm"); Since we do not support navigator.vendor, I'm guessing we'll need to inject JS to override.
Attached patch Pull Request #23Splinter Review
This PR implement a UA override, so Firefox users can enjoy the site as well!
Attachment #8988660 - Flags: review?(wisniewskit)
Assignee: nobody → dschubert
Comment on attachment 8988660 [details] [diff] [review] Pull Request #23 Review of attachment 8988660 [details] [diff] [review]: ----------------------------------------------------------------- r+ (notes on GitHub)
Attachment #8988660 - Attachment is patch: true
Attachment #8988660 - Attachment mime type: text/x-github-pull-request → text/plain
Attachment #8988660 - Flags: review?(wisniewskit) → review+
Blocks: 1481395
Site patch is landed in our repo on GitHub, so this can be closed. Landing the site patches (and eventually updating Release users via GoFaster) is tracked in 1481395.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
FYI The site is broken again even with the user agent override. See https://webcompat.com/issues/20523 for new diagnosis.
Whiteboard: [sitepatch-built]
Whiteboard: [sitepatch-built] → [webcompat:sitepatch-applied]

Reopening this one, since we're now tracking the status of webcompat issues with interventions differently.

Status: RESOLVED → VERIFIED
Summary: histography.io - Override UA & navigator.vendor → histography.io blocks Firefox
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Severity: normal → S2
User Story: (updated)
Webcompat Priority: --- → P3
Webcompat Score: --- → 5
Priority: -- → P3
Component: Interventions → Site Reports
Webcompat Score: 5 → 2
Webcompat Score: 2 → 1

Mass-assigning diagnosis-team to webcompat for "Firefox is not supported" bugs that don't already have a team assigned. This action is done by a script. For your convenience, feel free to filter your bugmail with 559a9604-41ec-11f0-9ec6-f3f21dcd7cf2.

User Story: (updated)
User Story: (updated)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: