I wanted my "services" links to automatically open in a new window (rather than control clicking and selecting new window or tab). This way, my mesh status window stays open, and accessible. So, in the
foreach(`cat /var/run/services_olsr 2>/dev/null`)
code block (around line 140) I changed
$services{$host}{$name} = $port ? "<a href='$url'>$name</a>" : $name;
to:
$services{$host}{$name} = $port ? "<a href='$url' target='_blank'>$name</a>" : $name; |