Disable javascript

Discussion in 'JavaScript' started by baligena, May 4, 2011.

  1. #1
    is there a way to disable a <script>, I tried the code below but didnt work

    document.getElementByTagName('script')[0].disabled = true;
     
    baligena, May 4, 2011 IP
  2. Jan Novak

    Jan Novak Peon

    Messages:
    121
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    0