I want to get the current js page URL where I am working. The js file is loaded from another domain.
If current domain is www.ab.com and the js file loaded from www.cd.com/test.js?parameter=123 in www.ab.com/product page.
How to get the URL (www.cd.com/test.js?parameter=123).
Please help