let me = document.querySelector('script[src$="lib.js"]');
me.getAttribute("site");
In addition to the answers above, this script will let you have more freedom to change the script's file name or path
let me = document.querySelector('script[src$="lib.js"]');
me.getAttribute("site");
In addition to the answers above, this script will let you have more freedom to change the script's file name or path