I first must say that reading again the Km doc helps me, and I have no more to run injectJS to make mail macros to work under Linux, except for mail subject, where I can't retreive what I want. For example, link text, or alt image text. For now I just use page title, even it's not exactly what I want to use.
I was confused because your signature includes "K-Meleon/1.7.0 ."
I use the two versions.
If you know a way to change the signature, depending the version you use
Thanks for the link
I've fixed that last spring to enable
Disabled InjectJS in 1.7 alpha.
The macros above work with all 1.6 and
new 1.7 using BrowserWindow.cpp v1.2+.
Where can I find a 1.7 version using v1.2+ ?
I can't compile it ...
KMM => Invalid expression 'var a=window,b=document,
KMM => ) expected but found ;.
KMM => Invalid statement
Quotation marks only on the outside.
There was no error in my sample.
Hum, I don't understand, just copying your code in a macro and executing, and error console has these errors.
I have make it work after replacing external ' with "
I dont understand the utility of encodeURIComponent()
I have the result I want with this:
injectJS( "var a=window,b=document.title,e=alert(b) ;");
injectJS( "var a=window,b=document,c=b.location,f=alert(c) ;");
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0
Mail : alain [dot] aupeix [at] wanadoo [dot] fr
Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc
Edited 1 time(s). Last edit at 05/21/2012 12:14AM by JujuLand.