S
Steve Swift
Is there an event which is triggered when JavaScript is about to be
disabled?
disabled?
but if javascript is disabled, there will be no events any more.
while the tag "<noscript>" will be rendered under such case
thanks
luke
but if javascript is disabled, there will be no events any more.
Swifty said:Ah, but it isn't disabled yet, but it soon will be, hence "about to
be". The user has told the browser to disable Javascript, but it
hasn't disabled it yet.
In my webpage, a few controls have been disabled by previous
Javascripted events. If the user now disables Javascript, they will no
longer be able to use the page fully, as if it had been loaded with
JavaScript disabled, so I'd like there to be an event which the
browser triggers, which runs my "about to be disabled" code, then it
disabled Javascript.
Unfortunately, I don't think there is such an event.
Ah, but it isn't disabled yet, but it soon will be, hence "about to
be". The user has told the browser to disable Javascript, but it
hasn't disabled it yet.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.