I would like to have some plugins or extensions like Firefox's "spell checker", "redirect cleaner" and "download them all" for K-Meleon, are there any?
- Spellchecker exists
- DownloadThemall doesn't exists, but I think there are some extensions which perhaps do this (JamesD or disrupted ?)
- RedirectCleaner ?? I don't know it.
As disrupted says, Firefox extensions aren't all adaptable for K-Meleon, and a few only can be used.
If too much extensions are missing for you, and you can do without it, just keep Firefox.
We are some guys here to try to improve and extend the K-Meleon capabilities, and we can't do all the guys want.
If you're able, why don't help ?
A+
Mozilla/5.0 (x11; U; Linux x86_64; en-US; rv:1.9.1.17pre) Gecko/20101211 Ubuntu/12.04 (precise) K-Meleon/1.6.0
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:1.9.2.14pre) Gecko/20101219 Ubuntu/12.04 (precise) K-Meleon/1.7.0
Web: K-Meleon Extension Setup (French) and (English)
Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr
downloadthemall is a available under network extensions..it's limited in functions and mostly works as a download manager where you can pause and resume your downloads for another session..it does not work as in firefox as in extracting all links and queuing them
the clean redirect addon can be made in kmeleon with a macro..the xpi is not needed, jamesd or desga can make it. he wants to remove site referers like on software sites and open the target link directly..shouldn't be hard as usually they have this string within (?url=) so a search in the link url for this and extraction of any string that follows should make it work
basically removes the referers to open a link directly.. very common with software sites.. i think for ad revenues etc doesn;t sound too hard for a macro.
i'd try to fiddle with it but not really in the mood.. i think a dev has gone AWOL
Is it 'example.com', first 'mozilla.org', or second 'mozilla.org'?
I also need a site, URL, which has code in this manner so that I will be able to test. I looked at several free software sites, but I did not see code with the '?url=' in a link.
Thanks for the info folks, disrupted: I have no idea how to do whatever it is your attempting to explane to me with your post, but thanks.
FF is a good browser, but I find K-Meleon faster and all I have access to is a 49.2bps dialup connection, so a small amount of time adds up to a lot faster to me, also I have been having crash's with FF when closing a window for no know reason and about:crashs dosent show anything, plus I get page scrolling pause's for 10 to 30 sec with no aparent reason. Often I have 10 or 15 pages open and when closing one FF just close's out and I have to start all over again, thank God for the page restore feature or I would go balistic.
K-Meleon to me is way faster, no pauses, but haven't found a "open page restore" anyplace, but if I could get the spell check and the redirect cleaner I'd be good to go.
Thanks for the info and links, will be looking into them.
Firefox will offer to restore your open pages or tabs when ever there is a crash, you can select to "restore" the pages you had open at the time of the crash when you restart FF, or you can use the other option to just open with a single new page, as if you had just started FF new. The "restore" option is only show if in the event of a crash and FF closes with no warning so that you can have all your opened pages "restored".
downloadthemall is a available under network extensions..it's limited in functions and mostly works as a download manager where you can pause and resume your downloads for another session..it does not work as in firefox as in extracting all links and queuing them
After this is unzipped what do you need to do to "install it"
I guess what I need to know is where do you place the folders that you get after unpacking the kmdta-limited.7z file, Re: chrome, defaults and macros folders or content?
As my user name , I'm a dodobird with this kind of stuff, thanks.
Edited 1 time(s). Last edit at 09/22/2009 07:29AM by dodobird.
Is it 'example.com', first 'mozilla.org', or second 'mozilla.org'?
I also need a site, URL, which has code in this manner so that I will be able to test. I looked at several free software sites, but I did not see code with the '?url=' in a link.
http:// www.mozilla.org is the result from the original link: http:// www.example.com?url=http:// www.mozilla.org, so the macro will remove the first site, and leave the one you have interest. I think that it would work when searching for images in Google too. You know, when clicking a thumbnail image, Google shows them in a 'frame', but I'm not sure about all this.
@dodobird
About the files inside a 7zip package: they are in order, each one inside a folder, you just need to open the 7zip file, and then uncompress the file to your KM folder.
kmeleon has a sessions plugin that automatically prompts to restore the previous session in the unlikely event of a crash. also you can manually restore a session by clicking on the session menu>restore previous..you can also setup custom sessions- with your favourite sites for example etc.
to install an extension, extract the 7z file into your kmeleon's folder.. the files will automatically go to their proper folders in kmeleon i.e. a file in chrome will go to the chrome folder inside kmeleon.. if a folder doesn't exist, it will be created.
some extensions require component files so they have to be registered..please see the help/faq page on the kmext page:
http://kmext.sourceforge.net/help.htm
there are also a KEIH and KEITH helpers which automate the extraction of the files into kmeleon's folder
welcome to kmeleon and hope you'll find everything you need
if you hover on the author's homepage, in the statusbar it shows a direct link to his homepage which is actually bogus ..the actual link has a referer, copy link url and paste in addressbar and you'l get the real link with the referer.. snapfiles also has a similar thing
e.g. htt p://www.programurl.com/siteclick.php?a=0&b=1&url=/siteclick.php?a=0&b=1&url=htt p://www.spadixbd.com/
most sites follow a similar routine..the idea is find if it contains a 'url=' in the link href.. remove everything from the href and extract only the string after url=
Quote disrupted
kmeleon has a sessions plugin that automatically prompts to restore the previous session in the unlikely event of a crash. also you can manually restore a session by clicking on the session menu>restore previous..you can also setup custom sessions- with your favourite sites for example etc.=
Thanks didn't know about that, but that is what I was talking about.
Quote to install an extension, extract the 7z file into your kmeleon's folder.. [quote=the files will automatically go to their proper folders in kmeleon i.e. a file in chrome will go to the chrome folder inside kmeleon.. if a folder doesn't exist, it will be created.=[/quote
Thanks will attempt that.
Quote some extensions require component files so they have to be registered..please see the help/faq page on the kmext page:
[url=http://kmext.sourceforge.net/help.htm http://kmext.sourceforge.net/help.htm[/url]
there are also a KEIH and KEITH helpers which automate the extraction of the files into kmeleon's folder=
OK ???
Quote welcome to kmeleon and hope you'll find everything you need=[/quote
Thanks, very helpful so far.
Quote james, here's an example at programurl:
[url http://www.programurl.com/universal-explorer.htm[/url]
if you hover on the author's homepage, in the statusbar it shows a direct link to his homepage which is actually bogus ..the actual link has a referer, copy link url and paste in addressbar and you'l get the real link with the referer.. snapfiles also has a similar thing
e.g. htt p://www.programurl.com/siteclick.php?a=0&b=1&url=/siteclick.php?a=0&b=1&url=htt p://www.spadixbd.com/
most sites follow a similar routine..the idea is find if it contains a 'url=' in the link href.. remove everything from the href and extract only the string after url=
You can also find what I'm talking about here, Warning not safe for work.
h**p://888chan.org/p/res/151740.html
this link: h**p://anonym.to/?h**p://w&w.1024chan.org
change ** to tt and & with w
When copy this link you get the anonym.com
I want to copy and not get that but just the direct link.
Edited 1 time(s). Last edit at 09/22/2009 07:57AM by dodobird.
Guys, I am getting confused. I have the program written to show me the $LinkURL variable from a highlighted link. I don't see the string "?url=" in the $LinkURL from this page. http://www.programurl.com/universal-explorer.htm
What I see is "h**p://w**.programurl.com/siteclick.php?a=0&b=1&url=/siteclick.php?a=0&b=1&url=http://w**.spadixbd.com/".
I replaced the tt and ww with **. The title for the link is Program Homepage. Did I select the right link? "&url=" shows up more than once in this link.
I think that you want http://w**.spadixbd.com/ as a result, removing all the rest of the link. That would be anything after &url=. But I'm not sure enough. Maybe locating the last "http://", and then from that position extract the string?
the variables are so many..it's very hard to cover them all in a macro, no wonder that guy used javascript to extract out the links and yet..he did not cover them all.. i tested his extension in ff and it doesn't work with many redirects.
i tried the macro approach but it wasn;t good enough so i turned to autoit which is much more versatile than js or macro language with these conditions.. it works much better than firefox's extension and have been tested on many sites.
extract in k-meleon's root folder
i.e. the cleanredirect.kmm goes in k-meleon\macros folder
cleanredirect.exe goes in k-meleon\tools folder
(cleanredirect.au3 is the source and you can delete it if you want)
restart kmeleon, right click on a link with a referer and select clean redirect
(if you click on a link without a referer, clean redirect will just open it normally in a new tab)
If you have this working, then I am not going any further with my macro. I could not see how to run without user intervention (right click) and I saw no way to tell if a link was going to have redirect.
Quote JamesD
Guys, I am getting confused. I have the program written to show me the $LinkURL variable from a highlighted link. I don't see the string "?url=" in the $LinkURL from this page. http://www.programurl.com/universal-explorer.htm
What I see is "h**p://w**.programurl.com/siteclick.php?a=0&b=1&url=/siteclick.php?a=0&b=1&url=http://w**.spadixbd.com/".
I replaced the tt and ww with **. The title for the link is Program Homepage. Did I select the right link? "&url=" shows up more than once in this link.
Hey James, the index() parameters in your code are reversed, I'm trying to fix the code right now, I'm using this: $_OpenCleanPos = index( $LinkURL,"www." );
But I need a while loop to find the right-most instance of "www."
This is what I'm trying to do:
I don't know how to use the while constructor, the idea is to find "www." in the string, and then loop and try to find it again. Finally use the last Position of the "www." string, from there extract the link.
slayer, it's too much trouble in macro.. i tried the same thing but the variables are too much for the macro to parse correctly.. it might not contain a www at all for the target link like in this e.g
http ://www.example.com/?url=http ://mozilla.org
the target link is directed with http and not with a www, autoit works better because it can search from the right and doesn't need to look for 2 matches.. when it's searching from the right..the first instance is what it needs and when it doesn't find the target instance of www and finds the referer www (searching from the right) it can tell that this match of www doesn't belong to the target link but to the referer because it's at the neginning of the string..or in that case it's at the end of the string(searching from the right) so it ignores it and searches for the first instance of http(searching from the right) which any target link will naturally have if it doesn't have a www prefix.
another problem that might face the macro is when the target link is contained inside the string and not at the end like in that example:
the only way i think it can be extracted with the macro is to know the exact position where the target string starts and the exact character where it ends.. i'm not sure if there is any other way
even the js based frefox extension had problems with such strings and most of them weren't extracted correctly, again the autoit string function is utilised easily to be intelligent in detecting unconventional characters(always where the target link ends) and precisely extract the proper link without any additions.. this is very important because any string containing even one wrong character at the end will not open the desired website and end in a 404 error page. i think even if you were able to find a way with the macro, it will probably conflict with other strings..meaning if you have to get the target link correctly from one condition, another condition will suffer and its target link will not be proper.. which is the same problem with the js-based addon..i think you will need to make a compromise but with autoit all conditions are calculated in a much better way
dodobird, since this extension passes the link externally to kmeleon like an external application, you might want to change some preferences to make the link openn in a new tab and not override the current page:
open kmeleon preferences and under browsing>window diversion> set urls passed from external applications to open in a new tab
Pos is zero so the while will operate once. If it finds "&url=http" Pos will will be a positive integer. In that case substr changes URL to be the remainder of itself. Since Pos is not -1 while will loop again. When no more instances of "&url=http", index() will set Pos to -1 and the while loop will stop.
Quote disrupted
thanks james, i persoanlly prefer macro solutions to keep everything within kmeleon but sometimes it's much easier and less coding to work outside
the extension seems to be working fine..on various links i've tested, it didn;t fail once..we just have to wait for dodobird for feedback
Re:Feedback
Works fine for going direct to a link, BUT... is there any way to rework this so that if you just want to copy the link to note pad or to a download manager that is monitoring for right clicks of links it will only copy the direct link to the download manager or note pad?
Thats what the one in FF will do as well as what you have already done with this.
Example would be: right click a link and have an option in the menu to SAVE CLEANED LINK or some wording to that effect?
Thanks for all you efforts in this, never expected this type of commitment or working up a new feature just because I asked about it.
i didn't know you were going to use it to trigger a monitoring download manager.. i made an update and the linkurl now adds a bogus extension before sending to clipboard in case the linkurl ends with an extension like .zip .exe etc that might trigger a download manager.. that suffix is removed in autoit (sending that kind of linkurl to autoit as a command parameter is not an option because those strings are almost always too long for autoit to handle as a parameter)
the context menu now has 2 commands:
open clnredirect and copy clnredirect
clndirect{
menugrayed=(hostname($LinkURL)=="");
$bogus e xt=(".bog");
setclipboard($LinkURL.$bogus e xt);
exec($_tool_path."\\cleanredirect.exe ");
}
clndirect_get{
menugrayed=(hostname($LinkURL)=="");
$bogus e xt=(".bog");
setclipboard($LinkURL.$bogus e xt);
statusbar("cleaned target link has been copied to the clipboard");
exec($_tool_path."\\cleanredirect.exe -justcopy");
}