General :
K-Meleon Web Browser Forum
General discussion about K-Meleon
A working userscripts macro (greasemonkey)
Posted by:
jk-
Date: November 08, 2006 01:49PM
I threw together a macro for using greasemonkey user scripts. It seems to work with most of my userscripts. You can check it out here:
http://www.digivill.net/~joykillr/kmeleon/kmeleon_userscripts.html
I'd like to clean it up so there aren't as many variables created but since userscript functionality is supposedly coming with the next release of K-Meleon I figure this will suffice for now. Be sure to see the directions for setting the correct variables at the top of that page.
Also, I've only been working on this for 2 days so there might be some issues with it that I've yet to encounter.
Re: A working userscripts macro (greasemonkey)
Date: November 23, 2006 03:43AM
If anyone is using the greasify module for the KM alphga build they may want to update it to the one that is on the website now. In the earlier versions I had forgotten to append OnLoad unto itself.
Re: A working userscripts macro (greasemonkey)
Posted by:
George Dorn
Date: November 24, 2006 10:41PM
Does the website need updating? I wanted to get greasemonkey scripts working on kmeleon, but the site says to put that file in the macros directory, which doesn't exist.
Maybe a step-by-step guide?
Re: A working userscripts macro (greasemonkey)
Date: November 25, 2006 06:59AM
The kmm file is only for the newsest alpha release. If you are still using 1.02 then you need to copy/paste the text into your config files. I do need to get better instructions up there.. all in good time
Re: A working userscripts macro (greasemonkey)
Posted by:
Anders
Date: November 26, 2006 10:09AM
Anyone knows if there are plans to support GM_xmlhttpRequest or similair?
Re: A working userscripts macro (greasemonkey)
Date: November 27, 2006 06:31AM
I took a look at the javascript code in greasemonkey that accomplishes xmlhttpRequest and I think it's a little too advanced for me at the moment. If implemented incorrectly it could also become a security issue so for now there are no plans on my part. I do however have an idea for GM_addStyle and possibly some other functions.
Re: A working userscripts macro (greasemonkey)
Posted by:
oi nerds
Date: March 18, 2007 04:27AM
_Greasify_BuildMenu{
$_gmenu="&Greasify";
... (menus)
rebuildmenu($_gmenu);
}
rebuild menu is necessary for Greasify work!
Re: A working userscripts macro (greasemonkey)
Posted by:
oi nerds
Date: March 24, 2007 06:35PM
Sorry.
Rebuild menu really isn’t necessary. But to work properly here, I have to make any modification in KMM file.
Re: A working userscripts macro (greasemonkey)
Posted by:
marcio
Date: April 09, 2007 03:58AM
now I put is in kmeleon?
Re: A working userscripts macro (greasemonkey)
Posted by:
oi nerds
Date: April 26, 2007 10:56AM
Version 6.2.5d
load scripts onload!
_GreasifyOnLoad{
getpref(INT,$_Greasify_Custom.".enabled")!=0 ? &Greasify:0;
}
change to:
_GreasifyOnLoad{
getpref(INT,$_Greasify_Custom.".enabled")!=0 ? &Greasify:0;
&Greasify;
}
Re: A working userscripts macro (greasemonkey)
Posted by:
oi nerds
Date: April 26, 2007 11:13AM
onload = faster!
Suggestion: put calls "Toggle ON/OFF" onload.
Re: A working userscripts macro (greasemonkey)
Posted by:
oi nerds
Date: April 27, 2007 02:01PM
sorry!!! Disregard my topics
i haven't seen
getpref(INT,$_Greasify_Custom.".enabled")!=0 ? &Greasify:0;
but now i analyzed..
this code create a new menu before of the menu Help
_Greasify_BuildMenu{
$_gmenu="&Greasify";
setmenu(Main,popup,$_gmenu,"&Help");
..
Re: A working userscripts macro (greasemonkey)
Posted by:
Norman Prather
Date: July 25, 2007 04:33PM
Hmmm, I am running K-M 1.1 but cannot get this implemented. Does anyone have simple, using short words, instructions for this confused user?
Thanks
NTP
Re: A working userscripts macro (greasemonkey)
Date: July 25, 2007 07:26PM
You can try GreaseMeleon by oi nerds, avalaible on his site (I haven't the URL), or on my extensions pages.
A+
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0
Web:
http://jujuland.pagesperso-orange.fr/
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 07/25/2007 07:27PM by JujuLand.
Re: A working userscripts macro (greasemonkey)
Posted by:
Norman Prather
Date: August 01, 2007 04:50PM
I just deleted GreaseMeleon because it did not work (at all). Obviously I am missing something, probably something simple. Only I don't know what it is!
Suggestions?
NTP
Re: A working userscripts macro (greasemonkey)
Posted by:
Norman Prather
Date: August 01, 2007 04:58PM
Just tried again. It at least opens menu options now! yea!
Re: A working userscripts macro (greasemonkey)
Posted by:
mikol
Date: September 30, 2007 07:35PM
I've got Kmeleon 1.12 installed.
I installed the latest greasify.
I created a scripts file.
After restarting kmeleon, I still can't see greasify in the tools menu.
What might I do next to get this to work.
Re: A working userscripts macro (greasemonkey)
Posted by:
mikol
Date: October 02, 2007 05:54AM
I looked at the script and tried uncommenting some of the build menu stuff but that didn't work and after reading all the comments I think I understand why some of those lines were turned off.
Still not able to see greasify on the tools menu.
I saved the file as: gresify.kmm
Any guidance on this would be appreciated.
Re: A working userscripts macro (greasemonkey)
Posted by:
mikol
Date: October 02, 2007 05:55AM
Correction:
I saved the file as greasify.kmm and I installed it in the macros file in the KMeleon directory.
Re: A working userscripts macro (greasemonkey)
Date: October 03, 2007 10:34AM
hey mikol,
You should not uncomment those lines. Keep them in there. The file name should not matter as long as there is only one version in the macros directory.
I have not tried 1.12 yet, still waiting for an official release (and not just the update). But maybe the macros are now loading from the profile directory?
I'd say, try putting the .kmm file in your profile/macros dir. See if it works, the sub-menu should show up immediately once it is recognized.
----------------------
-
K-Meleon Macros and Extensions
-
Greasify (Greasemonkey type macro for K-Meleon)
-
Stylish for K-Meleon
Re: A working userscripts macro (greasemonkey)
Posted by:
Norman
Date: November 13, 2007 09:41PM
I really want this to work. But I cannot get it to show up. I'm at a loss what to try now. I've tried everything listed in this discussion.
Re: A working userscripts macro (greasemonkey)
Posted by:
mic
Date: August 21, 2008 08:03AM
Hi,
I'm trying to use a complex user-script for deviantart (deviantplus) with greasify.
But for some reason greasify cuts off scripts after a certain point.
Too bad, as I really would want to use K-Meleon 1.5 instead of all these bloatware-browsers...
M.
Re: A working userscripts macro (greasemonkey)
Date: August 21, 2008 09:08AM
You perhaps can try it with GreaseMeleon 1.3 on 'K-Meleon Extension Setup' pages
A+
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0
Web:
http://jujuland.pagesperso-orange.fr/
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
Re: A working userscripts macro (greasemonkey)
Posted by:
mic
Date: August 22, 2008 09:50AM
hi,
hmm, I can see no difference between these two lines...
but thanks that you take care of it :-)
the script I use, is this one (I use the code directly)
________________________________ snip _______________________________
// ==UserScript==
// @name deviantPLUS v3
// @namespace deviantPLUS
// @description Enhances deviantART by adding a toolbar to text fields
// @include
http://*.deviantart.com*
// ==/UserScript==
/*
________________________________ snap _______________________________
...well, can't post it completely as some words in it are "banned from use" - whatever that may mean.
the script is here:
http://tinyurl.com/6b8t2m
M.
Re: A working userscripts macro (greasemonkey)
Posted by:
mic
Date: August 22, 2008 09:54AM