forked from qutebrowser/qutebrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
342 lines (253 loc) · 10.9 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
Before 0.1
==========
- Check FIXMEs
- Manpage
- Website
- Tests for URL detection and fix corner cases
- Fix some crashes + bugs if we can
- Fix shutdown
- Maybe test under other platforms
- Autosave feature (against segfaults/...)
- Save tabs feature
- More dwb keybindings
- Use :open engine searchterm syntax for searching
- Basic SSL handling
e.g. broken on https://fsinf.fh-worms.de/
at least ssl-strict setting and default certs
SSL-symbol in statusbar
- Authentification (for websites/proxy)
- prompt in statusbar
- ssl-strict=ask
- Downloads (at least calling a handler)
Style
=====
- initialize completion models at some nicer place (not in widget)
- reorder config #2
- rework exception hierarchy for config (common base exception)
New big features
================
- Per domain settings
- RequestPolicy
- Plugin architecture
Adblock?
RequestPolicy
Ghostery/Disconnect?
NoScript
Certificate Patrol
https://chrome.google.com/webstore/detail/remove-google-redirects/ccenmflbeofaceccfhhggbagkblihpoh
- Downloads
- session handling / saving
- IPC, like dwb -x
- Bookmarks
- Internationalization
- more completions (URLs, ...)
- SSL handling
- history
Improvements / minor features
=============================
- configurable warning when closing window with multiple tabs open
- Reimplement tabbar to paint it by ourselves to look like dwb
- Save cookies in Netscape format so it can be used by wget.
http://www.cookiecentral.com/faq/#3.5
https://docs.python.org/3.4/library/http.cookies.html
http://qt-project.org/doc/qt-4.8/qnetworkcookie.html
- Second column (flag): TRUE if domain starts with ., else FALSE
- if a cookie is a http-only cookie domain is prepended with a #HttpOnly_
- Signal cache: truncate printed signals (length + 1 line)
- Zoom with ctrl + mousewheel
- Close tabs on right click
- Up/Down not for history
- N for prev search match
- search highlighting
- readline like shortcuts (like C-w) for command prompt
- max height for completion (be smaller if possible)
- tab should directly insert word and space if there's only one option
- vertical tabbar
- reload config command
- config changed signals for sections (optimization)
- Display metavars for commands in input bar.
- count support for special keys
- set-as-default argument/command
- Make inspector height resizable
- Make inspector detachable (own window)
- Enable disk caching
QNetworkManager.setCache() and use a QNetworkDiskCache probably
- clear cookies command
- keybind/aliases should have completion for commands/arguments
- Ctrl+A/X to increase/decrease last number in URL
- logging contexts
- Add more element-selection-detection code (with options?) based on:
-> javascript: http://stackoverflow.com/a/2848120/2085149
-> microFocusChanged and check active element via:
frame = page.currentFrame()
elem = frame.findFirstElement('*:focus')
- somehow unfocus elements (hide blinking cursor) when insert mode is left?
- tabs: some more padding?
- Really fix URL detection properly
- Make it possible to open inspector in a new window.
- Copy link location on crash mail should not copy mailto:
- Drag&Drop of tabs to other windows
hints
-----
- bindings for prev/next hint
- more intelligent clicking (end of textfields)
- filter close hints when it's the same link
- ignore keypresses shortly after link following
- uppercase hint chars without requiring upper case to type (easier to
distinguish)
Useful things
=============
http://www.tenox.net/out/wrp11-qt.py
https://code.google.com/p/webscraping/source/browse/webkit.py
https://github.com/jeanphix/Ghost.py/blob/master/ghost/ghost.py
http://otter-browser.org/
dwb keybindings to possibly implement
=====================================
window
------
wh
Go back in a new window (command win_hist_back, aliases: winback, wba).
wl
Go forward in a new window (command win_hist_forward, aliases: winforward, wfo).
wB
Show Bookmarks, open bookmark in a new window (command win_bookmarks, aliases: winmarks).
wb[:graph:]
Open quickmark in a new window (command win_quickmark, aliases: winqmarks).
wf
Show hints, open link in a new window. (command hints_win, aliases: winhints, whi).
;R
Rapid hint mode, each matching hint opens a new window. (command hints_rapid_win, aliases: wrhints, wrhi).
wp
Paste from clipboard and load in a new window (command paste_nw, aliases: winpaste).
wP
Paste from primary selection and load in a new window (command paste_primary_nw, aliases: winppaste).
W
Next navigation action will be opened in a new window (command new_win).
wo
Open url in a new instance (command: winopen, aliases: wopen, w).
downloads
---------
;d
Download via hints (command hints_download, aliases: dhints).
[n]ad
Cancel the download with number n or the first download in the lists of running downloads if n is omitted. (command cancel_download).
gd
Download the current site. (command download).
Sd
Show download (command show_downloads, aliases: sdownloads).
Bookmarks/quickmarks
--------------------
M
Add a bookmark (command bookmark, aliases: bmark, bma).
gb
Show Bookmarks (command bookmarks, aliases: bmarks, bmas).
gB
Show Bookmarks, open bookmark in a new tab (command tab_bookmarks, aliases: tabmarks).
m
Add a quickmark (command save_quickmark, aliases: quickmark, qmark).
b
Open quickmark (command quickmark, aliases: qmarks).
B
Open quickmark in a new tab (command tab_quickmark, aliases: tabqmarks).
tab-handling
------------
gt
Show all open tabs. (command buffers, aliases: bu).
[n]C-P
Protect tab [n]. Closing this tab must be confirmed (command protect, aliases: prot).
[n]xd
Lock tab [n]. Locking a tab will lock this tab to the current domain, it’s not possible to navigate to another domain until unlocked. lock_domain, aliases: dlock).
[n]xu
Lock tab [n]. Locking a tab will lock this tab to the current uri, it’s not possible to navigate to another uri until unlocked. lock_uri, aliases: ulock).
Blacklisting
------------
tsh
Toggle scripts for current host permanently (command toggle_scripts_host, aliases: hscript).
tsu
Toggle scripts for current url permanently (command toggle_scripts_uri, aliases: uscript).
tth
Toggle scripts for current host temporarily (command toggle_scripts_host_tmp, aliases: thscript).
ttu
Toggle scripts for current url temporarily (command toggle_scripts_uri_tmp, aliases: tuscript).
ph
Toggle plugins for current host permanently (command toggle_plugins_host, aliases: hplugin).
pu
Toggle plugins for current url permanently (command toggle_plugins_uri, aliases: uplugin).
pth
Toggle plugins for current host temporarily (command toggle_plugins_host_tmp, aliases: thplugin).
ptu
Toggle plugins for current url temporarily (command toggle_plugins_uri_tmp, aliases: tuplugin).
CC
Allow persistent cookie for the current website. The domain will be saved in cookies.allow. Cookies that are allowed by the cookies.allow whitelist are stored in $XDG_CONFIG_HOME/dwb/$profilename/cookies. (command allow_cookie, aliases: cookie).
CS
Allow session cookie for the current website. The domain will be saved in cookies_session.allow. This is only useful if cookies-store-policy is set to never, see cookies-store-policy for details. (command allow_session_cookie, aliases: scookie).
CT
Allow session cookies for the current website temporarily. Only first party cookies are allowed. The domain is not saved to a whitelist and the cookies will not be saved persitently. (command allow_session_cookie_tmp, aliases: tcookie).
Show
----
Sb
Show bookmarks (command show_bookmarks, aliases: sbookmarks).
Sq
Show quickmarks (command show_quickmarks, aliases: squickmarks).
Sh
Show history (command show_history, aliases: shistory).
Sk
Show keys (command show_keys, aliases: skeys).
Ss
Show settings (command show_settings, aliases: ssettings).
eu
Show and execute userscripts (command execute_userscript).
Other
-----
[n]gc
Clear tab n or of current tab, clears the history of the tab and loads about:blank. (command clear_tab, aliases: clear).
th
Go back in a new tab (command tab_hist_back, aliases: tabback, tba).
tl
Go forward in a new tab (command tab_hist_forward, aliases: tabforward, tfo).
c/
Find forward, ignore case (command find_forward_ic, alias: iffind).
c?
Find backward, ignore case (command find_backward_ic, alias ibfind).
[n]R
Reload tab n or current tab if n is omitted without using any cached data (command reload_bypass_cache, aliases: refull).
ZZ
Save current session and exit (command save_session, aliases: wq).
gZZ
Save current session with name and exit (command save_named_session, aliases: wqn).
gf
Toggle "view source" (command view_source, aliases: source, so).
gs
Add a searchengine. Textfields can be chosen with tab and a keyword must be specified. The first defined searchengine will be the default searchengine. The keyword can be used in all open commands, e.g. :open <keyword> <searchterm> (command save_search_field, aliases: search).
C-p
Toggle proxy (command proxy).
V
Next navigation action will be opened in a new tab (command new_tab).
[n]wi
Show the webinspector of tab n or of current tab if n is omitted. Note that enable-developer-extras has to be set. (commmand web_inspector, aliases: inspect, insp).
g.
Toggle hidden files when browsing local filesystem. (command open_editor, aliases: editor).
F11
Toggle fullscreen (command fullscreen, aliases: fs).
F12
Toggle presentation mode. (command presentation_mode, aliases: present).
xx
Toggle visibility of tabbar and statusbar. (command toggle_bars, aliases: bars).
xt
Toggle visibility of tabbar. (command toggle_tabbar, aliases: tbar).
xb
Toggle visibility of statusbar. (command toggle_statusbar, aliases: sbar).
xv
Toggle visibility of a tab. (command visible, aliases: vis).
unbound
Execute a javascript snippet (command execute_javascript, aliases: exja, js).
unbound
Toggle a boolean setting from commandline (command toggle_setting, aliases: toggle, tog).
unbound
Load a html string. This command is mainly intended for use in userscripts (command load_html).
unbound
Load a html string in a new tab. This command is mainly intended for use in userscripts (command load_html_tab).
unbound
Execute a javascript snippet that uses the the internal javascript api. This command only works if the javascript interface is enabled, i.e. if there are scripts in $XDG_CONFIG_HOME/dwb/userscripts that use the api or if dwb is started with -S/--enable-scripts (command eval).
Tab (S-Tab)
In normal mode Tab shows the next (previous) shortcut, that matches the currently entered keysequence. When opening a url, the next (previous) item in command history, bookmarks or history will be completed. In hint mode the next (previous) hint will get focus. Tab also completes settings and shortcut-settings. When initiating a download, full paths (downloads and spawning programs) and binaries (spawning programs) in PATH will be completed. In command mode tab will complete builtin commands and urls if the command accepts an url.