Development :  K-Meleon Forum
K-Meleon development related discussions. 
View page info/frame info macros
Posted by: asmpgmr
Date: January 21, 2003 11:18PM

page_info {
menu = "View &Info";
$i = index($URL, "#");
$addr = $i==-1 ? $URL : substr($URL, 0, $i);
$client = index($addr, "https://")==0 ? "HTTP-memory-only" : "HTTP";
$var = "about:cache-entry?client=" . $client . "&sb=1&key=" . $addr;
index($addr, "http")==0 ? opennew($var) : "";
}

frame_info {
menu = "View Frame &Info";
$i = index($FrameURL, "#");
$addr = $i==-1 ? $FrameURL : substr($FrameURL, 0, $i);
$client = index($addr, "https://")==0 ? "HTTP-memory-only" : "HTTP";
$var = "about:cache-entry?client=" . $client . "&sb=1&key=" . $addr;
index($addr, "http")==0 ? opennew($var) : "";
}

Options: ReplyQuote


K-Meleon forum is powered by Phorum.