A bookmarklet that shows the code for bookmarklets. Useful on iOS devices where Mobile Safari can not directly save bookmarklets.
BSD-2-CLAUSE License
Visit the home page: http://chrisjohnsen.github.io/view-bookmarklets-bookmarklet
Alternatives:
Modify the URL in-place by hiding the bookmarklet code as
a fragment identifier. This approach makes it easier to save the
bookmark (no select, copy, edit-exiting bookmark, select, paste),
but requires that the user edit out the prefix (everything
before the #
).