Differentiating between App Js and User Js in CEF

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Differentiating between App Js and User Js in CEF

Postby aasmagarg » Wed Jun 15, 2016 5:33 am

Hi,

I have integrated CEF 2526 with my application. I want to execute my application js and block only user js when Js is disabled.
Currently in CEF, is there any way to do it ?

Regards,
Aasma
aasmagarg
Techie
 
Posts: 22
Joined: Sun Mar 20, 2016 11:42 pm

Re: Differentiating between App Js and User Js in CEF

Postby magreenblatt » Wed Jun 15, 2016 12:36 pm

No, you would need to use some other approach for disabling user JS. For example, filter the HTML content and remove <script> tags.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 70 guests