开发者

Enabled browser javascript using code

How do i enabled browser javascrip开发者_开发百科t using code?

using java,gwt or javascript


Enabling javascript is a user preference and do not try to change that.

The best possible way will be to detect whether javascript is enabled or no and show the user a message indicating that script is turned off and they won't be able to access the full funcitonality of the page.


You can't.

The reason there is an option to turn off java and javascript it to prevent code from running client-side. You cannot use client-side code on a machine where client-side code has been disabled to enable client-side code.


That's depends...

No as developer view, that is not possible otherwise that would be security breach on client-side and that's very uncool.

But yes as hackers view, for that you have to write your own bash or shell script depending on the environment and run it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜