[webkit-help] Disable JavaScript dynamically

Ariya Hidayat ariya.hidayat at gmail.com
Thu Feb 11 06:56:18 PST 2010


> How can I disable JavaScript from Webkit dynamically ?
> For certain situations, i dont want the JavaScript to be enabled.

Usually via the settings, e.g. if you use the Qt port, then using
QWebSettings::JavascriptEnabled
(see http://doc.qt.nokia.com/4.6/qwebsettings.html#WebAttribute-enum).

Next you may want to give more detailed information of which port you are using.

If you are new to this list, please read bit.ly/webkit-gethelp first.



-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat


More information about the webkit-help mailing list