Live data from Hacker News

Comcast injecting JS

gist.github.com

21–30 of 288 posts

Re: Comcast injecting JS

#24
post #5

I'm torn. This seems bad, but the warning (exceeding your bandwidth quota) seems valuable. I can't think of another, better way to message this.

Here are some other ways.

1. They could email you. 2. They could send you a SMS. 3. They could let you view your bandwidth usage by logging into their site. 4. They could provide an application (desktop or mobile) to keep track of your bandwidth and alert you at certain points.

Re: Comcast injecting JS

#26
So if you were proxying some other protocol over port 80, Comcast might just inject some JavaScript into the stream and corrupt your data?

I don't even like the thought that they're running some kind of hardware that makes this possible. They're sending packets impersonating a web server you actually want to talk to, pretending to be part of a response you requested?

Re: Comcast injecting JS

#27

OMG LOL. Have they never heard about jQuery? Christ, they could have made the code so much more elegant.

right tool for the right job. a 1 page script written for comcast does not demand jQuery. That's not to say it would have improved it.

It at least would remove this damn ugly browser switching code. Hey, it's 2013, no need to reinvent the wheel...

Re: Comcast injecting JS

#29

I'm getting a lot of requests on our servers for "/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/notify.do" so I can confirm this is in production. I can also confirm they suck at JS.

I'm assuming you mean the browser detection using useragent right? What's the better way of doing it?

Re: Comcast injecting JS

#30
post #5

I'm torn. This seems bad, but the warning (exceeding your bandwidth quota) seems valuable. I can't think of another, better way to message this.

Here are some other ways. 1. They could email you. 2. They could send you a SMS. 3. They could let you view your bandwidth usage by logging into their site. 4. They could provide an application (desktop or mobile) to keep track of your bandwidth and alert you at certain points.

I use T-Mobile as my mobile carrier and as far as I know they do numbers 2, 3, and 4 that you listed here. I know this because I have received an SMS when I neared my 2GB of unlimited 4G data transfer. I also have logged into their site and used the app on my phone (HTC One S) to monitor my data usage. The phone app even tells you how much data was used by each app and when. It is fantastic. Could that be so hard for Comcast?
Post reply on HN