Grandas
Grandas

Reputation: 549

Devtools console - Prevent console from switching context to iFrame automatically?

Looks like Chrome introduced a feature (somewhat recently?) that automatically switches the context of the console to whatever is selected on the DOM explorer. This causes some annoying issues as iFrames start loading and are selected automatically after a page refresh.

Is there any way to keep the context at top level?

Example of what happens after a page refresh below:

Example of this behaviour

EDIT: I've tried the suggestion from @wOxxOm and disabled the Strict site isolation flag. Also disabled Top document isolation for good measure, but the issue still seems to happen. enter image description here

Upvotes: 1

Views: 464

Answers (1)

Paweł Stępień
Paweł Stępień

Reputation: 11

Disabling 'Top document isolation' flag seems to work fine.

Upvotes: 1

Related Questions