I have a js script file being loaded async from a function inside an html file. This has been done in a way which make me out of control of any <script>
id, which mean I am NOT able to use getElementById.
The script file being loaded is:
<path to file>/my_script.js?name=23
What I would like to do is to parse the 'name' inside the script file at the moment the file is being loaded. I have full control over the script file but no control over the html file. Is it possible for the script to get hold in this name - not using getElementById or getElementByName?