Closed Bug 933112 Opened 8 years ago Closed 6 years ago

yebhi.com isn't redirecting to mobile site on Firefox OS

Categories

(Web Compatibility :: Mobile, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: haseeb, Assigned: haseeb)

References

()

Details

(Whiteboard: [mobile-compat-form][country-in][clientsniff][sitewait])

Site: http://www.yebhi.com/
yebhi.com isn't redirecting to mobile site on Firefox OS

:: Steps To Reproduce

1.Open Firefox browser 
2.Enter yebhi.com

:: Expected Result

http://m.yebhi.com/index.aspx?221 mobile site,  it gets redirected for Android

:: Actual Result

http://www.yebhi.com/index.aspx?221 desktop site

:: Additional Information

Software Version: Firefox OS simulator 4.0
Reporter's User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36
There's an inline script that determines if the browser should redirect to the mobile site:

if (GetCookie('mfullsiate') != 1) {
var furlmobile=document.URL.split('.com');			
(function(a, b) { if (/(android|...[snip].....zte\-/i.test(a.substr(0, 4))) window.location = b })(navigator.userAgent || navigator.vendor || window.opera, 'http://m.yebhi.com'+furlmobile[1]);
}

We need them to update to the latest version of http://detectmobilebrowsers.com/download/javascript and it should work without problems.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] → [mobile-compat-form][country-in][clientsniff][contactready]
Assignee: nobody → Abdulraufhaseeb
Status: NEW → ASSIGNED
https://twitter.com/haseeb_offline/status/424052731037224960
Whiteboard: [mobile-compat-form][country-in][clientsniff][contactready] → [mobile-compat-form][country-in][clientsniff][sitewait]
A Tech Lead at Yebhi.com
https://www.linkedin.com/pub/avadesh-chauhan/16/416/4A9
His twitter account seems not very bi-directional
https://twitter.com/avi12aug

Maybe haseeb you could give it a shot.
Flags: needinfo?(Abdulraufhaseeb)
Done https://twitter.com/haseeb_offline/status/497727647451860993
Flags: needinfo?(Abdulraufhaseeb)
fixed
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.