'Browser don't support JS' - message
Reported by CodingMammoth | October 20th, 2008 @ 10:34 PM | in 0.7
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...
Comments and changes to this ticket
-
Nabil Elisa February 1st, 2009 @ 04:40 PM
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
-
Ross Boucher February 15th, 2009 @ 11:12 AM
- Tag changed from javascript, noscript to @working-on, javascript, noscript
We're just waiting on building a page to host at Cappuccino.org right?
-
CodingMammoth February 15th, 2009 @ 12:25 PM
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
-
Ross Boucher February 15th, 2009 @ 12:47 PM
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.
-
Nabil Elisa February 21st, 2009 @ 02:50 PM
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.
-
Stephen Ierodiaconou March 23rd, 2009 @ 01:17 PM
- Tag changed from @working-on, javascript, noscript to @to-review, javascript, noscript
is this going to end up in 0.7?
-
Ross Boucher March 23rd, 2009 @ 01:42 PM
- 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.
-
Ross Boucher March 24th, 2009 @ 10:17 PM
- State changed from assigned to resolved
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.