Reputation: 7675
I get a ton of misc errors from misc Chrome Extensions in my console. If I go to settings and check "Selected Context Only" then they go away and everything is good.
If I ever close that tab, or open a fresh Chrome window, "Selected Context Only" is unchecked again.
Is it possible to get this setting persisted forever and ever?
Upvotes: 34
Views: 2890
Reputation: 194
Enable below option in the console settings. It will persist the "Selected Context Only"
Upvotes: -1
Reputation: 1564
You can use the filter option as a workaround. For example I was able to hide warnings like 'DevTools failed to load SourceMap: Could not load content for...' with regex -/failed\sto\sload\ssource\smap/
Also you can find a documentation for filtering here https://developers.google.com/web/tools/chrome-devtools/console/reference#filter
Upvotes: 3
Reputation: 1616
I have the same problem with chrome and brave browser. To avoid showing the error messages comming from webpack dev server like the following screenshot. I defined negative filter in Console to filter them out.
/^((?!sockjs).)*$/
Upvotes: 0