Hi,

Look at the allowPopUp() function in bindings/js/JSDOMWindowBase.cpp

You can disable window.open() in settings. Check the
Settings::setJavaScriptCanOpenWindowsAutomatically. If you are using
QT, you can do it with QWebSettings.

Regards,
Kwang Yul Seo


On Thu, Jun 18, 2009 at 1:45 AM, Zongheng Zhou<[email protected]> wrote:
> Hi,
> I am using the QT port of webkit. Instead of doing anything else for the
> Javascript 's window.open(), I only want to log the URL being requested.
> Can anybody tell me how I can change the behavior of the window.open?
> Thanks,
>
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to