Geal / Unpapered

An unhosted Instapaper clone
10 stars 2 forks source link

omit protocol to not have http/https issues #5

Open jancborchardt opened 12 years ago

jancborchardt commented 12 years ago

I’m not sure if that’s just for me or because I have the HTTPS everywhere extension, but sooner or later there will be some protocol issues regarding http vs https.

As per the Google HTML & CSS Guidelines, the protocol on external resources should be omitted (also in the bookmarklet, where it references the storage). so http://… or https://… in the beginning of an address just becomes //…

Geal commented 12 years ago

I fixed it in app.js, but it won't work if I change the authorization code, because I access the app on HTTP, and Owncube uses HTTPS. I'll check if the connect widget has a generic way of solving this.