chubin / wttr.in

:partly_sunny: The right way to check the weather
https://wttr.in
Apache License 2.0
24.5k stars 1.1k forks source link

Replace the twitter follow button with a regular hyperlink for less 3rd party tracking potential #608

Open squeak9 opened 3 years ago

squeak9 commented 3 years ago

The site is so light and relatively private compared to other weather sites except for the twitter thing, could it be replaced with an image or just a hyperlink with no loss in functionality for ? And while you're at it you could do the same with the github buttons?

Don't get me wrong, you should promote yourself and this cool software! It's just that the website could potentially be 18 times lighter with no loss in functionality and users get tracked a bit less by other companies for no reason.

More info: https://themarkup.org/blacklight?url=wttr.in https://urlscan.io/result/1331315e-e49f-4a11-be62-356e6244cba4/

This website contacted 6 IPs in 2 countries across 5 domains to perform 14 HTTP transactions.

(one of those IP's is required to displaying the weather)

kzehnter commented 3 years ago

That's a good idea. Have you looked into the code to find how this could best be applied?

squeak9 commented 3 years ago

I'm no real developer but I imagine you'd edit this line: https://github.com/chubin/wttr.in/blob/master/lib/buttons.py#L2

Remove the script tag and just keep the <a href="....</a> stuff?

kzehnter commented 3 years ago

If you want to, you can clone this repo, change the line, test it and create a pull request but it might be smart to wait for @chubin . Maybe he has reasons for having that Twitter button like it is.

remi-garcia commented 3 years ago

I agree that this button stands apart from the rest https://www.webbloatscore.com?url=https://wttr.in/

chubin commented 2 years ago

Maybe he has reasons for having that Twitter button like it is. No real reason. I will fix it, or you can create a PR too, go ahead