embed-bookmarklets
embed-bookmarklets embed code to ATag fetch from href=<bookmarklets url>
.
Installation
<script src="http://azu.github.io/embed-bookmarklets/embed-bookmarklets.js"></script>
Usage
You should define embed position.
Target <a>
element should has rel="bookmarklets"
.
<p>Drop & Drop <a href="./where-page-in-slide.js" rel="bookmarklets">where-page-in-slide</a> to bookmark toolbar.</p>
<script src="http://azu.github.io/embed-bookmarklets/embed-bookmarklets.js"></script>
Result ===>
<p>Drop & Drop <a href="javascript:..." rel="bookmarklets">where-page-in-slide</a> to bookmark toolbar.</p>
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT