I have a web page "A" that I have complete control over, including that it loads MathJax 3 that I can configure. This page is loaded in an iframe within page "B", and I do not have control over page "B". Page "B" also loads MathJax 3. And page "B" has at least one piece of math content that defines a macro. Let's say:
```
<span>\(\newcommand{\definiteintegral}[4]{\int_{#1}^{#2}\,#3\,d#4}
\)</span>
```
The iframe doesn't load until everything else in page "B" has loaded.
Is there anything I can do with script in page "A" to access all such new commands from the MathJax instance in page "B", and load them into the instance of MathJax that is running in the iframe in page "A"?
My goal would be for content in page "A" to be able to use the `\definiteintegral{}{}{}` macro even when it's never been defined directly in page "A".