HackerTrans
TopNewTrendsCommentsPastAskShowJobs

moistness

no profile record

comments

moistness
·vor 2 Jahren·discuss
That’s still unacceptable by western standards. In the US, which is not as free as it declares, there’s a whole category of TV shows insulting the president. Zero repercussions.
moistness
·vor 2 Jahren·discuss
The problem is that “serious laws” in China are unacceptable in the west. You can be in serious trouble for talking about Winnie the Pooh, think about that. That’s just one example.
moistness
·vor 2 Jahren·discuss
This is incredibly hard to figure out. It’s not common sense to never touch the field while the user is interacting with it.

- do not prevent default

- do not limit my input to the exact number of characters

- do not listen to any event other than “blur” unless you’re updating another part of the UI in real time

I really wish that browsers gave control back to the users, and I say this as a FE developer.
moistness
·vor 2 Jahren·discuss
[flagged]
moistness
·vor 2 Jahren·discuss
HTML means HyperText Markup Language. HyperText means “documents linked to each other”. By not using <A> you’re skipping the core reason why HTML exists, as defined by its name.

The other comment explains pretty well what that causes in the browser.
moistness
·vor 2 Jahren·discuss
The use case seems to be very obviously isolation (archived site can’t affect archive.org’s header), although I think iframes would have been a much better solution to this)
moistness
·vor 2 Jahren·discuss
Judging by people who make links via click listener on DIV, the answer is no.

On one side it’s understandable that people work more on abstractions and are more productive (e.g. learn React first, then maybe understand how P is different from DIV), on the other side it’s incredibly frustrating to see links that aren’t real links even on Google’s websites.