Powered By Blogger

Sunday, 28 April 2013

Stop users who disabled JavaScript.


One common way for users to block adverts is to simply disable JavaScript altogether. Although this method is not flawless since some plugins allow users to disable meta redirects; this ought to prove sufficient to deter the majority of users!
<noscript><meta http-equiv="refresh" content="0;url=noscript.php" /></noscript>
where the page noscript.php displays a polite warning to non-JS users requesting they enable JavaScript. Enjoy!

No comments:

Post a Comment