I've kept around an entire custom User Agent builder, just in case.
Mostly fixes#75.
Everything else is due to them expecting stable Chrome
instead of whatever Electron stable is using.
It'll be easier to add a version override specifically for that now.
These took the form of `let i of e` ... `e[i]`.
Apparently nobody was actually using Rainloop, Fastmail, or Allo, or
someone would've told me. :>
I just happened to notice these.
This works around #72 in combination with 3cc306e.
Inspired by ramboxapp/community-edition@9c0f13d, but written from
scratch using Promises to avoid blocking pointlessly while Promises
resolve.
Fixes#72.
We now default to passive event listeners on all services,
as well as 100ms minimum granularity on setTimeout.
This is because many of the web-wrapped services constantly fire
totally unnecessary repaint events as fast as they can,
as well as actively listening for mouse events which also cause
unnecessary reflow.
On my machine, this cuts the CPU usage by ~70% while not affecting
the usability of any services.
There's a user-toggle available there. There's not a per-service
option for the ServiceList because it shouldn't affect anything
except in truly abnormal cases. If there needs to be one, we can add
it.
We've completely overhauled badge updates by introducing
a callable function which should cover the standard case.
We also allow separate custom JS and JS just for badge updates.
We also make the service editing box taller by default.
We fix the logging for injected stuff to actually remain accurate.
And replace each js_unread in each service with modernized version.
We allow for separate custom badge updates and custom JS to
avoid doing unnecessary title event hooking allow overrides in a
sensible order.
Also remove Yahoo messenger service, as it was shutdown earlier in
July.
Squashed commit of the following:
commit d661565c25
Author: Ryan Zumstein <[email protected]>
Date: Thu May 31 00:10:26 2018 -0500
Fix Gmail important count
commit 30abb3a3c0
Author: rzumstein <[email protected]>
Date: Mon May 21 01:25:45 2018 -0500
Show notifications in new Gmail interface