This reverts commit f46631a6fb.
This fixes#76 and #79.
Apparently some sites, in this case FB Messenger and Outlook 365,
blindly use `eval` and aren't responsive to fixes. If this causes
security problems down the road, please don't blame me. :)
It can be trivially exploited online, so no service page should be
using this. I'll gladly help people report bugs upstream if It
comes down to that, but electron strongly recommends this.
This is reintroduced from c982df1a7a
as ICQ seems to've fixed the issue, despite not honoring bug bounty.
This reverts commit c982df1a7a.
Apparently ICQ is broken, I'll try to get them to fix it, or make
a blacklist. Could use a UI person's help if we need more options. <3
It can be trivially exploited online, so no service page should be
using this. I'll gladly help people report bugs upstream if It
comes down to that, but electron strongly recommends this.
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.