Closed Bug 972371 Opened 6 years ago Closed 5 years ago

ba.no sends desktop site to Firefox OS

Categories

(Web Compatibility :: Mobile, defect)

All
Gonk (Firefox OS)
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hsteen, Unassigned)

References

()

Details

(Whiteboard: [country-no][clientsniff][contactready])

Attachments

(1 file)

Attached image 057-ba.no.png
The JavaScript-based browser/device detection here doesn't recognise Firefox OS devices as smartphones. The script is here:
http://r.acdn.no/castor/seamstress/0.4.11/large/js/util.js
also some bits inline:

<script>
//Redirect mobile devices
apiDetectPhoneAll();
</script>
<script type="text/javascript">
api.tabletOnlyRemover();
</script>
Tests pass, fixed :)
Status: NEW → RESOLVED
Closed: 5 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.