Is there an event handler for when user disables javascript in their browser, ideally something that could be implemented in/as Google Chrome plugin?
In my case, I'd like to redirect user to new page if they were to disable javascript in their browsers.
You can put a <meta>
tag inside a <noscript>
block:
<noscript>
<meta http-equiv="refresh" content="0; url=http://your.url.com/">
</noscript>
Put that in the <head>
somewhere, close to the top because some older browsers were touchy about <meta>
tags sometimes (maybe not a refresh tag).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.