Is it possible to get the origin that a script tag was loaded from?
Note, I don't want the src
of the script tag as that doesn't include redirection.
I have found post like JavaScript - How do I get the URL of script being called? but this are all based off identifying the script src rather than the origin the script was eventually loaded from