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.

DevTools "allow pasting"

Post Reply
michal@dorfin.waw.pl
Posts: 41
Joined: Sun Feb 05, 2017 8:53 am

DevTools "allow pasting"

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

Re: DevTools "allow pasting"

Post by salvadordf »

Hi,

This setting works :
https://stackoverflow.com/questions/77587864/disable-paste-protection-in-chrome-devtools
michal@dorfin.waw.pl
Posts: 41
Joined: Sun Feb 05, 2017 8:53 am

Re: DevTools "allow pasting"

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

Re: DevTools "allow pasting"

Post 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.
Post Reply