I am currently developing an internal tool and I have a vague memory of a method to prompt for elevated permissions in scripts, allowing cross-site requests if approved. Given that this tool is meant for internal use, this feature could potentially solve a problem I am facing.
Is there anyone who knows how to achieve this?
More specifically, my goal is to retrieve the content of third-party tracking iframes injected into our webpage using JavaScript in order to gather performance analytics data. Since these iframes come from different domains, simply proxying them would distort the accuracy of the information, making that option unfavorable.