Last active
October 15, 2015 22:11
-
-
Save kripy/2b71edd78973a231fd75 to your computer and use it in GitHub Desktop.
Twitter bookmark for posting to iOS.
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
# I don't like using the built in Twitter shares, prefering to use my own posting format: "Title": URL. | |
# It's a little childish and stupid, but then, so is high school. | |
# Create a new Bookmark in Safari and drop in the following script. | |
# It will open Twitter and attempt to scrape the title and URL into the tweet. | |
javascript:location.href='twitter://post?message=\"'+encodeURIComponent(document.title)+'\": '+encodeURIComponent(location.href) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment