Open
Bug 1457335
Opened 7 years ago
Updated 6 months ago
histography.io blocks Firefox
Categories
(Web Compatibility :: Site Reports, enhancement, P3)
Web Compatibility
Site Reports
Tracking
(Webcompat Priority:P3, Webcompat Score:1)
REOPENED
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)
|
50 bytes,
patch
|
twisniewski
:
review+
|
Details | Diff | Splinter Review |
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.
| Reporter | ||
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
This PR implement a UA override, so Firefox users can enjoy the site as well!
Attachment #8988660 -
Flags: review?(wisniewskit)
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → dschubert
Comment 2•7 years ago
|
||
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+
| Assignee | ||
Comment 3•7 years ago
|
||
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
Comment 4•7 years ago
|
||
FYI The site is broken again even with the user agent override.
See https://webcompat.com/issues/20523 for new diagnosis.
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [sitepatch-built]
| Assignee | ||
Updated•4 years ago
|
Whiteboard: [sitepatch-built] → [webcompat:sitepatch-applied]
Comment 5•1 year ago
|
||
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
Updated•1 year ago
|
Keywords: webcompat:blocked,
webcompat:sitepatch-applied
Updated•1 year ago
|
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Updated•1 year ago
|
Severity: normal → S2
User Story: (updated)
Webcompat Priority: --- → P3
Webcompat Score: --- → 5
Depends on: firefox-not-supported
Keywords: webcompat:needs-diagnosis,
webcompat:site-report
Priority: -- → P3
Updated•1 year ago
|
Component: Interventions → Site Reports
Updated•1 year ago
|
Webcompat Score: 5 → 2
Updated•1 year ago
|
Webcompat Score: 2 → 1
| Assignee | ||
Comment 6•10 months ago
|
||
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)
Updated•6 months ago
|
User Story: (updated)
You need to log in
before you can comment on or make changes to this bug.
Description
•