Live data from Hacker News

See what JavaScript commands get injected through an in-app browser

krausefx.com

41–50 of 330 posts

Re: See what JavaScript commands get injected through an in-app browser

#41
post #9

I just don't understand how we can allow a Chinese social media app in the west, while any non-chinese social media apps aren't allowed there? Same with housing, why can Chinese nationals buy housing here, while I can't do so there?

Sounds like the opposite of housing from a national security POV. If a Chinese national buys a house in the US, then the US has 'control' over their property. The US would want Chinese nationals to buy houses in the US.

Re: See what JavaScript commands get injected through an in-app browser

#42
post #21

Earlier quoted context omitted.

People are going to reply to you with the usual "we are better than them", "we are a democracy" etc., but reciprocity clauses are very common in areas like international trade, travel, disarmament treaties, emissions control and lots more. In fact China would never have been allowed into the WTO (which happened in 2001) had they not made sweeping changes to their economy and assured the world that they would compete…

Why is it unfair?

I make widgets, you also make widgets. I can sell my widgets in your location, minimal to no restrictions.

You can't sell your widgets in my location. Would you as a seller of widgets think that is fair?

I know the reality is more nuanced than that but people are talking about reciprocal agreements to at least ensure some sense of fairness.

Re: See what JavaScript commands get injected through an in-app browser

#43
For some reason, the phrase "JavaScript commands" stood out to me as being rather awkward. I'd just say "injects JavaScript code" or "injects JS".

We can’t know what TikTok uses the subscription for

According to the code on that page, the function named 'i' needs to be investigated further. It appears to return another function which is then called to process the keypress event.

Re: See what JavaScript commands get injected through an in-app browser

#44
post #9

I just don't understand how we can allow a Chinese social media app in the west, while any non-chinese social media apps aren't allowed there? Same with housing, why can Chinese nationals buy housing here, while I can't do so there?

Money.

And I don't just mean the politicians. I mean downright to the pension funds, hedge funds, and retail investor.

They are all long China and especially Chinese tech. If you start declaring war on Chinese tech you are going to obliterate a huge amount of money all to protect the privacy that US voters don't care about privacy in the least. So why would they do such a silly thing?

National security? Please, the son of a sitting President is a crack user with huge ties to China. Nothing some Tiktor user could divulge through the in app browser could ever compare.

Re: See what JavaScript commands get injected through an in-app browser

#46
post #32
post #25

Earlier quoted context omitted.

> reciprocity clauses are very common in areas like [...] Distributing software for you to run on your own hardware is speech, though, and it's protected by the first amendment. You can license the distribution of your own software if you want, but you can't tell me I can't give you software if you want it. Basically: how do you think this would work, in a way that wouldn't also make Linux or gcc or whatever availabl…

We aren't talking about TikTok as an open source software repository. Their registered business, operations, leases/property purchases, payroll, advertising, data mining, international currency transfer and lots more are all not covered by the first amendment and can absolutely be regulated under a million clauses.

I'd be OK with all of that. Sanctions are a thing. Regulation of data storage is a thing. There's space for debate here. But none of that involves logic like "You can't distribute software in my country if you don't let me distribute software in yours", which was the first amendment violation you started with.

Re: See what JavaScript commands get injected through an in-app browser

#47
The shitty code injected generates a ton of errors. After initially being super annoyed about the noise in our exception reporting, a bright spark observed that it may also be used for detection and user protection, albeit only for our own users.

Re: See what JavaScript commands get injected through an in-app browser

#48
post #9

I just don't understand how we can allow a Chinese social media app in the west, while any non-chinese social media apps aren't allowed there? Same with housing, why can Chinese nationals buy housing here, while I can't do so there?

> how we can allow a Chinese social media app in the west, while any non-chinese social media apps aren't allowed there? Because we are the West, and China is China. We have different laws and customs.

Why does that mean that a Chinese social media app can capture data unlawfully under GDPR, CCPA or or other regulations?

Re: See what JavaScript commands get injected through an in-app browser

#49
post #9

I just don't understand how we can allow a Chinese social media app in the west, while any non-chinese social media apps aren't allowed there? Same with housing, why can Chinese nationals buy housing here, while I can't do so there?

Sounds like the opposite of housing from a national security POV. If a Chinese national buys a house in the US, then the US has 'control' over their property. The US would want Chinese nationals to buy houses in the US.

In some countries housing supply is limited and the housing market can be messed with by influx of foreign ownership. Possibly less of an issue with US due to size of the country. Still, I think if someone can buy land here, we should be able to buy land there (within reason)?
Post reply on HN