Re:Ask HN: How do we get Google and Twitter to use href attr...
by Miiko on Friday September 10, 2021 @03:23AM
(#28478680)
That's not a bug but a feature - when using href, it would be not possible for them to get data on what link you clicked, and both Google and Twitter rely much on that info.
[ Parent
| on HN ]
Re:Ask HN: How do we get Google and Twitter to use href attr...
by Doxin on Friday September 10, 2021 @04:21AM
(#28478999)
> when using href, it would be not possible for them to get data on what link you clicked
That's plainly false. You can easily add onclick handlers to a tags, or have them redirect through a tracker, or basically any other thing that would work on a button tag.
Re:Ask HN: How do we get Google and Twitter to use href attr...
by williamtwild on Friday September 10, 2021 @06:17AM
(#28479611)
This is wrong. Its trivial to track aa link. There is no way you are a web developer with comments like this. Why do you even bother?