mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -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:
parent
506f08be46
commit
b358edb5e0
@ -188,6 +188,7 @@ class Document(QWebPage):
|
|||||||
|
|
||||||
# Miscellaneous
|
# Miscellaneous
|
||||||
settings.setAttribute(QWebSettings.LinksIncludedInFocusChain, True)
|
settings.setAttribute(QWebSettings.LinksIncludedInFocusChain, True)
|
||||||
|
settings.setAttribute(QWebSettings.DeveloperExtrasEnabled, True)
|
||||||
self.set_user_stylesheet()
|
self.set_user_stylesheet()
|
||||||
self.misc_config()
|
self.misc_config()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user