Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can my web page open a new tab in a separate process?

process separate Tab web page
0
Posted

How can my web page open a new tab in a separate process?

0

Google Chrome has a multi-process architecture, meaning tabs can run in separate processes from each other, and from the main browser process. New tabs spawned from a web page, however, are usually opened in the same process, so that the original page can access the new tab using JavaScript. If you’d like a new tab to open in a separate process: • Open the new tab with about:blank as its target. • Set the newly opened tab’s opener variable to null, so that it can’t access the original page. • Redirect from about:blank to any URL on a different domain, port, or protocol than that of the page spawning the pop-up. For example, if the page spawning the pop-up is on http://www.example.com/: • a different domain would be http://www.example.org • a different port would be http://www.example.com:8080 • a different protocol would be https://www.example.com Google Chrome will recognize these actions as a hint that the new and old pages should be isolated from each other, and will attempt to load

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123