ftrain / savepublishing

CoffeeScript code to quickly extract and display all the tweetable statements from a live web page.
http://savepublishing.com
231 stars 25 forks source link

Offer the bookmarklet over HTTPS #13

Open ftrain opened 11 years ago

ftrain commented 11 years ago

Sample URL: https://medium.com/product-design/d8d4f2300cf3

Sites are increasingly hosting over HTTPS, including Medium. The URL won't load.

Requires the site to run securely over HTTPs.

mncaudill commented 11 years ago

I just used this bookmarklet on an SSL-ified page and clicked the button and nothing happened. It appears the URL not loading (as noted in the original bug) is due to the relative URL scheme and the self-signed certificate of savepublishing.com. I changed the savepublishing.com URL to plain ol' "http://" and it loaded happily.

So it seems that the error is more about the self-signed cert (which I could approve manually, but y'know...) and not the mixed schemes at least in the latest version of Firefox.

Regardless, great little bookmarklet -- thanks for building it.

samuelfine commented 11 years ago

Thirding this issue. Looks like https isn't properly configured for the savepublishing.com domain. For example, I'm getting an Apache placeholder here:

https://savepublishing.com/

chrisportela commented 9 years ago

+1 This would be a very simple fix with cloudflare.

luser commented 8 years ago

You could either serve the script via GitHub pages, which support SSL, or get a shiny new free SSL cert from https://letsencrypt.org/ for savepublishing.com.

I tweaked my local bookmarklet to load the script from https://raw.githubusercontent.com/ftrain/savepublishing/master/htdocs/js/lib/savepublishing.js and it works fine.