notepadlet
notepadlet copied to clipboard
chrome console error: Not allowed to navigate top frame to data URL:
google has removed "content-initiated top frame navigations to data URLs" from its latest chrome-browser (version 60 upwards) . The Console throws the following error:
"Not allowed to navigate top frame to data URL"
, you can see more informations here:
https://developers.google.com/web/updates/2017/06/chrome-60-deprecations
and here
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/GbVcuwg_QjM
The only solution I found to keep using jehna notepadlets was a workaround: I am no longer using them on the top Frame but have to use them inside iframes: https://stackoverflow.com/questions/45603201/window-is-not-allowed-to-navigate-top-frame-navigations-to-data-urls
Did you check yet if the URLs changed inside iframes will appear in the browser's history?
I did not yet check how the browser-history-log might be affected. I can confirm though, that the altered URL can be stored inside the iframe's src without any issues. Once I am done editing the notepadlet, I will "open the Iframed content inside a new window, and from there, the user will be able to save the File. In my case, I guess I can consider this to be a successful workaround , as it allows for the notepadlets to still be used, despite chromes browser restrictions. https://chrome.google.com/webstore/detail/open-frame/kdhjgkkaacdhdioocfbpmhjidbinfajj?utm_source=chrome-app-launcher-info-dialog