ESQuery
A Modern, Extremely lightweight shortcut utility for ECMAScript
- Please note the version stored in this repo is not minified, and has in-depth documented comments
- See the
gist, for the minified version
To embed in your project, please add the following to your head
``
html
``
**Please not these names are /NOT/ final and may change throughout development
d
Shorthand for the document object
Element.qs(selector)
Shorthand for the querySelector
Element.qsa(selector)
Shorthand for the querySelectorAll
ce(tagName)
shorthand for create element
Element.ac(Node)
shorthand for Element.appendChild
newTab(uri)
Shorthand for opening a new tab
redirect(uri)
Change location for the current tab