Si queremos detectar cuando nuestro iframe cambia de página debemos sobreescribir el evento onLoad. Es importante que una vez capturemos esa navegación volvamos a aplicar el pushState por defecto para que el navegador tenga constancia del histórico. Ejemplo: <iframe onLoad { () => { const pushState = () => { const defaultPushState = iframeContentRef.contentWindow.history.pushState; return function (data: any, title: string, url?: string | null) { //YOUR CODE return defaultPushState.apply(this, [data, title, url]); }; }; iframeContentRef.contentWindow.history.pushState = pushState(); }} src={IFRAME_URL}> </iframe>
Etiqueta: history
Web Platform Installer: The product cannot be installed because a product that it depends on did not install successfully
Este error aparece tras algún fallo en la instalacion de software en Web Platform Installer. Solución: Borrar en el navegador (sí, en el navegador) caché, ficheros temporales, etc... y volver a abrir el Web Platform Installer.