my first attempt anything on KM so bear with me if its been done before
#PUT in macros.cfg
$referer = "network.http.sendRefererHeader"
getpref(INT, $referer) ? pluginmsg(toolbars, "CheckButton", "Tool Bar, macros(RefToggle), 1") : pluginmsg(toolbars, "CheckButton", "Tool Bar, macros(RefToggle), 0");
RefToggle {
$tmp = (getpref(INT, $referer) ? 0 : 1);
setpref(INT, $referer, $tmp);
statusbar("Referer " . ($tmp ? "ALLOWED" : "BLOCKED"));
&buttonSync;
}
# PUT in toolbars.cfg
Referrer Blocker {
macros(RefToggle)
Block Referrer
privhot.bmp[0]
privcold.bmp[0]
privdead.bmp[0]
}
#I used the icon from the privacy bar but you can choose your own from the default skin or where ever.
my first go at this and checked it out using
http://www.pcflank.com and it worked on there
PJ