JavaScript-less Google+ (finally)

When we launched the mobile-first version of this blog, we opted not to include Google+ as one of the sharing options because there was no way to make it work without JavaScript (a fact which undermined both our progressive enhancement philosophy and the privacy of our readers). I tried digging into the (IMHO) over-engineered code that manages the +1 button to find an end point, but after about an hour of digging decided it wasn’t worth it. Thankfully there are others out there who are more persistent than I am and a way to share on Google+ without using the Google-supplied JavaScript is now available thanks to the folks at TechLifeWeb.

It started as a bookmarklet, but the endpoint URL for the mobile share form is easily extracted from there (note: this works, ok but is not ideal… see Update #2 below):

We’ve gone ahead and implemented Google+ now, so if you are a fan… happy linking!

Update #1: In playing around with it a bit more, there’s a strange behavior whereby Google says there’s a problem with the post, but it actually does get into your Stream. I’ll dig around a bit and see if I can sort that out.

Update #2: Google is finally supporting this properly. Here’s the URL scheme:

Like it? Share it

Share on LinkedIn

Share on Google Plus