Wednesday, 15 February 2012

Web-app with AngularJS: Show error-page in case JavaScript deactivated in browser -



Web-app with AngularJS: Show error-page in case JavaScript deactivated in browser -

in case user has deactivated javascript in browser, show error-message angularjs-weppapp can not shown.

my first thought doing show error-message default , replace angular- startpage when javascript activated in browser.

my questions: there improve thought and/or there standard-way handle problem deactivated javascript , angularjs-apps.

the <noscript></noscript> tag executed if javascript disabled in browser.

the <meta http-equiv="refresh" content="0;url=http://www.domain.com/javascriptdisable.html"> tag executed redirect page client side when content removed page redirect client updated page.

so play smart

in head section of html tag

<head> <noscript> <meta http-equiv="refresh" content="0;url=http://www.domain.com/javascriptdisable.html"> </noscript> </head>

javascript angularjs

No comments:

Post a Comment