Live data from Hacker News

URL shorteners set ad tracking cookies

ylukem.com

181–190 of 213 posts

Re: URL shorteners set ad tracking cookies

#181
post #65

We use Cloudflare Workers as a very simple URL shortener [1]. It has very generous free tier (100k requests per day) so it's more than enough for a lot of use cases. [1] https://lucjan.medium.com/free-url-shortener-with-cloudflare...

Cloudflare docs [1] recommend using an ‘AAAA’ record with the value ‘100::’ for the dummy DNS entry. 1. https://developers.cloudflare.com/workers/learning/getting-s...

Thanks, edited the article.

Re: URL shorteners set ad tracking cookies

#182

Earlier quoted context omitted.

FYI that your site is blocked by this list: https://gitlab.com/The_Quantum_Alpha/the-quantum-ad-list HN post for that list here: https://news.ycombinator.com/item?id=25512273

Hm, well I've got to work out how to get off that list! Thanks for giving me the heads up. EDIT: I'm not sure quite how to deal with being put on ad lists. Sure, people can upload any file to our host so it's plausible that someone, at some point, has uploaded an advert. Someone could also redirect to an advert domain and we'd have no way to really deal with that unless it was reported. Ideas are welcome for solution…

For me the problem is that you hide URL's that I can click on and have no idea where I end up. So I block all url-shorteners as a principle on my pi-hole.

Re: URL shorteners set ad tracking cookies

#183

Earlier quoted context omitted.

I use u-block origin on "medium" mode where you have it block 3rd party javascript by default and it behaves the same. Unblocking the cloudflare originating javascript fixes it. I'd guess my setup is more common than having javascript disabled entirely. Not a complaint, just another data point.

Is there some reason you want to block cloudflare JS? If not, wouldn't it be easier to add an exception to uBlock rather than try to get devs to change their site for you?

The extension is blocking 3rd party JS. Nothing against Cloudflare specifically.

There are various reasons to block 3rd party JS; security, privacy etc; CDNs and remote-linking of Javascript and other such content is counter productive to those endeavours.

A good-citizen should aim to self-host anything as important as executable code _where possible_. The reasons, I hope, are obvious.

Re: URL shorteners set ad tracking cookies

#184
post #108

Earlier quoted context omitted.

More than you'd think, not as many as I'd hope. Easily 2/3rds of the ones I visit work, FWIW. Google works fine without javascript. Stunningly fast.

> Google works fine without javascript. Stunningly fast. Until they block you for "suspicious behavior" after a few minutes of using it like that.

DDG has a No Javascript based search.

Re: URL shorteners set ad tracking cookies

#185

Earlier quoted context omitted.

Just some thoughts: 1. Reach out to the list maintainer to see why your site was added. 2. Create a blocklist comprised of those ad lists. Don’t redirect to sites on the blocklist. 3. (Of dubious practical value) Create a Terms of Service that says users may not use your to link to advertisements.

+1 to the second suggestion as a low-effort way to make some headway in staying off blocklists. A place to start might be this large, very popular list that combines a bunch of other lists: https://oisd.nl/ Actual text file is here (large file warning): https://hosts.oisd.nl/ Just prevent your service from shortening links to any of those domains.

You might want to consider checking for hosts listed in https://github.com/notracking/hosts-blocklists

This is an excellent merged blocklist, with public whitelist (oisd is fully closed, no insight in what is whitelisted and why, also causing more false positives..)

Re: URL shorteners set ad tracking cookies

#186
I'm an avid tinyurl user. Anyone from that site want to explain their justification for this before I stop using your service?

What's a good alternative (with the ability to tailor the shortened url)? I wouldn't mind paying a couple bucks a year.

Re: URL shorteners set ad tracking cookies

#187

I'm an avid tinyurl user. Anyone from that site want to explain their justification for this before I stop using your service? What's a good alternative (with the ability to tailor the shortened url)? I wouldn't mind paying a couple bucks a year.

Take a look at https://t.ly/ as an alternative to tinyurl. You can update the url ending on the $5 a month plan. It’s a shorter domain with more options available.

Re: URL shorteners set ad tracking cookies

#188

Earlier quoted context omitted.

It is a shame that T.LY displays only the footer without JavaScript enabled instead of degrading gracefully. Surely a plain HTML form that POSTs should suffice? I'm not sure how much work it would require for you to support this, but it would help cement your place as a good web actor if you're so inclined!

Sorry about that. I honestly didn't think anyone browsed the web without javascript enabled. How common is that? We do offer a simple to use api that you could build on top of to shorten link. Also an extension that offers the ability to shorten a url in one click. API Docs: https://t.ly/docs/ Extension: https://t.ly/extension

> I honestly didn't think anyone browsed the web without javascript enabled. How common is that?

I don't know how common it is, but I do. I have a secondary browser profile which does allow it, but frankly for just about any page I visit if it doesn't work without JavaScript I will skip it: the Internet is large and I rarely need to look at a page.

Re: URL shorteners set ad tracking cookies

#189

Earlier quoted context omitted.

It is a shame that T.LY displays only the footer without JavaScript enabled instead of degrading gracefully. Surely a plain HTML form that POSTs should suffice? I'm not sure how much work it would require for you to support this, but it would help cement your place as a good web actor if you're so inclined!

Sorry about that. I honestly didn't think anyone browsed the web without javascript enabled. How common is that? We do offer a simple to use api that you could build on top of to shorten link. Also an extension that offers the ability to shorten a url in one click. API Docs: https://t.ly/docs/ Extension: https://t.ly/extension

> I honestly didn't think anyone browsed the web without javascript enabled.

I certainly do! I am sure that I am very unusual, but to this day I very much prefer not to grant execute permissions to ever page I read. JavaScript is a huge security/privacy/performance hole, and is simply not needed for displaying lines of text and images, nor for accepting forms data.

It has some pros, too, but on the whole I really miss the mid-2000s Web and am not fond of all the web applications out there.

Re: URL shorteners set ad tracking cookies

#190

Earlier quoted context omitted.

Doesn’t all content exist to receive attention? I think there would be exceptions, like test sites, personal experiments etc. that could make it on to the internet without seeking attention, but any content designed for consumption is attention-seeking.

> Doesn’t all content exist to receive attention? Maybe. Attention can also be granted without it have been called there. There are also websites not designed for consumption. If every website is advertising, then surely most of human discourse and activity would also be considered advertising. What's even the purpose of the word? You're not going to convince me that everything is an ad, and I probably won't convince…

I agree that not everything is an ad. I think the parent comment is fairly trite.

I do believe all content made for consumption (even purely informational content) is attention-seeking.

Post reply on HN