benjaminp / httpswatch

https://httpswatch.com
MIT License
99 stars 39 forks source link

Make Tweet links not depend on JavaScript #94

Open SecureUtah opened 8 years ago

SecureUtah commented 8 years ago

I noticed that the Tweet buttons are sometimes blocked from loading. I'm assuming it's due to either browser privacy settings or from an adblocker - aren't the buttons created by loading JavaScript from Twitter? With the increased prevalence of adblockers it would be more user-friendly if the Tweet buttons were instead a simple link.

Twitter allows for non-JS Tweets using a Web Intent. I'm hoping it's possible to modify the Tweet link in <div class="tweet-button-container"> in listing.html.jinja to populate a Web Intent for each site but I haven't spent much time yet trying to solve this.

I'll update this if I find a way to make it work.