Page 1 of 1

DevTools "allow pasting"

Posted: Tue Jan 09, 2024 8:41 am
by michal@dorfin.waw.pl
Hi,

is there a way to disable the new feature in DevTools that prevents from pasting unless user inputs: "allow pastiung" in devtools console.
If not - is there any command that I could fire after browesr creation or before createing devtools

Re: DevTools "allow pasting"

Posted: Tue Jan 09, 2024 12:39 pm
by salvadordf
Hi,

This setting works :
https://stackoverflow.com/questions/77587864/disable-paste-protection-in-chrome-devtools

Re: DevTools "allow pasting"

Posted: Wed Jan 10, 2024 9:20 am
by michal@dorfin.waw.pl
Thank You.
But after restarting my app - this option is enabled by default.
So is there any CEF command that I could execute after every creation of the browser, so I don't have to turn it off manually.

Re: DevTools "allow pasting"

Posted: Wed Jan 10, 2024 4:30 pm
by salvadordf
I can't find any way to disable the warning with command line switches, preferences or anything like that but I checked that the setting is saved unless the application uses RAM for the cache.