I found a solution. Just created an iframe with my hands
Here is the script
class Brouser{
constructor(Game){
this.game = Game;
this.createFrame();
}
createFrame(){
this.iframe = $('<iframe>');
this.iframe
.attr('sandbox', 'allow-scripts')
.attr('style', 'position: absolute; border: none; left: 0px; top: 0px; width: 100%; height: 100%;')
.appendTo('body');
this.hide();
}
hide(){
this.iframe.hide();
}
goToUrl(url){
this.iframe.attr("src", url);
this.show();
}
show(){
this.iframe.show();
}
}