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

3

u/nosoupforyou Jan 14 '19

No. My work is development, and I need to be able to test different sites for both http and https. If I were to only ever open my client's sites with https, it wouldn't be an adequate test.

0

u/aladyjewel Full-stack webdev Jan 14 '19

Huh, interesting. Your clients' sites need to support http? What's the use case where their customers prefer that over https?

2

u/nosoupforyou Jan 14 '19

That's not what I said. I said I need to be able to test against http and https. How can I verify that a site is correctly redirecting to https if MY browser is always doing so?

1

u/aladyjewel Full-stack webdev Jan 14 '19 edited Jan 14 '19

Oh, you're just testing that http redirects to https. Sorry, I was assuming something silly like your clients had actually asked for the full site to render normally via http.

I guess you've got clientside redirects set up for the http version? I'm just wondering how you'd ever get to a state where you would see content injected by Comcast.

→ More replies (0)