You could use dde to get the currently active url, in other words the url from the active tab.

Note that this only works in a single instance of Mozilla. Fex if you open mozilla, and are browsing. And then you run another instance of Mozilla, the dde will not get info from this second instance, only from the first. But tabbed browsing is there for a reason, so there should be no need to open up multiple instances smile

alias geturl return $dde(mozilla,WWW_GetWindowInfo)

This returns a string like this fex:

"http://www.winamp.com/","WINAMP.COM | Winamp.com: Media Player, Skins, Music Videos, Songs",""

The first part is the URL, the second part a description, and the third part is $null. To get just the url, you'd do: $gettok($geturl,1,34)

Hope you find this useful,

Greets


Gone.