Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Hide Screencast in DevTools

Post Reply
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Hide Screencast in DevTools

Post 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/
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Hide Screencast in DevTools

Post by salvadordf »

Nice hack!

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