Thank you for letting me know, this information is crucial. The CPU-only compatibility of transformers.js might make it too slow for text-heavy websites. I will immediately study a way to throttle it.
However, the Chrome web store review might take some time to allow the update.
I assume a lot of processing is happening in a per tab context, I wonder how easy a queue would work in the browser? An optional local self-hosted server script might help.
Actually, a tab only sends its content to a unique offscreen document[0], and because of the single-threaded nature of JS, it works as a queue. So, you are right, throttling might be feasible without too much hurdle.
replete|2 years ago
luke-stanley|2 years ago
klavinski|2 years ago
[0] https://developer.chrome.com/docs/extensions/reference/offsc...