The `checkBrowser` function says it is from brainjar.com and used under their terms of service. On the brainjar.com terms of service, it seems to say the code is licensed under the GPLv2+.
Doesn't this make the Comcast script now under the GPL - since GPL code can only be included in compatibly licensed products. Or is Comcast violating the GPL?
This is a crappy move on Comcast's part, but as far as GPL they most likely are not in violation. You can use GPL code in a commercial product as long as you are not distributing it.
If they ever choose to sell or distribute their "content injection system" though, they would have to release it under the GPL or else negotiate another license from the copyright owner.
How are they not distributing it if they send this JavaScript to each user notified? Of course it's JavaScript so maybe that counts as distributing the source...
AGPL fixes this problem for backend code running on the web server, which is technically not distributed, so GPLv2 does not apply. For Javascript code, the code is distributed to the web browser, so even GPLv2 applies.
If the `checkBrowser` function uses GPL'd code, then anything that calls `checkBrowser` in turn must be licensed under the GPL.
But that doesn't mean that this Comcast code _is_ licensed under the GPL. That means that the copyright owner (brainjar) can take action against Comcast, and tell them to either stop using their code, or change the license.
If Brainjar had licensed this code AGPL then Comcast would have to release their code. But since it's GPL 2 then they have no legal right to require Comcast or anybody else to stop using their code. That's one of the great things about GPL (or horrible things, depending on your intention)
Read up on your licenses folks, make sure your code is used the way you intend.
Doesn't this make the Comcast script now under the GPL - since GPL code can only be included in compatibly licensed products. Or is Comcast violating the GPL?