Project

General

Profile

$url » History » Version 7

Per Amundsen, 02/26/2023 07:54 AM

1 1 Per Amundsen
_Added in 1.9.3_
2
3
*$url*
4
5 2 Per Amundsen
Returns the currently active URL in your Web Browser.
6
7 3 Per Amundsen
_Only works for Internet Explorer/Opera 12, does not work in any modern browser due to "DDE":https://en.wikipedia.org/wiki/Dynamic_Data_Exchange support being removed._
8 1 Per Amundsen
9 7 Per Amundsen
_As of AdiIRC 4.4, the 64 bit version is able to get the url from chrome, edge, firefox, opera, brave and vivaldi. In some of them the http(s) prefix is not available, the rest of the url is however.__
10
11 1 Per Amundsen
-----------------------------------------------------------------------------
12
13
*$url(N)*
14
15
Returns the Nth captured URL address in URL catcher.
16
17
*Parameters*
18
19 5 Per Amundsen
table(ktable).
20
|*Parameter*|*Description*|
21
| N | If N = 0, number of URL addresses, otherwise the Nth URL address. |
22 1 Per Amundsen
23 6 Per Amundsen
*Properties*
24 1 Per Amundsen
25 6 Per Amundsen
table(ktable).
26
|*Property*|*Description*|
27
| .desc | *TODO* |
28
| .group | *TODO* |
29 1 Per Amundsen
30
*Example*
31
32
<pre>
33
; Print number of caught URL addresses.
34
//echo -ag $url(0)
35
36
; Print the first caught URL address.
37
//echo -ag $url(1)
38
</pre>