General :  K-Meleon Forum
General discussion about K-Meleon. 
Change referer on kmeleon
Posted by: happyuser
Date: November 10, 2011 11:31PM

Hi to all, i've search a lot on forum but no result tongue sticking out smiley...There is a way to change the "http referer" in kmeleon? I don't wont to disable the http refer, but i want just "simply" send fake http referer. Hi!

Options: ReplyQuote
Re: Change referer on kmeleon
Posted by: JamesD
Date: November 11, 2011 02:59AM

I have not found a way to have a false referer on KM. This is a macro which might help. You can right click on a link and go to an intermediate page before going to the link. If I understand the system correctly, this will use the intermediate page as the referer. This link is part of KM so no extra downloading required.

It is a work-a-round, but maybe will be useful.

FakeRefer.kmm


#  K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2)
#  
# ---------- FakeRefer.kmm
# ---------- K-Meleon Macro Language - go to link using fake referer ---------
#
# Dependencies        : main.kmm 
# Resources           : 
# Preferences         : 
# Version             :  0.4   2011-10-10
# Author              :  JamesD  
# --------------------------------------------------------------------------------

_FakeRefer_Run {
$_FR_URL = $LinkURL ;
$_FR_Path="chrome://global/content/mozilla.xhtml";
open($_FR_Path);
$_FR_answer = confirm("Send this page as referer?", "Fake Referer", YESNO, QUESTION);
if ($_FR_answer == "YES") {
	open($_FR_URL);
	} else {
	id(ID_NAV_BACK);
	}
}

_FakeRefer_BuildMenu{
setmenu("LinkSave",macro,"Fake Referer to link",_FakeRefer_Run,-1);
}
# - - - - - - - - - - - - - - - - - - - 
$OnInit=$OnInit."_FakeRefer_BuildMenu;";
$macroModules=$macroModules."FakeRefer;";


Options: ReplyQuote
Re: Change referer on kmeleon
Posted by: happyuser
Date: November 11, 2011 09:21AM

I have found this plugin refcontrol, all work good if i start kmeleon normally. It spoof correctly the referer. But if i try to launch kmeleon with windondows CMD, all installed plug-in dont work. There is a way to have to work plugin even if i run kmeleon with cmd?.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.