[webkit-dev] Javascript window.open()

KwangYul Seo kwangyul.seo at gmail.com
Tue Jun 23 09:56:29 PDT 2009


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.

Kwang Yul Seo

On Thu, Jun 18, 2009 at 1:45 AM, Zongheng Zhou<zongheng.zhou at gmail.com> 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
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

More information about the webkit-dev mailing list