Nov 23, 2016 · document.getElementsByTagName("script") gives you an Array of scripts. Just iterate through it and locate the script using any heuristic.
People also ask
How to remove script from page in JavaScript?
Where does the script tag go in HTML?
Where to put JavaScript in HTML?
How to remove script tag in jQuery?