When you enter the wrong address, Chrome displays a gray page that says: "Unfortunately, Google Chrome could not find X. Did you mean Y?"
Since this is not an HTTP page, but one of the functions built into the browser, I canβt put the contents of the script in it and I canβt control it, so my extension is frozen until the user manually goes to another page.
Since the extension should be able to independently control the browser, it is very important that at any time when this page opens, it automatically returns to the page on which I have access to the content of the script, and then a message is displayed instead.
It's impossible?
source
share