I am not asking for guarantees. Just to know where the Javascript is that changes window.location so I can replace it with window.open
Discourse actually has a new config variable that allows it to be displayed in iframes, and it works. Look at https://qbix.com/ecosystem for instance, or https://intercoin.app