Page 1 of 1

Re: Hide Screencast in DevTools

Posted: Sat May 26, 2018 7:11 am
by salvadordf
Hi Stefan,

I'm glad you like CEF4Delphi. :D

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');
Here's the complete command line parameters list. Not all of them work with CEF3 :
https://peter.sh/experiments/chromium-c ... -switches/

Re: Hide Screencast in DevTools

Posted: Sat May 26, 2018 2:48 pm
by salvadordf
Nice hack!

I thought the only way to modify a PAK file was to rebuild the CEF binaries.