mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Report blocked navigation requests
This commit is contained in:
parent
b900419810
commit
277d1f8bad
@ -282,6 +282,7 @@ class WebPage(QWebEnginePage):
|
||||
return True
|
||||
if url.scheme() in ('http', 'https'):
|
||||
safe_open_url(url)
|
||||
prints('Blocking navigation request to:', url.toString())
|
||||
return False
|
||||
|
||||
def go_to_anchor(self, anchor):
|
||||
|
Loading…
x
Reference in New Issue
Block a user