Implemented torsocks link opening

This commit is contained in:
Luxferre
2024-10-16 13:11:49 +03:00
parent a43cec33b3
commit b44a60f485
2 changed files with 31 additions and 9 deletions
+6
View File
@@ -36,6 +36,7 @@ The following features are already (fully or partially) supported in BFG.
* In-page text search
* Ini-based customization of the current Ttk theme, content fonts and colors
* Non-TLS mode for systems without TclTLS support
* Opening links in Torified windows (for the systems with torsocks installed)
## Non-supported features
@@ -86,6 +87,7 @@ The following keybindings are currently supported:
* Shift+d: download the file or page contents under the selected link and open it with your default application
* Space / Return (Enter): click on the selected link
* Shift + Space / Shift + Return (Enter): open the selected link in a new window
* Control + Shift + Space / Control + Shift + Return (Enter): open the selected link in a new window in Tor
* h / Arrow Left / PgUp: scroll the content up 10 lines
* j / Arrow Down: scroll the content down 1 line
* k / Arrow Up: scroll the content up 1 line
@@ -99,12 +101,16 @@ The following mouse bindings are currently supported:
* Left click: open the link
* Shift + Left click or Middle click: open the link in a new window
* Shift + Middle click or Control + Shift + Left click: open the link in a new window in Tor
* Right click: download the link contents
* Shift + Right click: download the link contents and open it with your default application
* Scroll wheel: scroll the page content
* Mouse button 8 ("Back") if present: go back in history
* Mouse button 9 ("Forward") if present: go forward in history
Note: opening a link in Tor requires Tor to be running and torsocks command to be installed in the system.
You don't need to do any special combinations to open links in Tor once the parent window is already opened via torsocks. You also cannot open new windows in clearnet from the Tor-enabled windows.
## Customization