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)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hsteen, Unassigned)

References

()

Details

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

Attachments

(1 file)

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
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]
Status: UNCONFIRMED → NEW
Ever confirmed: true
Mike, you did the outreach last time - can you handle this?
Flags: needinfo?(miket)
@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.
Bug filled in their google form.
Thanks!
Whiteboard: [mobile-compat-form] [country-es] [clientsniff] [contactready] → [mobile-compat-form] [country-es] [clientsniff] [sitewait]
Flags: needinfo?(leonard.camacho)
Problem is gone - hope it remains fixed :)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: