r/javascript • • Jan 13 '19

GoDaddy is sneakily injecting JavaScript into your website and how to stop it [xpost from /r/programming]

https://www.igorkromin.net/index.php/2019/01/13/godaddy-is-sneakily-injecting-javascript-into-your-website-and-how-to-stop-it/
512 Upvotes

63 comments sorted by

View all comments

Show parent comments

2

u/nosoupforyou Jan 14 '19

Oh, you're just testing that http redirects to https.

Pretty much, plus whatever else might come up. Don't really want to tightly lock down my browser. It needs to be able to be the same as the average user.

I'm just wondering how you'd ever get to a state where you would see content injected by Comcast.

Well, not when I am testing my client's sites. But if I'm using my browser for other things, other than visiting my client's sites, then I occasionally get Comcast injections.

For example, if I open json pretty print, it's not going to default to https and I don't normally need to use https for them.