aboutsummaryrefslogtreecommitdiff
path: root/help/urlm_open
blob: 1aac2c2f787edd0e4e17f60ffe5785f6de8238ae (plain)
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

URLM_OPEN [<arg>]    - Open URL using "best" browser for the URL

Alternate command name: UO

Opens a URL according to the following rules:

- If the URL's file extension (e.g. .zip) is found in urlm_wget_extensions,
  the URL is downloaded with wget. (wget is run in an irssi window, so
  you can monitor its progress)

- Otherwise, if the URL matches any of the patterns in urlm_browser_overrides,
  the URL is opened with the matching browser. (This is useful in cases
  where e.g. you have Firefox as the default browser, but want all
  youtube.com pages to open in Internet Explorer). See the
  /urlm_add_override and /urlm_del_override commands for details.

- Otherwise, the default browser (urlm_default_browser setting) is used.

If <arg> is omitted, the default is to open the most recently captured URL.
If <arg> is provided, it must be a single numeric URL number (from the
output of /UL). Negative numbers are allowed, and are interpreted as
counting from the end of the list (so -1 means the second most recent
captured URL).

Note: you do not need to define wget as a browser. urlmanager will use
its own internal wget support to run wget in a window if the file
extension is listed in urlm_wget_extensions.