script error
script error? try open http://happygift.uniqlo.com/app/m/ or http://happygift.uniqlo.com/app/ and choose "Tokyo" radio button, it won't work. other browsers can do.
Chosen solution
the problem is the flash player, not firefox. To fix the problem:
1. to go to a website that have a flash video, such as youtube 2. right click on the video then select "global settings", this will open up the flash player setting manager 3. click on the advance tab 4. under "browsing data and settings", click "Delete All".
that is it , u will notice firefox wil run smoothly once again. if after some time firefox slow responding again, just do the same thing to fix it. goodluck!!!
Read this answer in context 👍 0All Replies (10)
For me, Tokyo button on the /m page (first link) doesn't work on Firefox desktop or mobile, and the other page (second link) works on both. I haven't studied the pages in detail to try to understand the difference.
Modified
This doesn't work: e=document.getElementsByName("q1");
Error: ReferenceError: i is not defined Source File: http://happygift.uniqlo.com/js/happygift.js Line: 1
sorry, I forgot to mention this: it works on desktop, I got error in both Firefox for Android and Beta (Android).
It sounds as though your results when clicking the Tokyo button are different than mine:
Platform | Page | Your Result | My Result |
---|---|---|---|
Desktop | /app | Good | Good |
Desktop | /app/m | Good | Fail |
Mobile | /app | Fail | Good |
Mobile | /app/m | Fail | Fail |
Is this your site?
no, Sir. just curious why only Firefox fail this script :)
This code seems to work (define function i() before using it and change the ',' delimiters in the onclick to ;).
if(document.getElementById("quiz")){function i(){var e=document.getElementsByName("q1"),t=!1;for(var n=0;n<e.length;n++)if(e[n].checked){t=!0;break}t?this.id=="q2-c1"?window.location.href="/app/m/lot":window.location.href="/app/m/lose":alert("Please Answer Q1!")}var e=document.getElementById("q2-c1"),t=document.getElementById("q2-c2"),n=document.getElementById("q2-c3"),r=document.getElementById("q2-c4");e.onclick=i;t.onclick=i;n.onclick=i;r.onclick=i;}
thank you all for your concern honestly, this is not my site, I am just curious why Firefox fail this site can we just close this case?
Because the site sends Firefox incorrect code. This is commonly known in programming as "garbage in garbage out".
Modified
You can contact the website and ask them to look into this and possibly point them to this forum thread for more information.
Chosen Solution
the problem is the flash player, not firefox. To fix the problem:
1. to go to a website that have a flash video, such as youtube 2. right click on the video then select "global settings", this will open up the flash player setting manager 3. click on the advance tab 4. under "browsing data and settings", click "Delete All".
that is it , u will notice firefox wil run smoothly once again. if after some time firefox slow responding again, just do the same thing to fix it. goodluck!!!