Blocked autofocusing on a <input> element in a cross-origin subframe
问题 In our web app/site, I need to use an iframe or a popup window to validate if the current token is valid and refresh it if no. So, I create an iframe, and set the property 'src' to the validation link such as "https://<domain_name>/auth?client_id=xxx" which is different to our app domain https://<app_domain>. and the return value will like "https://<domain_name>/code=yyyy" document.createElement('iframe'); and I added the message handle for the web app/site, like window.addEventListener(