提示活动脚本已禁用消息 [英] Prompt Active Scripting disabled message
本文介绍了提示活动脚本已禁用消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我使用php和mysql开发了网站,并且我也使用过JavaScript。我尝试在不同的计算机上运行此网站,并禁用其浏览器的活动脚本。所以javascript无法在该系统上运行。现在我想要的是,如果用户的javascript /活动脚本被取消,那么它应该提示用户启用它或它自动启用。我怎么能这样做?
解决方案
你不能自动启用它,但你可以使用< noscript>留言。或通过javascript删除的任何元素。
@Dormilich
具体代码是什么意思
@mukeshrasm
确实,如果我想关闭JavaScript,除了我之外没有人可以将其重新打开
Hi
I have developed website using php and mysql and in that I have used JavaScript as well. I tried to run this website on different computer and set its browser''s Active Scripting disabled. so javascript is not working on that system. Now what i wanted that if user''s javascript/active scripting is disbaled then it should prompt user to enable it or it enable automatically. How can i do this?
解决方案
you can?t enable it automatically, but you can leave a note either using <noscript> or any element that you remove via javascript.
@Dormilich
How mean what will be the exact code to do it
@mukeshrasm
indeed, if I want JavaScript off, no-one but me is allowed to turn it back on.
这篇关于提示活动脚本已禁用消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文