Re: Hide Screencast in DevTools
Posted: Sat May 26, 2018 7:11 am
Hi Stefan,
I'm glad you like CEF4Delphi.
As far as I know, the DevTools can't be configured to show or hide some of its features, however, other people removed some screen cast features in Chrome by disabling the "load-media-router-component-extension" flag.
I've never done that but you can try it in CEF4Delphi by adding this line before the GlobalCEFApp.StartMainProcess call in the DPR :
Here's the complete command line parameters list. Not all of them work with CEF3 :
https://peter.sh/experiments/chromium-c ... -switches/
I'm glad you like CEF4Delphi.

As far as I know, the DevTools can't be configured to show or hide some of its features, however, other people removed some screen cast features in Chrome by disabling the "load-media-router-component-extension" flag.
I've never done that but you can try it in CEF4Delphi by adding this line before the GlobalCEFApp.StartMainProcess call in the DPR :
Code: Select all
GlobalCEFApp.AddCustomCommandLine('--load-media-router-component-extension', '0');
https://peter.sh/experiments/chromium-c ... -switches/