Closed
Bug 905627
Opened 11 years ago
Closed 6 years ago
NHK doesn't serve mobile content to Firefox OS
Categories
(Web Compatibility :: Site Reports, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: karlcow, Assigned: karlcow, NeedInfo)
References
()
Details
(Whiteboard: [mobile-compat-form] [serversniff] [clientsniff] [country-jp] [sitewait])
Attachments
(3 files)
291.88 KB,
image/png
|
Details | |
2.17 KB,
patch
|
Details | Diff | Splinter Review | |
65.46 KB,
text/css
|
Details |
Site: http://www.nhk.or.jp/ NHK doesn't serve mobile content to Firefox OS :: Steps To Reproduce 1. Enter http://www.nhk.or.jp/ on Firefox OS+ZTE :: Expected Result Receive mobile content as for the iOS (redirected to www.nhk.or.jp/sp/) :: Actual Result Received the desktop content. :: Additional Information Software Version: Boot2Gecko 1.0.1.0-prerelease Device Information: ZTE roamer2 Reporter's User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:23.0) Gecko/20100101 Firefox/23.0
Comment 1•11 years ago
|
||
There's two things happening here: 1) Some server side detection that redirects to /sp/ and includes the following script: <script src="/common/sp/nol_SmartPhone.js" type="text/javascript"></script> (the page content changes as well, but this script is important to get fixed). We probably want to land in "othermobile", see https://github.com/miketaylr/Snort/commit/4e8dab36b868850fa478169e8c25eef15fff525a#L0R1523 2) Then there's a common.js file that does some more UA sniffing for both desktop and mobile sites. See https://github.com/miketaylr/Snort/commit/8fa71e9a8d2569d2ccb9ba098bdfcde89b4166e1#L0R1487. We should recommend they add us to "smartphone". So recommended fixes: fix server sniffing so FxOS/FF4A make it to /sp/ and tweak the clientside scripts so we get detected as a smartphone.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] → [mobile-compat-form][serversniff][clientsniff][country-jp][contactready]
Assignee | ||
Comment 2•11 years ago
|
||
Contacted them through the form of NHK World with the hope that they will channel it to the people at NHK.
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Hardware: Other → ARM
Whiteboard: [mobile-compat-form][serversniff][clientsniff][country-jp][contactready] → [mobile-compat-form] [serversniff] [clientsniff] [country-jp] [sitewait]
Comment 3•10 years ago
|
||
Assignee | ||
Comment 4•10 years ago
|
||
Trying to contact another person directly at NHK.
Assignee | ||
Comment 5•9 years ago
|
||
Some additional testing on this site: The issue is still here for Firefox Android and Firefox OS: The Web site doesn't redirect to http://www.nhk.or.jp/sp/ Once the browser has been redirected to http://www.nhk.or.jp/sp/ There are minor issues due to the usage of old flexbox properties (both webkit and moz) For example in onlinetop_sm.css header { text-align: left; background:#ffffff; padding: 6px 72px 5px 7px; display: -webkit-box; display: -moz-box; display: box; } This can be rewritten as header { text-align: left; background:#ffffff; padding: 6px 72px 5px 7px; display: -webkit-box; display: -moz-box; display: flex; } And it will become forward compatible with *ALL* browsers.
Assignee | ||
Comment 6•9 years ago
|
||
Tomoya-san, Do we have any contacts with people inside NHK? Is it a Web site made internally or by an agency outside? Thanks
Flags: needinfo?(bugzilla)
Assignee | ||
Comment 7•9 years ago
|
||
The patch to fix the NHK css.
Assignee | ||
Comment 8•9 years ago
|
||
The fixed CSS once the patch has been applied.
Assignee | ||
Comment 9•9 years ago
|
||
Adding the equivalent bug for Firefox Android https://webcompat.com/issues/959 > For the status, if I understood, As of today, NHK is not interested in fixing the site. Their target is Safari and Chrome. We have UA override for Firefox Android. https://hg.mozilla.org/mozilla-central/raw-file/tip/mobile/android/app/ua-update.json.in Maybe we should also add UA override for Firefox OS. https://hg.mozilla.org/mozilla-central/raw-file/tip/b2g/app/ua-update.json.in
See Also: → https://webcompat.com/issues/959
Assignee | ||
Updated•8 years ago
|
Priority: -- → P5
Assignee | ||
Comment 10•6 years ago
|
||
Closing as we are not working on Firefox OS anymore.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: Tech Evangelism → Web Compatibility
Updated•2 months ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•