Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable Site Isolation in Google Chrome?

Chrome 67 has enabled Site Isolation on Windows, Mac, Linux, and Chrome OS, which increases memory usage by 10-13% and introduces some problems for web developers:

  • Full-page multi-frame layout is no longer synchronous, since the frames of a page may be spread across multiple processes,
  • beforeunload event handlers are not working in cross-site subframes and unload event handlers may have issues with postMessage,
  • DevTools' Network panel does not show cookies and other request headers for cross-site subresource requests.

I want to save RAM more than extra security. How to disable Site Isolation?

like image 461
niutech Avatar asked Jul 13 '18 07:07

niutech


People also ask

How do I disable Chrome isolation?

You can also try opting out of field trials of Site Isolation to diagnose bugs, by visiting chrome://flags#site-isolation-trial-opt-out, choosing "Disabled (not recommended)," and restarting.

What is site isolation in Chrome?

Starting in Chrome 92, Site Isolation will treat non-default values of the COOP header on any document as a signal that the document's underlying site may have sensitive data and will start isolating such sites.

What is isolation mode in inspect element?

The isolation mode gives developers more focus on a container and its contained offspring. This includes: Special overlay to highlight the container on the inspected page. Blur/mask the non-container area to bring more focus to the container.


1 Answers

According to the docs, you can disable Site Isolation by adding Chrome command line switch:

chrome.exe --disable-features=IsolateOrigins,site-per-process

Another way is to go to chrome://flags/#site-isolation-trial-opt-out and select Opt out.

In Chrome 68+, you can go to chrome://process-internals to verify that Site Isolation is disabled.

like image 97
niutech Avatar answered Oct 11 '22 08:10

niutech