[webkit-gtk] Modifying HTML before loading it in a WebView

Michael Gratton mike at vee.net
Sat Oct 8 03:25:23 PDT 2016


On Fri, Oct 7, 2016 at 6:25 PM, Carlos Garcia Campos 
<cgarcia at igalia.com> wrote:
> El vie, 07-10-2016 a las 14:45 +1100, Michael Gratton escribió:
>> 
>> 
>>  I'm reluctant to re-enable JS because of the secuity angle, but was
>>  wondering if, aside from playing wack-a-mole by removing SCRIPT
>>  elements on HTML mail, if there is some mechanism to allow
>>  WebKitUserContentManager scripts and 
>> webkit_web_view_run_javascript()
>>  to function, while preventing JS in the HTML from executing?
> 
> That's a very good point, we'll check if that's possible, or wer'll 
> try
> to make it possible otherwise.

That would be great, cheers!

//Mike

-- 
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>




More information about the webkit-gtk mailing list