Sometimes I have a lot of tabs open and I need all URL addresses. Can a macro be made to harvest all open tabs URLs and paste them in a text file, so I do not have to copy all addresses one by one (by hand)?
Oh my.... Don't know about the IP adresses, for me that would definitely be WAY too high. But just collecting a list of open URLs into the clipboard would be quite simple, if you like also with titles, and/or with a fix text before or after. And you could paste that into any editor then - except MS notepad, because that ancient thing still doesn't understand the linebreaks *grmpf*
That said, I guess there exist already various macros for such stuff, with groups etc. ...
Quote siria
Oh my.... Don't know about the IP adresses, for me that would definitely be WAY too high. But just collecting a list of open URLs into the clipboard would be quite simple, if you like also with titles, and/or with a fix text before or after. And you could paste that into any editor then - except MS notepad, because that ancient thing still doesn't understand the linebreaks *grmpf*
That said, I guess there exist already various macros for such stuff, with groups etc. ...
In MS notepad is showed all in same line because KM use one character to end of line "/n" (Unix format) instead of two characters "/n/cr" (Windows/DOS format).
This due to an old bug in macro plugin that avoid to KM can to use "/cr" character to end of lines.
@ panzer:
As siria said you can use Groups2 macro, in his new version you can export groups to an ini file, look in Development forum.
Or you can create a macro to copy all URLs of opened tabs in clipboard and paste it in your favorite text editor.
download new version, it works much better using internal macro id_tab_nex instead of making autit get the urls, much faster and similar to groups macro; you won't notice any tab switching
http://kmext.sourceforge.net/files/turlharvest.7z
this also adds opion to fetch the ips and save them along the line for mhf and an option to edit in notepad
Disrupted : I was wondering about a refinement - to add a menu item in the tab context menu for Harvest URL where you can harvest the URL and optionally (!!!) the IP of just the one tab that you're on at the time... ?
here's another extension you might like, maybe as a supplement to urlharvest but i preferred that it should be separate from urlharvest
mapdomain, automatically gets the domain ip and adds it to your hosts file
right-click on a page and select map domain.
by default there's a confirmation message first
clicking yes, will auto add the current site domain with its ip to hosts
if you want to remove the confirmation:
go to edit>configuration>alert mapdomain (uncheck)
after mapdomain has been added, a message will display in the status bar
due to the nature of this extension, 'manage hosts' extension is bundled with it which opens hosts in notepad(tools>netowrk tools>manage hosts) if you already have manage hosts installed, it will not affect your settings.
very important
please note: mapdomain is intended for advanced users only(mhf, panzer etc), please use with utmost caution if you're not sure how mapping domains work as it will prevent any dnsing for the mapped domain. this makes the browser(any browser) stop querying dns servers and resolve the address immediately.. if after mapping you can't access the site( or find yourself on a completey different website), make sure to remove the entry from hosts and restart
who started tthis thread and requests advanced extensions
mhf, i think map domain is particulary useful with online stores and banking or anything with money involved because this makes the system(not just the browser) immune to any dns poisoning. with domain mapping, you no longer have to worry about phishing, scams and all the vulnerabilities of name servers as it ensures only the intended site will be opened directly . it's the ultimate security extension for money transactions
What about harvesting all links on web page (links as thumbnails leading to another page)? Can this be done? Sometimes, I just need links and do not want click on all of thumbnails and then copy all of URLs.
there's a biltin option in kmeleon to display all links in a page 9view>links or page context>page properties>links. however the links will be displayed as hyperlinks with their original text- not the actual url. you probably need them as text only and not hyper? but think it can suffice cause will need to do some digging cause requires js, i'll look into it.. hopefully i canfind a ready-made js and inject in macro (coding js is a potential mental health risk D)
Can somebody write down simple default macro for opening .exe file ( progs which only have one file -.exe file) with Km? Do I need to make .ini file as well?
I tried to adjust macros I have in Km but just ended with crashing or rapid shuts down of KM.
Edited 1 time(s). Last edit at 07/01/2010 02:58PM by panzer.
Quote panzer
I do not want to open another thread:
Can somebody write down simple default macro for opening .exe file ( progs which only have one file -.exe file) with Km? Do I need to make .ini file as well?
I tried to adjust macros I have in Km but just ended with crashing or rapid shuts down of KM.
K-Meleon macro examples to open exe tools from K-Meleon: