|
I have ported most of our UI code over from Chrome.
Please only review the following, the rest is just copied as-is:
- background.js
- config.xml
- i18n.js (just the i18n object at the top)
- options.js (only a few changes, best look at the diff to Chrome)
I have deliberately omitted the popup, because both click hiding and enabling/disabling ABP on specific domains is not trivial.
The code is in a branch called port-chrome-ui.
Total comments: 18
Total comments: 18
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+6062 lines, -881 lines) |
Patch |
|
M |
background.js
|
View
|
1
2
3
4
|
3 chunks |
+84 lines, -1 line |
0 comments
|
Download
|
|
R |
button.js
|
View
|
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
|
M |
config.xml
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
R |
design/default.css
|
View
|
|
1 chunk |
+0 lines, -40 lines |
0 comments
|
Download
|
|
R |
design/footer.css
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
R |
design/header.css
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
|
R |
design/input.css
|
View
|
|
1 chunk |
+0 lines, -67 lines |
0 comments
|
Download
|
|
R |
design/notify.css
|
View
|
|
1 chunk |
+0 lines, -47 lines |
0 comments
|
Download
|
|
R |
help.html
|
View
|
|
1 chunk |
+0 lines, -46 lines |
0 comments
|
Download
|
|
R |
help/help.js
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
|
A |
i18n.js
|
View
|
1
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
|
A |
icons/abp-128.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
icons/abp-18.png
|
View
|
1
|
Binary file |
0 comments
|
Download
|
|
A |
icons/abp-32.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
R |
images/googlePlus.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
R |
images/icon128.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
R |
images/icon256.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
R |
images/icon32.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
R |
images/icon64.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
R |
images/opera_small.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
R |
images/remove12.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
R |
images/remove14.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
R |
images/secure.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-icons_222222_256x240.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-icons_2e83ff_256x240.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-icons_454545_256x240.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-icons_888888_256x240.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/images/ui-icons_cd0a0a_256x240.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
jquery-ui/css/smoothness/jquery-ui-1.8.16.custom.css
|
View
|
|
1 chunk |
+345 lines, -0 lines |
0 comments
|
Download
|
|
A |
jquery-ui/js/jquery-1.7.1.min.js
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
jquery-ui/js/jquery-ui-1.8.16.custom.min.js
|
View
|
|
1 chunk |
+112 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/ar/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+179 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/bg/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/ca/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/cs/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/da/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/de/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+186 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/el/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/en-GB/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
R |
locales/en/files/translate.js
|
View
|
|
1 chunk |
+0 lines, -135 lines |
0 comments
|
Download
|
|
A |
locales/en/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+234 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/es-ES/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+186 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/es-LA/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/et/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/fi/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+179 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/fr/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+185 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/he/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+179 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/hr/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/hu/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+179 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/it/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+186 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/ja/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/ko/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+186 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/lt/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/lv/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+165 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/nl/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/pl/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+183 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/pt-BR/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+186 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/pt/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/ro/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/ru/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+179 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/sk/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/sl/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/sr/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/sv/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+186 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/th/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/tr/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/uk/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/vi/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+165 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/zh-CN/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+186 lines, -0 lines |
0 comments
|
Download
|
|
A |
locales/zh-TW/messages.json
|
View
|
1
2
3
4
|
1 chunk |
+186 lines, -0 lines |
0 comments
|
Download
|
|
M |
options.html
|
View
|
1
|
1 chunk |
+264 lines, -62 lines |
0 comments
|
Download
|
|
A |
options.js
|
View
|
1
|
1 chunk |
+584 lines, -0 lines |
0 comments
|
Download
|
|
R |
options/about.js
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
R |
options/cssDisplay.js
|
View
|
|
1 chunk |
+0 lines, -80 lines |
0 comments
|
Download
|
|
R |
options/help.js
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
R |
options/listsDisplay.js
|
View
|
|
1 chunk |
+0 lines, -79 lines |
0 comments
|
Download
|
|
R |
options/other.js
|
View
|
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
|
R |
options/privacy.js
|
View
|
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
|
R |
options/time.js
|
View
|
|
1 chunk |
+0 lines, -36 lines |
0 comments
|
Download
|
|
R |
options/whitelist.js
|
View
|
|
1 chunk |
+0 lines, -70 lines |
0 comments
|
Download
|
|
A |
update_locales.py
|
View
|
1
2
3
4
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
Total messages: 11
|