1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-16 23:42:39 +01:00
Commit Graph

134 Commits

Author SHA1 Message Date
Raymond Hill
d15163d3bb
Clarify that the code base was really old and obsolete 2019-09-22 09:57:38 -04:00
Raymond Hill
1d93d6f64e
Fix typo
Related feedback:
- 149b5cf59c (r35158554)
2019-09-19 17:19:29 -04:00
Raymond Hill
149b5cf59c
Reomving now obsolete Safari code base
See README.md file:
https://github.com/gorhill/uBlock/tree/master/platform/safari/README.md
2019-09-19 08:19:39 -04:00
Michele Spagnuolo
15ed9abb5b Compress the icon PNGs with zopflipng (#3458) 2018-04-15 06:30:40 -04:00
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
gorhill
125513164f forgot to add shutdown to other platforms (re. https://github.com/gorhill/uMatrix/issues/144) 2015-04-08 06:15:10 -04:00
gorhill
2dde6f15de new switch: toggle cosmetic filtering on/off for a site 2015-04-05 12:03:14 -04:00
Chris
6850fa0a26 Safari: minor code fix 2015-03-31 17:06:12 -06:00
gorhill
5b34efc55e this fixes #1128 2015-03-30 17:42:12 -04:00
Chris
4cf276ca9d Safari: enable site warning document to work 2015-03-26 12:31:25 -05:00
Chris
1699040649 Safari: better popup blocking 2015-03-23 13:01:50 -05:00
Chris
1910dfdf02 SVGs 2015-03-23 00:51:17 -05:00
Chris
46b786dd32 Safari: pixel-fit icon for non-retina screens; fixes #1075 2015-03-22 21:20:09 -05:00
Chris
93d26f6159 Safari: popup resizing fix for #1066 2015-03-21 15:11:42 -05:00
Chris
072bfb9567 Update header comments (copyright year, etc.) 2015-03-17 19:08:48 -06:00
Chris
774e30aec6 Helps #996 and simplifies platform code 2015-03-17 18:55:19 -06:00
Chris
aaf8a9835c Safari: use self instead of window, just in case 2015-03-16 22:52:12 -06:00
Chris
339ffe9698 Safari: enable storage-used number formatting consistent with other browsers 2015-03-16 22:50:39 -06:00
Chris
cf3816b494 Safari: code review for readability 2015-03-16 18:09:06 -06:00
Chris
3c9f5c0da1 Safari: don't need to inject a stylesheet into popup 2015-03-16 18:08:12 -06:00
Chris
924bcfab62 Safari: remove hardcoded values from popup resizing 2015-03-16 17:40:17 -06:00
Chris
30f795caf5 Safari: remove dead code 2015-03-16 17:13:02 -06:00
Chris
5e363d1e37 Safari: fix popup resizing hiccup 2015-03-16 17:08:28 -06:00
Chris
9395e78957 Safari: make popup sizing work w/ recent modifications 2015-03-16 12:02:54 -06:00
gorhill
b83e0b46d5 move platform-specific images to their respective platform 2015-03-15 08:17:38 -04:00
Chris
2d30b04973 Safari: seamless transfer of settings to proper storage 2015-03-14 18:13:00 -06:00
Chris
441c1dd822 Use prefix for Safari-specific icons 2015-03-14 17:55:11 -06:00
Deathamns
f6ccacf550 Firefox,Safari: vAPI.localStorage 2015-03-14 19:53:30 +01:00
gorhill
ed88939a63 this fixes #792 2015-03-14 14:12:05 -04:00
gorhill
e59673b789 added newly available languages 2015-03-13 17:34:59 -04:00
Chris
4e31b0b6d9 Safari: code review; oops 2015-03-11 17:58:47 -06:00
Chris
03797626cf Fix vAPI.download across all platforms 2015-03-11 17:54:32 -06:00
Chris
717c7a0a60 Completes fix of #988 2015-03-11 16:29:08 -06:00
Chris
654c82619a Sort-of fixes #988 2015-03-11 15:53:23 -06:00
Chris
10f656f8fe Safari: new storage now works; closes #985 2015-03-11 00:11:18 -06:00
Chris
4720ecdf58 Safari: new storage 2015-03-11 00:04:31 -06:00
Chris
30eafed70a More µ to u 2015-03-09 22:00:48 -06:00
Chris
476fd17555 Safari: enable click to subscribe 2015-03-09 13:56:05 -06:00
Chris
3413289646 Safari vapi-client.js minor formatting 2015-03-08 15:53:39 -06:00
gorhill
8341fb2193 this fixes #967 2015-03-08 11:06:36 -04:00
Deathamns
252eb1b4dc Safari: make it work on version 5 2015-03-08 12:20:07 +01:00
Deathamns
0306f52c0e Safari: update locale list 2015-03-08 12:18:57 +01:00
Chris
1e4f72579d Prevent crash on Safari < 8; code review 2015-03-04 15:30:47 -07:00
Chris
91c7648212 Safari: minor scoping tweaks 2015-03-01 21:39:15 -07:00
Chris
83975124a4 Safari: XHR should explicitly fail. Fixes #878 2015-03-01 21:09:28 -07:00
Deathamns
dc8623f1e8 Firefox/Fennec code cleanup 2015-02-28 20:46:49 +01:00
Chris
d64a340d2e Safari: fix main_frame handling 2015-02-25 11:37:33 -07:00
Chris
ed5891d876 Safari: storage quota and new version 2015-02-23 12:00:35 -07:00
Chris
58ae9f266b Safari: block programmatic image requests, more thorough XHR
Currently, this is done the same way we block XMLHttpRequests: mess
with the constructor. This was done in the most efficient way I
could think of (overhead is relatively minimal). This also
injects uBlock's blocking interceptor earlier, thusly covering
more requests that may have slipped through before.
2015-02-22 22:13:54 -07:00
Chris
29fa6cb2e8 Safari: block programmatic image requests
Currently, this is done the same way we block XMLHttpRequests: mess
with the constructor. This was done in the most efficient way I
could think of (overhead is relatively minimal).
2015-02-22 22:00:37 -07:00