dnakov / little-rat

🐀 Small chrome extension to monitor (and optionally block) other extensions' network calls
MIT License
2.08k stars 64 forks source link

Add a rate limiter to popup page refresh #7

Closed wdwind closed 1 year ago

wdwind commented 1 year ago

Refresh popup page every one second. Some extensions are crazy, and will make huge amount of network calls. That will cause popup refresh stuck and unexpected exceptions.

Crazy extension:

Screenshot 2023-08-15 214648

Exception on sendMessage:

uncaught (in promise) error: could not establish connection. receiving end does not exist.

dnakov commented 1 year ago

oh wow, nice, thanks!