Tuesday, November 10, 2015

Detect Javascript On/Off, With Notification

<script type="text/javascript"> document.write("Welcome, you have Javascript on.") </script> <noscript>JavaScript is off. Please enable to view full site.</noscript>

If JavaScript is on the user gets a welcome message. If off, the user is instructed to turn it on.

No comments:

Post a Comment

How to Put Google Adsense Below Post Title in Blogger?

Adsense is used by  majority  of expert bloggers for their website monetization because it is a cookie based contextual advertising syste...