Skip to content
embed-bookmarklets embed bookmarlets fetched from href=<bookmarklets url> to a.href.
Branch: gh-pages
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
embed-bookmarklets.js
package.json

README.md

embed-bookmarklets

embed-bookmarklets embed bookmarlets fetched from href=<bookmarklets url> to a.href.

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>

DEMO : http://azu.github.io/where-page-in-slide/

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

You can’t perform that action at this time.