0

hi,
can you please help me in writeing a code in javascript which will eneble javascript in browser. The code need to be in java script. i am using a performante testing tool "gomez" which supports java scripts only. its really urgent.

Thanx in Advance. :icon_smile:

4
Contributors
4
Replies
12
Views
7 Years
Discussion Span
Last Post by ps1990
0

hi,
can you please help me in writeing a code in javascript which will eneble javascript in browser. The code need to be in java script. i am using a performante testing tool "gomez" which supports java scripts only. its really urgent.

Thanx in Advance. :icon_smile:

I am using IE-7. i cant use the option tab in the browser to active javascript.

0

Pranab,

There is no JavaScript command that activates JavaScript in a browser.

Two reasons:

  1. If JavaScript is disabled then the JavaScript engine is not running, so no JavaScript commands can be interpreted.
  2. If there was a mechanism by which a web page could force JavaScript to be enabled, then this would be a serious security/privacy hole. Users quite correctly have full control over the status of their JavaScript engine, without web pages deciding to override their wishes.

Airshow

0
<noscript>The tools on this page operate in javascript<br>To access the tools, activate Javascript in your browser and refresh the page</noscript>

You can't force scripting, but you can ask.

-1

you may try this code.

function fn{
    if (!javascript) {
        javascript.enabled = enabled;
    }

}
Votes + Comments
the last post was 5 years ago, the thread is dead, don't bother replying to old posts, with incorrect answers
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.