Project

General

Profile

$url » History » Version 8

Per Amundsen, 02/26/2023 07:47 PM

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 8 Per Amundsen
_As of AdiIRC 4.4, url can be retrieved 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 there however.__
10
11
_Note: AdiIRC 64 bit version is only able to get the url from 64 bit browsers and the 32 bit version from 32 bit browsers._ 
12 7 Per Amundsen
13 1 Per Amundsen
-----------------------------------------------------------------------------
14
15
*$url(N)*
16
17
Returns the Nth captured URL address in URL catcher.
18
19
*Parameters*
20
21 5 Per Amundsen
table(ktable).
22
|*Parameter*|*Description*|
23
| N | If N = 0, number of URL addresses, otherwise the Nth URL address. |
24 1 Per Amundsen
25 6 Per Amundsen
*Properties*
26 1 Per Amundsen
27 6 Per Amundsen
table(ktable).
28
|*Property*|*Description*|
29
| .desc | *TODO* |
30
| .group | *TODO* |
31 1 Per Amundsen
32
*Example*
33
34
<pre>
35
; Print number of caught URL addresses.
36
//echo -ag $url(0)
37
38
; Print the first caught URL address.
39
//echo -ag $url(1)
40
</pre>