okwave.jp shows a banner for switching to mobile site to other mobile browsers, not to Firefox OS

ASSIGNED
Assigned to

Status

Tech Evangelism
Mobile
P5
normal
ASSIGNED
4 years ago
a year ago

People

(Reporter: hallvors, Assigned: karlcow, Mentored)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [clientsniff] [country-jp] [needscontact] , URL)

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
Created attachment 8360951 [details]
057.png comparison screenshot - look for orange banner on top of page

http://cdn.gazo.okwave.jp/okwave/js/okwave/bannerToSp.js?Tp74tU3ce9

  function isSp() {
    
    if (
      (n.userAgent.indexOf('iPhone') > 0 & n.userAgent.indexOf('iPad') == -1) || 
      n.userAgent.indexOf('iPod') > 0 || 
      n.userAgent.indexOf('IEMobile') > 0 || 
      n.userAgent.indexOf('Android') > 0 || 
      n.userAgent.indexOf('BlackBerry') > 0
    ){
      return true;
    } else {
      return false;
    }
    
  }
(Assignee)

Comment 1

4 years ago
suggestedfix
When we click on the banner, we go to http://sp.okwave.jp/
Tested on Firefox Android and Firefox OS and it displays perfectly.

A suggested fix could be 
var ua = navigator.userAgent.toLowerCase();

function isSp() {
    if (
        // testing for mobile devices
        (ua.indexOf('mobile') > 0 || 
         ua.indexOf('android') > 0 ||
         ua.indexOf('blackberry') > 0) 
        && 
        // removing tablets
        (ua.indexOf('ipad') == -1 || 
         ua.indexOf('tablet') == -1)
       ) {
        return true;
    } else {
        return false;
    }
}
(Assignee)

Comment 2

4 years ago
contacttwitter
They have a twitter account but not interacting with customers.
https://twitter.com/okwave

The staff has an active blog
http://blog.okwave.jp/staff/

The company Web site
http://www.okwave.co.jp/

One possible lead for a contact is
https://twitter.com/kuromoyo
http://www.linkedin.com/pub/torao-takami/41/767/4ab
Whiteboard: [clientsniff] [country-jp] [contactready] → [clientsniff] [country-jp] [contactready] [mentor=kdubost]
(Assignee)

Updated

4 years ago
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Whiteboard: [clientsniff] [country-jp] [contactready] [mentor=kdubost] → [clientsniff] [country-jp] [sitewait] [mentor=kdubost]

Updated

4 years ago
Mentor: kdubost@mozilla.com
Whiteboard: [clientsniff] [country-jp] [sitewait] [mentor=kdubost] → [clientsniff] [country-jp] [sitewait]
(Assignee)

Comment 3

3 years ago
contacttwitter
Trying to contact 
http://twitter.com/MozWebCompat/status/558030563882573825
(Assignee)

Comment 4

3 years ago
contactemail
Better chance this time.
http://twitter.com/kuromoyo/status/558286260049952768

Sent an email.
(Assignee)

Comment 5

2 years ago
Switch back to needscontact
Whiteboard: [clientsniff] [country-jp] [sitewait] → [clientsniff] [country-jp] [needscontact]
(Assignee)

Updated

a year ago
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.