Skip to content

Instantly share code, notes, and snippets.

@lyoshenka
Forked from capndesign/bookmarklet.js
Last active January 3, 2026 00:10
Show Gist options
  • Select an option

  • Save lyoshenka/707529 to your computer and use it in GitHub Desktop.

Select an option

Save lyoshenka/707529 to your computer and use it in GitHub Desktop.
Use Gist or Github file as bookmarklet.
<a href="javascript:(function(){s=document.createElement('script');s.src='https://gist.github.com/raw/707529/bookmarklet.js?'+Math.random();document.body.appendChild(s);})();">Drag this to your bookmark bar</a>
(function() {
alert('Replace demo.js with the URL of your javascript file.');
})();
@lyoshenka
Copy link
Author

Reminder to myself on how to make bookmarklets that get their source from Git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment