Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/westurner/linkext

Find the most recent HTML DOM element with an id= attribute
https://github.com/westurner/linkext

dom dom-traversal jquery

Last synced: 5 days ago
JSON representation

Find the most recent HTML DOM element with an id= attribute

Awesome Lists containing this project

README

        

linkext
=========

A jQuery script for locating the closest DOM element with an ``id=``
attribute defined in order to find the most appropriate deep link.

Sources
----------
- https://www.smashingmagazine.com/2010/05/make-your-own-bookmarklets-with-jquery/

- http://pastie.org/462639 -- jQuery Bookmarklet code
- http://www.codetoad.com/javascript_get_selected_text.html -- get
selected text

License
---------
- CC0?