The reasons why I need this are far too complicated for one post =)
You can get all the scripts you are loading in your page and search by name for the right one
Here is your example
If you know the index of the embedded
document.getElementsByTagName('script') you may read the src-attribute of the
<script> and extract the hostname from that src.
©2020 All rights reserved.