8 ms·
Not too dissimilar from Google Analytics official global opt-out browser extension. It injects a consistent/unchanging item into the global window scope of ever
by krono 4y ago
Not too dissimilar from Google Analytics official global opt-out browser extension.
It injects a consistent/unchanging item into the global window scope of every single page you visit.
https://tools.google.com/dlpage/gaoptout/index.html https://tools.google.com/dlpage/gaoptout/index.html
License prohibits sharing its code so I won't - setting a good example for our artificially intelligent friends :)
- cyberphobe 4y agoI'm sure are artificially intelligent friends give precisely zero fucks what you do and will steal your shit with impunity. If you do crime on a large enough scale, it's called innovation.
- dataflow 4y ago> It injects a consistent/unchanging item into the global window scope of every single page you visit Confused, are you saying they inject a unique ID or something? Do you have an example of what they insert?
- easrng 4y agohttps://news.ycombinator.com/item?id=33430515 https://news.ycombinator.com/item?id=33430515
- easrng 4y agoFuck the license, here's the code it injects: /* Copyright 2010 Google Inc. All Rights Reserved. http://tools.google.com/dlpage/gaoptout/intl/en/eula_text.html */ (function () { var a = document.createElement("script"); a.type = "text/javascript"; a.innerText = 'window["_gaUserPrefs"] = { ioo : function() { return true; } }'; document.documentElement.insertBefore(a, document.documentElement.firstChild); })();
- marcosdumay 4y agoLooks like a really convoluted way to add a "tracking disabled" mark. But I don't see any more than a bit of information on it.
- MonkeyClub 4y ago> Fuck the license Exactly. If you don’t want it shared, then don’t inject it in the first place.
- 1vuio0pswjnm7 4y ago"License prohibits sharing its code so I won't - setting a good example for our artifically intelligent friends :)" What if the person sharing it is not a licensee. License terms would only bind licensees, assuming the purported licensee has properly assented to the license terms.
- _hyn3 4y agoIn which case that person would have no license to use it at all.
- dylan604 4y agoposting code to a forum isn't using it though since the code isn't executed
- EMIRELADERO 4y agoIt's actually the other way around. Copyright doesn't regulate use, but it does regulate distribution. Posting it without permission is a copyright violation.
- dylan604 4y agochange a couple of var names, and you're good to go also, fair use would definitely apply in this case as it's not the entire work and is a small sample. nothing different than playing a small clip/scene from a movie in a review write up. and commentary is definitely being had around said snippet