Catch console event of ui window

Hello,

When you open a ui window with an iframe containing an url, the console logs of the url print in your index.html :

                       webix.ui({
                            view:"window",	
                            head:"This is a debug window. Press ESC to close",
                            move:true,
                            close:true,
                            position:"center",
                            width:1200,
                            height:700,
                            modal:true,
                            body:{
                                view:"iframe", src: "lol fake url"
                            },
                        }).show();

In javascript it is possible to cach log event of index.html by doing :

            (function(){ 
				console.log = function(txt) {
				    webix.message('log : ' + txt);
				}
			})();

But… This function does not actually works for console events sent from the url in the ui window. Is there any chance I could achieve that ?

Thanks !