Commit graph

5658 commits

Author SHA1 Message Date
Raymond Hill
3ff6a1d9e2
import translation work from https://crowdin.com/project/ublock 2018-05-08 09:49:19 -04:00
Raymond Hill
7e5661383a
code review to further lower overhead of updating toolbar icon 2018-05-08 09:43:25 -04:00
Raymond Hill
bdb96889e6
make Firefox dev build auto-update 2018-05-07 19:45:04 -04:00
Raymond Hill
6b4f472773
new revision for dev build 2018-05-07 19:37:08 -04:00
Raymond Hill
e772d20ff2
add new sized icons 2018-05-07 19:24:23 -04:00
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
Raymond Hill
5fff16743f
make Firefox dev build auto-update 2018-05-06 15:13:05 -04:00
Raymond Hill
29a5306f5a
import translation work from https://crowdin.com/project/ublock 2018-05-06 15:09:39 -04:00
Raymond Hill
9ab6ea573f
new revision for dev build 2018-05-06 15:07:40 -04:00
Raymond Hill
35f939f993
fix https://github.com/ghacksuserjs/ghacks-user.js/issues/412 2018-05-06 15:06:26 -04:00
Raymond Hill
ee36b3ddd5
add missing favicon to assert-viewer page 2018-05-06 07:36:58 -04:00
Raymond Hill
8dd22c848a
fix https://issues.adblockplus.org/ticket/6649 (allow u flag in regexes) 2018-05-05 08:14:29 -04:00
Raymond Hill
e5d5d9eaf6
code review for 14709d18cf 2018-05-05 06:28:16 -04:00
Raymond Hill
b04c76cdc3
make Firefox dev build auto-update 2018-05-04 08:51:02 -04:00
Raymond Hill
77e15054ef
new revision for dev build 2018-05-04 08:47:30 -04:00
Raymond Hill
14709d18cf
fix #2809 2018-05-04 08:44:54 -04:00
Raymond Hill
8be1aed04d
guard against future instances of issue fixed in #3721 2018-05-03 09:55:36 -04:00
Raymond Hill
62fd1fe44f
new revision for stable release 2018-05-03 08:05:38 -04:00
Raymond Hill
6cccf6ccda
Revert "fix #2809"
This reverts commit 32e2a1b2c7.
2018-05-02 14:09:47 -04:00
Raymond Hill
6f3442dacc
make Firefox dev build auto-update 2018-05-02 09:48:36 -04:00
Raymond Hill
eada35db57
new revision for release candidate 2018-05-02 09:43:58 -04:00
Raymond Hill
32e2a1b2c7
fix #2809 2018-05-02 09:41:30 -04:00
Raymond Hill
f7b07317c7
import translation work from https://crowdin.com/project/ublock 2018-05-02 08:04:45 -04:00
Raymond Hill
5f2ee18841
make Firefox dev build auto-update 2018-05-01 20:20:59 -04:00
Raymond Hill
32cf6a9a65
import translation work from https://crowdin.com/project/ublock 2018-05-01 20:18:25 -04:00
Raymond Hill
e032a4c704
new revision for release candidate 2018-05-01 20:16:49 -04:00
Raymond Hill
f64d703ba0
fix quirks in parsing of Steven Black's hosts files 2018-05-01 18:29:58 -04:00
Raymond Hill
5c82bf6eba
restrict read/write of cached auth secrets to user 2018-05-01 08:25:20 -04:00
Raymond Hill
d6c1ab868c
make Firefox dev build auto-update 2018-05-01 08:11:56 -04:00
Raymond Hill
46e1c79916
import translation work from https://crowdin.com/project/ublock 2018-05-01 08:08:59 -04:00
Raymond Hill
a426e8a7a2
new revision for release candidate 2018-05-01 07:59:57 -04:00
Rob Wu
b27f23d520 Clear return value of vapi.js content script (#3721)
Upon start-up, uBlock runs all content scripts in manifest.json using
`chrome.tabs.executeScript`. When this API is used, the value of the
last expression is automatically cloned and transferred to the
callback of `chrome.tabs.executeScript`. This is convenient if needed,
and a performance burden otherwise (the latter is the case for uBlock).

There are three content scripts that need to be checked:

- vapi.js
  The last expression is often the vAPI object, and it is relatively
  expensive to clone this object. This commit sets the value of the
  last expression to `void 0` to solve this inefficiency.

- vapi-client.js
  No action needed yet; The last expression is `vAPI.shutdown.add(...)`,
  which has a void return value.

- contentscript.js
  No action needed yet; The last expression is an immediately-invoked
  function expression without return value.
2018-05-01 07:28:21 -04:00
Raymond Hill
820ec69916
fix load/store of publishing auth secrets for reuse 2018-04-30 13:14:03 -04:00
Raymond Hill
2da6d9a638
make Firefox dev build auto-update 2018-04-30 13:07:13 -04:00
Raymond Hill
2c00b70e55
new revision for dev build 2018-04-30 13:03:13 -04:00
Raymond Hill
efe68e0f9c
fix https://www.reddit.com/r/firefox/comments/8a5e0e/if_you_find_firefox_for_android_slow_disable/dy7q6w2/ 2018-04-30 13:00:12 -04:00
Raymond Hill
a43b553020
import translation work from https://crowdin.com/project/ublock 2018-04-30 08:42:39 -04:00
Raymond Hill
04e3995528
make Firefox dev build auto-update 2018-04-29 11:16:07 -04:00
Raymond Hill
1c4285f540
bring install infor up to date 2018-04-29 11:12:43 -04:00
Raymond Hill
aaaffc8e7a
new revision for dev build 2018-04-29 11:12:04 -04:00
Raymond Hill
cc5dcfb072
import translation work from https://crowdin.com/project/ublock 2018-04-29 09:12:37 -04:00
Raymond Hill
674c3c6079
fix https://github.com/uBlockOrigin/uBlock-issues/issues/17 2018-04-29 09:07:12 -04:00
Raymond Hill
f79c6ced20
fix comments 2018-04-28 15:42:23 -04:00
Raymond Hill
dc61b8a992
load/save secret tokens to/from env variable 2018-04-28 15:38:33 -04:00
Raymond Hill
a0972d7a5f
make Firefox dev build auto-update 2018-04-28 14:21:11 -04:00
Raymond Hill
fba09ef63e
new revision for dev build 2018-04-28 14:17:16 -04:00
Raymond Hill
8e8e06e3e7
import translation work from https://crowdin.com/project/ublock 2018-04-28 14:16:15 -04:00
Raymond Hill
350f590ac0
rename Firefox package from uBlock0.webext.xpi to uBlock0.firefox.xpi 2018-04-28 10:08:55 -04:00
Raymond Hill
e37f6ee666
don't publish a package for webext 2018-04-27 15:03:20 -04:00
Raymond Hill
f90ec9c957
import translation work from https://crowdin.com/project/ublock 2018-04-27 15:01:53 -04:00