RESOLVED INVALID 76416
[Qt] QML WebView should be able to intercept link click
https://bugs.webkit.org/show_bug.cgi?id=76416
Summary [Qt] QML WebView should be able to intercept link click
Damian Jansen
Reported 2012-01-16 18:59:48 PST
While using a QML webview in an application, the programmer should be able to control the navigation by intercepting clicks on the links. Potential uses cases : * force the user to navigate a certain site/domain Example : The user is allowed to navigate in the job.mycompany.com domain, if he clicks on a link that's external to the job domain, we could show a popup with appropriate message * allow to launch the platform browser when the user click on a link A signal similar to Text Element "onLinkActivated" should be available. [From https://bugreports.qt.nokia.com/browse/QTBUG-21180]
Attachments
Caio Marcelo de Oliveira Filho
Comment 1 2012-03-27 13:48:11 PDT
I think this is covered by the signal navigationRequested. See https://bugs.webkit.org/show_bug.cgi?id=72976 and further commits improving QWebNavigationRequest class (which contains information about the request).
Jocelyn Turcotte
Comment 2 2014-02-03 03:19:39 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.