mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-07 06:25:26 -04:00
E-book viewer: Add a right click menu item 'Inspect' that allows you to inspect the underlying HTML/CSS source of the currently displayed content
This commit is contained in:
@@ -188,6 +188,7 @@ class Document(QWebPage):
|
||||
|
||||
# Miscellaneous
|
||||
settings.setAttribute(QWebSettings.LinksIncludedInFocusChain, True)
|
||||
settings.setAttribute(QWebSettings.DeveloperExtrasEnabled, True)
|
||||
self.set_user_stylesheet()
|
||||
self.misc_config()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user