1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-23 19:03:02 +01:00
uBlock/platform/webext
Raymond Hill 89fd76ac39
use image data instead of paths for browser icons
When using paths, platform implementations of setIcon typically
will fetch the resource then convert to image data internally.
It is preferable for uBO to do this conversion itself as it can
be done only once at launch time.

With chromium-based browsers, using image data eliminate the
incessant network traffic to fetch browser icons as reported
in the extension's dev tool, meaning a good chunk of overhead
is eliminated.

Also, use optimal icon sizes, as of now both chromium and firefox
prefers 16px instead of 19px, and 32px instead of 38px.
2018-05-07 19:03:50 -04:00
..
manifest.json use image data instead of paths for browser icons 2018-05-07 19:03:50 -04:00
README.md typo 2018-04-27 12:49:34 -04:00
vapi-usercss.js guard against future instances of issue fixed in #3721 2018-05-03 09:55:36 -04:00
vapi-webrequest.js rename "debian" target to more accurate "webext" 2018-04-27 12:39:43 -04:00

The purpose of the webext target is to create a single package which can be used for both Chromium and Firefox. Such package is a requirement to have uBlock Origin shipped in Debian.