Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

'Browser don't support JS' - message

#114

Hi,

One someone load a cappuccino app with a browser that doesn't have JS or simply disabled JS... you just see the spinning wheel for a long time... like there is something that is loading...

I just want to avoid those messages from 'I waited a half hour but noting happened' and I want to avoid that users went away...

My suggestion is that the index.html file add a noscript tag. The spinning wheel may only be visible if there is supported JS (so: JS -> write '' ) and the noscript tag (one there isn't JS supported) should show a nice, centered, colored message 'Your browser doesn't support JavaScript, please enabled JavaScript or use another browser (or update to the newest version' Or whatever...

http://www.w3schools.com/TAGS/ta...

Reported by CodingMammoth · October 20th, 2008 @ 10:34 PM

State: resolved
Milestone: 0.7
Assigned to: Ross Boucher Ross Boucher

Activity

  1. Nabil Elisa
    Nabil Elisa

    Hi,

    I thought I'd have a go at this so I forked cappuccino and made the changes that I thought were necessary. You can have a look at http://github.com/nabs749/cappuc...

    I'm new to Cappuccino and GitHub so please let me know if I've done anything wrong (or if you think I could do something better!)

    Regards Nabil

    February 1st, 2009 @ 04:40 PM

  2. Nabil Elisa
  3. ronin-756 (at lighthouseapp)
  4. Ross Boucher
    Ross Boucher
    • Tag changed from javascript, noscript to @working-on, javascript, noscript

    We're just waiting on building a page to host at Cappuccino.org right?

    February 15th, 2009 @ 11:12 AM

  5. CodingMammoth
    CodingMammoth

    Will the url to that page be customizable? I guess that it could be use-full in some situations to link to a own page with your logo, alternatives etc... and default the page of Cappuccino.org

    February 15th, 2009 @ 12:25 PM

  6. Ross Boucher
    Ross Boucher

    Well, it will literally just be a URL in the index.html file. You can do whatever you want in index.html, so you could certainly change the URL.

    February 15th, 2009 @ 12:47 PM

  7. Nabil Elisa
    Nabil Elisa

    I agree with Ross above - the user will be able to overwrite this link very easily if they so choose.

    Anyway, I've put together some pages (see noJS.zip). I've assumed that the cappuccino.org site has PHP support. You will need the sites CSS and images folder to make my pages render properly, and I'm sure you will need to fiddle them a bit before uploading them.

    Let me know if you have any feedback.

    February 21st, 2009 @ 02:50 PM

  8. Stephen Ierodiaconou
    Stephen Ierodiaconou
    • Tag changed from @working-on, javascript, noscript to @to-review, javascript, noscript

    is this going to end up in 0.7?

    March 23rd, 2009 @ 01:17 PM

  9. Ross Boucher
    Ross Boucher
    • Milestone set to 0.7
    • State changed from new to assigned
    • Assigned user set to Ross Boucher

    Just uploaded it here for testing:

    http://cappuccino.org/noscript/

    I will play around with it a bit more, but I think this can definitely get put into 0.7.

    Things I want to add are: 1) possibly pictures 2) links to all the browsers in case detection isn't working 3) a link for a google search in the event that these aren't kept up to date particularly well.

    March 23rd, 2009 @ 01:42 PM

  10. Ross Boucher
    Ross Boucher
    • State changed from assigned to resolved

    March 24th, 2009 @ 10:17 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.