Closed Bug 981390 Opened 6 years ago Closed 2 years ago

friv.com has broken layout in Firefox OS

Categories

(Web Compatibility :: Mobile, defect, P5)

All
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: besnik, Unassigned, Mentored)

References

()

Details

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

Actually has no layout at all. The screenshot made shows nothing. It needs to be verified on a real device first.
Assignee: albanian → nobody
Component: Albanian → Mobile
Assignee: nobody → albanian
It seems that this is built in Flash. Is Firefox OS supposed to open Flash sites without any extension to its browser?
This site is just a frameset, inside the frame is an IFRAME embedding 

http://web.ad2games.com/applift/friv/v2/redirect.html

which is a blank, white page that pulls in http://ad2games.com/widgets/26589_1315048170.js - which contains this device detection:

function startWidget()
{
    setTimeout(function () {

        var agents = {"iphone":2,"ipad":3,"android":4};

        for(i in agents) {
            if(navigator.userAgent.match(RegExp(i, "i"))) {
               window.open ('http://ad2games.com/widgets/26589_1315048170/'+agents[i]+'/','_self',false)
            }
        }

    }, 500);
}

startWidget();

As Firefox OS doesn't match any of those, it gets only a blank page.

Now, it's possible that this is more or less by design - this looks like a site that serves apps/games for download on Android and iOS platforms. It would still be wise to show a nicer fallback for other platforms, not to mention that one day they might also want to offer Firefox OS apps ;-) At this point in time, however, this is low priority for us.
Priority: -- → P5
Whiteboard: [country-al] → [country-al][clientsniff][contactready][mentor=hsteen]
Mentor: hsteen
Whiteboard: [country-al][clientsniff][contactready][mentor=hsteen] → [country-al][clientsniff][contactready]
Elio,

this needs a bit of work too. TIA
Flags: needinfo?(ping)
Friv is pretty popular in Albania (my 8 year old brother plays a lot of stuff there)
I can shoot them an email regarding Firefox OS (at least having a fallback saying "We support only Android and iOS as of now)

What do you think?
Flags: needinfo?(ping)
(In reply to Elio Qoshi  [:Elio] from comment #4)
> Friv is pretty popular in Albania (my 8 year old brother plays a lot of
> stuff there)
> I can shoot them an email regarding Firefox OS (at least having a fallback
> saying "We support only Android and iOS as of now)
> 
> What do you think?

Is that a confirmation that you can reproduce the bug? If so, and if you don’t mind sending them an email, please do so.
Yes, it gives me a blank violet page on my Flame (where as it fully works as an app store on Android)
Will do.
Friv.com is a site with great games. I love online games and i play it every day on http://huzfriv.com/
Closed as a bug related to Firefox OS, a project no longer maintained.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.