Linky version 2.0.0 is out
Linky is a Mozilla and Mozilla Firebird extension to the context menu that provide you with the following; Opens all links in a selection in new tabs or windows, Finds and opens links in plain text in a new tab or window, Opens all links on page in new tabs or windows, Download all links, etc.
Read more about Linky or install it right away!
What's new?
- Added Download Links option. Download all links on the current page. Disabled by default.
- Added Validate Links option. Validate all links on the current page. Disabled by default.
- Added Unescape option to context menu in the Select Links dialog. Cool p0rn feature I'm told...?
- Added Match Text option to context menu in the Select Links dialog.
- Added Dont Match Text option to context menu in the Select Links dialog.
- Added Copy Links to Clipboard option to context menu in the Select Links dialog.
- The Select Links dialog pref is now per default set to 0 meaning always show.
Check out the screenshots.
Report bugs
Ads:
7 Comments
Good idea. I've tried something like it earlier but I couldn't get it working. But:
document.getElementsByTagNameNS("*", "a")
seems to work fine!
I'll incorporate the changes into the next release of Linky.
Comment by Henrik Gemal at August 29, 2003 02:04 PM | PermalinkThis should work as long as you do extra tests. For example the XML doc might have other a elements belonging to other namespaces. (This should be trivial however.)
Keep up the good work neighbor ;-)
Comment by Erik Arvidsson at August 29, 2003 06:45 PM | Permalink"do extra tests"
Not sure what you mean?
doesn't
document.getElementsByTagNameNS("*", "a")
get all links?
Let's assume that there are other elements from other namespaces with the local name "a". Therefore you should check that there is an href (xhtml href) there as well before assuming it is a link. You still need to do that if you use getElementsByTagName("a") since that will include named anchors as well.
While I'm at it I think that hidden links inside the selection should not be included:
<p><a href=...>...</a> ... <a href="..." display:none;">...</a> ...</p>
or a parent node that is hidden. You can see the problem at your page (http://gemal.dk/mozilla/blogupdates.html ) when selecting more than one of the visible links the links inside the tool tip will be included as well.
erik
Comment by Erik Arvidsson at August 31, 2003 06:10 PM | Permalink> While I'm at it I think that hidden links inside the selection should not be included:
I'm not sure how this can be done. Any clues?
Comment by Henrik Gemal at September 1, 2003 03:25 PM | PermalinkPrefs not showing up automatically in Mozilla 1.7.2 about:config.
"Download all links" doesn't actually download anything.
Tested using Linky2.1.
Comment by Blah dude at September 14, 2004 03:27 AM | Permalink
Still not working with XML pages using XHTML anchors. Maybe you could use document.getElementsByTagNameNS( xhtmlNamespace, 'a') insted of document.links?
Besides from this. This is the extension to have (excellent when using your blogupdates page).
Comment by Erik Arvidsson at August 27, 2003 11:51 PM | Permalink