One of hundreds of answers available with our premium content service.
A: If you are the author of the HTML code, then you control whether there is any Javascript in the document in the first place. If you want Javascript to run to start with, then stop functions from working later, you can set a boolean property that controls whether the functions execute or not, as below.
… full answer hidden
Premium members click below for full answer
Is there a way to turn Javascript off in the HTML code?
We love social media, but we do not expect you to create yet another public outpost on the Web.