It would be nice to have the script tag generated when calling widgetToPageContent have the option to have attributes or be able to at least pass a crossorigin value.
Having my scripts load on a different sub domain prevents me from seeing the full error details when using window.onerror, if setup properly having a crossorigin="anonymous" allows me to then see those error details.
Disclosure: I'm a Haskell and Yesod noob.
It would be nice to have the script tag generated when calling widgetToPageContent have the option to have attributes or be able to at least pass a crossorigin value.
Having my scripts load on a different sub domain prevents me from seeing the full error details when using window.onerror, if setup properly having a crossorigin="anonymous" allows me to then see those error details.
if https://github.com/yesodweb/yesod/blob/master/yesod-core/Yesod/Core/Class/Yesod.hs#L573 ( Githubissues.