Closed
Bug 1003684
Opened 10 years ago
Closed 6 years ago
jp-bank.japanpost.jp triggers a banner for certain mobile devices only
Categories
(Web Compatibility :: Site Reports, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: karlcow, Unassigned, Mentored)
References
()
Details
(Whiteboard: [mobile-compat-form] [country-jp] [clientsniff] [contactready])
Site: http://www.jp-bank.japanpost.jp/ jp-bank.japanpost.jp triggers a banner for certain mobile devices only :: Steps To Reproduce 1. with Firefox OS on ZTE device 2. Go to http://www.jp-bank.japanpost.jp/ :: Expected Result To have the top banner which proposes to go to the mobile site site :: Actual Result No banner <script type="text/javascript"> if ((navigator.userAgent.indexOf('iPhone') > 0 && navigator.userAgent.indexOf('iPad') == -1) || navigator.userAgent.indexOf('iPod') > 0 || navigator.userAgent.indexOf('Android') > 0) { document.write('<p style="margin:0;"><a href="/sp/sp_index.html"><img src="/shared/img/b_sp_menu.gif" width="100%" alt="スマートフォン用メニューはこちら"></a></p>'); } </script> :: Additional Information Software Version: 1.4 Device Information: roamer2 Reporter's User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0
Reporter | ||
Comment 1•10 years ago
|
||
Currently, Mobile means iPad, iPod, iPhone and Android. They could change their script to: <script type="text/javascript"> var ua = navigator.userAgent.toLowerCase(); if (ua.indexOf('mobi') > 0 && ua.indexOf('iPad')) == -1 { document.write( '<p style="margin:0;"><a href="/sp/sp_index.html"> <img src="/shared/img/b_sp_menu.gif" width="100%" alt="スマートフォン用メニューはこちら"></a></p>' ); } </script>
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] → [mobile-compat-form] [country-jp] [clientsniff] [contactready] [mentor=kdubost]
Updated•10 years ago
|
Mentor: kdubost
Whiteboard: [mobile-compat-form] [country-jp] [clientsniff] [contactready] [mentor=kdubost] → [mobile-compat-form] [country-jp] [clientsniff] [contactready]
Reporter | ||
Updated•8 years ago
|
Priority: -- → P5
Reporter | ||
Comment 2•6 years ago
|
||
The Firefox OS project is not active anymore.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•5 years ago
|
Product: Tech Evangelism → Web Compatibility
Assignee | ||
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
•