1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-23 19:03:02 +01:00
uBlock/platform/safari
asamuzaK (Kazz) 9700c32bc9 Optimize SVG icons (#1860)
* Omit XML declaration:
* XML version is 1.0
* encoding is UTF-8
* standalone is no
so it can be omitted.
* Remove unnecessary attributes:
* `xmlns:rdf`, `xmlns:cc`, `xmlns:dc`, `xmlns:xlink` are not used in
these SVG icons.
* No text inside SVG, so `xml:space` is unnecessary.
* `version` attribute will be removed in SVG 2. [Changes from SVG 1.1 —
SVG 2](https://svgwg.org/svg2-draft/changes.html#structure)
* `x` and `y` can be omitted if they are `0`.
* Remove `enable-background` attribute / style property:
* Firefox / Safari does not support `enable-background`.
* It is proposed to be deprecated in SVG 2. [Filter Effects Module Level
1](https://drafts.fxtf.org/filters/#AccessBackgroundImage)
* Remove empty `g` elements.
* Add `width` and `height` attributes in `safari-icon16-off.svg`:
* They are in safari-icon16.svg, simple missing?
2016-08-07 08:26:04 -04:00
..
img/browsericons Optimize SVG icons (#1860) 2016-08-07 08:26:04 -04:00
Info.plist Use prefix for Safari-specific icons 2015-03-14 17:55:11 -06:00
Settings.plist Firefox: implement vAPI.storage via SQLite 2015-01-13 07:28:56 +01:00
Update.plist Safari update link and minor popup improvement 2015-02-09 18:15:52 -07:00
vapi-background.js new switch: toggle cosmetic filtering on/off for a site 2015-04-05 12:03:14 -04:00
vapi-client.js forgot to add shutdown to other platforms (re. https://github.com/gorhill/uMatrix/issues/144) 2015-04-08 06:15:10 -04:00
vapi-common.js Safari: use self instead of window, just in case 2015-03-16 22:52:12 -06:00
vapi-popup.js Safari: popup resizing fix for #1066 2015-03-21 15:11:42 -05:00