in my opinion, here is what browsers should do with javascript to prevent this kind of abuse:

- give scripts a certain amount of CPU time shares

- if the script exceeds the CPU time share, fucking kill it

- for long running computations, add additional CPU time shares every so often (but not enough to allow for a script to just sit there and peg the CPU)

- give web workers a large initial quota, but refill their buckets much more slowly

this will kill monero scripts dead without breaking anything

@kaniini This will kill badly written websites, but browser vendors don't want that because users would then switch to Chrome

Sign in to participate in the conversation
Octodon is an actively-moderated mostly French-speaking Mastodon instance. est une instance Mastodon principalement francophone et avec une modération active.