noscript - JavaScript disabled: how to show different messages for mobile and desktop. -


i need display different messages desktop , mobile web sites when javascript disabled.

currently have

<noscript>       <meta http-equiv="refresh" content="0; url=/error.html" /> </noscript> 

and need code (i use pseudocode)

<noscript>     if desktop     <meta http-equiv="refresh" content="0; url=/error.html" />     if mobile     <meta http-equiv="refresh" content="0; url=/mobile-error.html" /> </noscript> 

thanks

is there server backend website? try , mobile browser detection based off of user-agent received connecting browser.

see this stackoverflow post using user agent detect mobile.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -