Last active
November 4, 2019 17:45
-
-
Save fuzzylogicxx/42bb72645b94db440f55625ea3235cd0 to your computer and use it in GitHub Desktop.
Bookmarklet for bookmarking and sharing something on my personal website
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Drag me to the browser’s Bookmarks Bar --> | |
| <a class="bookmarklet" href="javascript:(function(){var title = document.getElementsByTagName('title')[0].innerHTML;title = encodeURIComponent(title);var selection = '';if (window.getSelection) {selection = window.getSelection().toString();} else if (document.selection && document.selection.type != 'Control') {selection = document.selection.createRange().text;}selection = encodeURIComponent(selection);new_window=window.open('https://fuzzylogic.me/bookmarker/?title='+title+'&body='+selection+'&url='+encodeURIComponent(document.location.href),'Bookmarker','resizable,scrollbars,status=0,toolbar=0,menubar=0,titlebar=0,width=680,height=700,location=0');})();">Bookmark on fl.me</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment