Selectively disabling Javascript code in CEF

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Selectively disabling Javascript code in CEF

Postby nvine » Tue Feb 21, 2012 11:20 pm

Hi All,
I would like to know if it is possible to selectively disable Javascript code execution in CEF. For ex, I want to disable the the JS in the page, however, I want to inject my own JS into the page and execute it via
Code: Select all
ExecuteJavaScript
.
Thanks.
nvine
Mentor
 
Posts: 56
Joined: Tue Feb 21, 2012 11:13 pm

Re: Selectively disabling Javascript code in CEF

Postby fddima » Wed Feb 22, 2012 9:23 am

I'm not sure that this is possible.
As workaround you can filter content that loaded and cut all script-related tags/attributes.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 148 guests