parent
83572948ca
commit
0972087e34
@ -243,6 +243,8 @@ Open main startpage in current tab.
|
|||||||
=== inspector
|
=== inspector
|
||||||
Toggle the web inspector.
|
Toggle the web inspector.
|
||||||
|
|
||||||
|
Note: Due a bug in Qt, the inspector will show incorrect request headers in the network tab.
|
||||||
|
|
||||||
[[jseval]]
|
[[jseval]]
|
||||||
=== jseval
|
=== jseval
|
||||||
Syntax: +:jseval [*--quiet*] 'js-code'+
|
Syntax: +:jseval [*--quiet*] 'js-code'+
|
||||||
|
@ -1089,7 +1089,11 @@ class CommandDispatcher:
|
|||||||
@cmdutils.register(instance='command-dispatcher', name='inspector',
|
@cmdutils.register(instance='command-dispatcher', name='inspector',
|
||||||
scope='window')
|
scope='window')
|
||||||
def toggle_inspector(self):
|
def toggle_inspector(self):
|
||||||
"""Toggle the web inspector."""
|
"""Toggle the web inspector.
|
||||||
|
|
||||||
|
Note: Due a bug in Qt, the inspector will show incorrect request
|
||||||
|
headers in the network tab.
|
||||||
|
"""
|
||||||
cur = self._current_widget()
|
cur = self._current_widget()
|
||||||
if cur.inspector is None:
|
if cur.inspector is None:
|
||||||
if not config.get('general', 'developer-extras'):
|
if not config.get('general', 'developer-extras'):
|
||||||
|
Loading…
Reference in New Issue
Block a user