Closed
Bug 1116139
Opened 10 years ago
Closed 10 years ago
atrapalo.com overlay banner too big for screen on Firefox OS
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hsteen, Unassigned)
References
()
Details
(Whiteboard: [mobile-compat-form] [country-es] [clientsniff] [sitewait])
Attachments
(1 file)
|
23.04 KB,
image/jpeg
|
Details |
Site: http://atrapalo.com
atrapalo.com overlay banner too big for screen on Firefox OS
:: Steps To Reproduce
Bug 888207 is still fixed, we get the nice responsive site - but there's some script or backend that still assumes Firefox OS smartphones have a desktop browser, and places a big banner encouraging you to become a member of the site or something like that on top of the nice and responsive content.
:: Expected Result
Site
:: Actual Result
Banner
:: Additional Information
Software Version: 2.0
Reporter's User Agent: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0
| Reporter | ||
Comment 1•10 years ago
|
||
| Reporter | ||
Comment 2•10 years ago
|
||
Here's some code from http://www.atrapalo.com/js_new/r141229135413/dist/modules/front/home/home.main.js
define("front/widgets/leadsAcquisitionPopUp/leadsAcquisitionPopupAsyncLoader",[],function(){return{start:function(){this.mustShowPopUp()&&this.show()},mustShowPopUp:function(){return!this.isSmartphone()&&!this.userHasDomainCookies()}
and
,isSmartphone:function(){return/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase())}
It would be better and simpler to just check if the screen is wide enough to accomodate the fixed-width banner. One might even choose to make the banner responsive too.
Whiteboard: [mobile-compat-form] → [mobile-compat-form] [country-es] [clientsniff] [contactready]
| Reporter | ||
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Comment 3•10 years ago
|
||
Mike, you did the outreach last time - can you handle this?
Flags: needinfo?(miket)
Comment 4•10 years ago
|
||
@Hallvord, my Spanish is so painfully rusty. ^_^
@Leonard, would you mind helping out with outreach on this? The analysis and suggested fix is in Comment #2.
Comment 5•10 years ago
|
||
Bug filled in their google form.
Comment 6•10 years ago
|
||
Thanks!
Whiteboard: [mobile-compat-form] [country-es] [clientsniff] [contactready] → [mobile-compat-form] [country-es] [clientsniff] [sitewait]
Updated•10 years ago
|
Flags: needinfo?(leonard.camacho)
| Reporter | ||
Comment 7•10 years ago
|
||
Problem is gone - hope it remains fixed :)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
| Assignee | ||
Updated•1 year ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•