General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
display IP plus
Posted by: disrupted
Date: May 20, 2009 06:27PM

similar to jamesD pingip, displays website ip in the titlebar when the page finishes loading (preserves page title)
http://kmeleon.swiftfree.net/files/constip.7z




# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- constantly displays IP in titlebar-------------------

$_tool_path=getfolder(RootFolder)."\\Tools";

constIP{
$HOST = hostname( $URL );
exec($_tool_path."\\constip.exe \"".$HOST."\"");
}

$OnLoad=$OnLoad."constIP;";

# --------------------------------------------
$macroModules=$macroModules."constantIP;";



; AutoIt Version: 3.3.0
; Language: Gibberish
; Platform: Win9x/NT
; Author: yannis kargas

#NoTrayIcon
#include <inet.au3>
#Include <String.au3>

If $CmdLine[0]=0 Then
Exit
Else
constantip()
EndIf
Func constantip()
TCPStartup()
$sIP = TCPNameToIP($CmdLine[1])
sleep(400)
$pagetitle=WinGetTitle("[CLASS:KMeleon Browser Window]")
$settitle=($pagetitle & " ::: " & $sIP)
WinSetTitle ("[CLASS:KMeleon Browser Window]", "", $settitle)
Exit
EndFunc


Options: ReplyQuote
Re: display IP plus
Posted by: soccerfan
Date: May 20, 2009 07:59PM

Very nice, dsrupted. Thanks.

soccerfan

Options: ReplyQuote
Re: display IP plus
Posted by: reeko124
Date: May 20, 2009 08:07PM

I guess this could be used to add ips to firewall blocklists? Of course you'd have to go to the page first but not after that

Options: ReplyQuote


K-Meleon forum is powered by Phorum.