mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 10:36:10 +01:00
Report blocked navigation requests
This commit is contained in:
parent
b900419810
commit
277d1f8bad
1 changed files with 1 additions and 0 deletions
|
|
@ -282,6 +282,7 @@ def acceptNavigationRequest(self, url, req_type, is_main_frame):
|
|||
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…
Reference in a new issue