Chinese Posted April 17, 2009 Share Posted April 17, 2009 Hey all, I’m instilling myself, with pleasure, JavaScript and that’s a reason why I made a Firefox Add-On which is filtering the URLs out of the source text. I have already written this Code – it wasn’t so hard That’s it: var links = content.document.getElementsByTagName('a'); for (var i = 0; i < links.length; ++i) { alert(links[i].getAttribute('href')); }; After I read this article http://www.captain.at/programming/xul/ I’m interested in saving those links in a text-file, but I don’t know how to solve this problem. Do you know another way how to do this? Would you be so kind and helm me, please? I’m despairing … Thanks a lot, Chinese from Germany Link to comment https://forums.phpfreaks.com/topic/154556-save-urls-into-txt-file/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.