But this doesn't work for a script which is not linked, for example:
<!-- Some html here -->
//Some script here
The script here is coded inside the html page and not linked from an external .js file. As you can see, I'm looking for a way to disable that and only that
#script before it gets loaded.
Thanks in advance for your help.