diff --git a/qutebrowser/browser/webpage.py b/qutebrowser/browser/webpage.py index 02639a12f..9199e22eb 100644 --- a/qutebrowser/browser/webpage.py +++ b/qutebrowser/browser/webpage.py @@ -527,11 +527,7 @@ class BrowserPage(QWebPage): request: QNetworkRequest typ: QWebPage::NavigationType """ - if typ not in (QWebPage.NavigationTypeLinkClicked, - QWebPage.NavigationTypeOther): - # If the navigation request isn't a result of clicking or hinting - # (form submit, back/forward, reload), we're not interested in - # handling it ourselves. + if typ != QWebPage.NavigationTypeLinkClicked: return True url = request.url() urlstr = url.toDisplayString()