gorhill
8374799c7d
various minor code review
2016-06-30 22:03:29 -04:00
gorhill
367e6ee8de
fix #1726
2016-06-16 19:10:07 -04:00
gorhill
a33dc4f8e2
fix #1725 (assuming the issue was uBO not properly blocking data:
images)
2016-06-16 09:46:18 -04:00
gorhill
e475e1ece8
this fixes #650 ; code reviewed changes re. #1202 , #1545 ; fine tuning picker UI
2016-04-16 11:20:01 -04:00
gorhill
eb8c17d55c
this takes care of #1443
2016-03-08 16:35:06 -05:00
gorhill
e5c2eff2d0
code review to fix "javascript.options.strict" warnings in browser console of Firefox
2016-03-07 09:55:04 -05:00
gorhill
abb6d1a610
this fixes #1403
2016-02-22 15:54:07 -05:00
gorhill
0adae9fb65
this fixes #1395
2016-02-17 09:28:20 -05:00
gorhill
89148351e8
#1163 : this implements "block elements by size"
2016-01-17 13:30:43 -05:00
gorhill
7fbde83a28
this fixes #912
2016-01-04 10:48:28 -05:00
gorhill
ea49484dd3
this fixes #1067 + partially fixes #1070
2015-12-15 10:40:40 -05:00
gorhill
9c12ef02bb
cosmetic filtering switch must disable ONLY cosmetic filtering.
...
Before this fix, the turning off cosmetic filtering through the per-site
cosmetic filtering switch was also disabling the blocked resources
collapser.
2015-12-13 00:33:53 -05:00
gorhill
fd1ccebf41
this fixes #1022
2015-12-07 08:59:22 -05:00
gorhill
2705432f43
code review
2015-12-02 00:59:51 -05:00
gorhill
72f5e44ec0
code review
2015-11-29 17:06:58 -05:00
gorhill
f2d2133d76
minor code review
2015-11-28 10:29:05 -05:00
gorhill
46d39838e3
redirect engine: more fine tuning + proof of concept for dayt.se
2015-11-26 17:56:30 -05:00
gorhill
2e8adfe944
this fixes #978
2015-11-26 11:11:28 -05:00
gorhill
135ad95d61
#760 : reflect obsolete status immediately in UI
2015-10-14 14:16:43 -04:00
gorhill
6cc07a4027
removed unused code
2015-09-14 10:48:23 -04:00
gorhill
36a15e2e02
Experimental fix for #44
...
Disregard no-popups per-site switch for a URL which matches
a link clicked by the user.
2015-09-10 13:46:18 -04:00
gorhill
9b4b998364
#608 : this fixes a bunch of strictness-related warnings
2015-08-18 11:44:24 -04:00
gorhill
690421aead
sync feature ( #80 ): draft
2015-08-11 15:29:14 -04:00
gorhill
8dd21c5f49
change of mind: removing 3p-passive because redundancy, better to work on doc
2015-07-27 09:20:47 -04:00
gorhill
35106dcd90
new dynamic rule type: "3p-passive", for css/images
2015-07-24 19:27:23 -04:00
gorhill
aeba71790f
some refactoring: move to-aux-process-messaging timeout into vAPI
2015-06-29 10:46:20 -04:00
gorhill
f12bbd4703
comment
2015-06-27 08:52:45 -04:00
gorhill
7d2855180c
some refactoring of new DOM inspector code
2015-06-26 15:45:54 -04:00
gorhill
631443768f
dom inspector: ébauche
2015-06-26 00:08:41 -04:00
gorhill
9a5404ef07
this fixes the other half of #58 : from which list(s) a cosmetic filter originates
2015-06-13 11:21:55 -04:00
gorhill
060a43fe81
this addresses half of #58 : find list(s) from which a static network filter originates
2015-06-11 12:12:23 -04:00
gorhill
113c2e11a5
this (indirectly) fixes #15 : let uBlock block remote fonts globally or on a site-basis
2015-06-10 09:23:48 -04:00
gorhill
90d009ea3f
this fixes https://github.com/chrisaljoudi/uBlock/issues/675
2015-06-07 20:27:19 -04:00
gorhill
48f47a6849
logger: ability to create static net filters
2015-06-06 18:31:38 -04:00
gorhill
72c930ddff
logger: UI work on URL-based dynamic filtering
2015-05-24 18:50:09 -04:00
gorhill
43f9657d0f
this fixes #227
2015-05-22 08:05:55 -04:00
gorhill
284b4f62d1
dynamic url filtering
2015-05-21 14:15:17 -04:00
gorhill
6c3217d9af
go-style switch-case
2015-05-19 13:59:53 -04:00
gorhill
f0a7f8ffea
this fixes #184
2015-05-18 10:39:20 -04:00
gorhill
ea4f4cee72
logger: do not regenerate whole tab selector if no change
2015-05-18 08:12:35 -04:00
gorhill
e0284b8908
this fixes #193
2015-05-16 10:15:02 -04:00
gorhill
7eed999ff3
this fixes #188
2015-05-09 08:25:05 -04:00
gorhill
ce6eb9b7ac
this fixes logger button in popup
2015-05-08 19:00:01 -04:00
gorhill
f9652b5f57
importing uMatrix unified logger
2015-05-08 18:28:01 -04:00
gorhill
ef84fd18ba
this fixes https://github.com/chrisaljoudi/uBlock/issues/10
2015-04-26 11:39:39 -04:00
gorhill
0ce32af7af
this fixes under-reporting of active cosmetic filters in logger
2015-04-25 08:27:27 -04:00
gorhill
9f9465d7e9
report in which frame the cosmetic filters were injected
2015-04-25 07:33:50 -04:00
gorhill
3d3bd13ea1
report active cosmetic filters in logger
2015-04-25 07:28:35 -04:00
gorhill
51e0ce6ad1
this fixes #87
2015-04-24 08:36:19 -04:00
gorhill
87a14ff339
import color-blind color scheme into logger
2015-04-23 18:46:14 -04:00
gorhill
361d2ac1a2
dissociate logging infrastructure from page stores
2015-04-23 18:23:03 -04:00
gorhill
78ad7929a6
This addresses colour-blindness issues, using contributed solution https://github.com/chrisaljoudi/uBlock/issues/467#issuecomment-95177219
2015-04-22 10:46:10 -04:00
gorhill
544e1215dd
this fixes #63
2015-04-16 12:14:43 -04:00
gorhill
475aa5a8fc
code review
2015-04-10 16:31:29 -04:00
gorhill
28fc4f99d4
cleanup
2015-04-10 09:52:16 -04:00
gorhill
67417c5cec
cleaning up old stuff
2015-04-10 02:17:12 -04:00
gorhill
651c25c839
fixed popup blocker switch; added ability to manually edit switches
2015-04-09 11:19:31 -04:00
gorhill
6441161329
refactored tabs/context code
2015-04-08 18:46:08 -04:00
gorhill
4aa61fcf89
this fixes https://github.com/gorhill/uMatrix/issues/144
2015-04-07 19:10:03 -04:00
YFdyh000
6e77ec33ff
Correct issue links
2015-04-07 09:46:26 +08:00
gorhill
d098a9fb3d
strict blocking: give choice of domain/hostname on warning page
2015-04-06 10:26:32 -04:00
gorhill
2dde6f15de
new switch: toggle cosmetic filtering on/off for a site
2015-04-05 12:03:14 -04:00
gorhill
53d96cc88f
do not include unused entries in backup
2015-03-30 08:12:41 -04:00
gorhill
923019794d
this fixes #618
2015-03-29 12:13:28 -04:00
gorhill
f2ff0edfaf
this fixes #1013 , #1062 (draft)
2015-03-27 13:00:55 -04:00
gorhill
b938022d0b
this fixes #1102
2015-03-27 09:50:31 -04:00
gorhill
a4b4bc98ff
this fixes #1013
2015-03-25 19:28:22 -04:00
gorhill
6f155d55f8
this fixes #1040 , #870
2015-03-25 10:12:56 -04:00
gorhill
45882970fa
remember/restore element picker session data when same URL
2015-03-20 11:39:20 -04:00
gorhill
74981341e8
attempt at addressing #514 , #518
2015-03-18 13:00:07 -04:00
gorhill
4e281715cf
this fixes #1012
2015-03-14 14:59:39 -04:00
Deathamns
16218a1609
Code organizing
2015-03-12 18:48:43 +01:00
gorhill
145e5da7ce
this fixes #990 + code review for #978
2015-03-11 11:05:13 -04:00
Deathamns
415846e326
Merge pull request #956 from AlexVallat/master
...
UI for Fennec (Firefox for Android)
2015-03-11 15:32:42 +01:00
gorhill
39ad1585e9
this fixes #982 , #978 , #965
2015-03-10 23:46:18 -04:00
AlexVallat
62c8ffbcc4
Merge branch 'master' of https://github.com/gorhill/uBlock
...
Conflicts:
platform/firefox/vapi-background.js
src/_locales/en/messages.json
2015-03-10 18:34:16 +00:00
gorhill
2478bd4f61
this fixes #224 for Chromium
2015-03-09 12:57:52 -04:00
Deathamns
95b778fbc7
Change extension description
2015-03-07 19:20:18 +01:00
AlexVallat
4481e951cc
Merge branch 'master' of https://github.com/gorhill/uBlock
2015-03-07 14:11:35 +00:00
gorhill
d8b949ecbe
this fixes #932
2015-03-06 23:36:09 -05:00
AlexVallat
2b60436ece
Initial UI support for Fennec
2015-03-02 18:49:34 +00:00
gorhill
c7bab5502e
this mitigates #520 , #376
2015-02-23 18:31:29 -05:00
gorhill
e464dd9042
this fixes #820
2015-02-16 21:15:09 -05:00
Deathamns
8693ab738d
vAPI.sessionId, element-picker dialog as iframe
...
vAPI.sessionId - random ID generated every time when a page loads.
Having the dialog in an iframe lowers the chance of interference with the
styling of the page, also avoids using innerHTML (AMO complaint).
2015-02-14 10:47:04 +01:00
gorhill
58b54cf9f9
this fixes #772
2015-02-11 17:28:19 -05:00
gorhill
6013880472
this addresses https://github.com/gorhill/uBlock/issues/731#issuecomment-73956166
2015-02-11 15:49:22 -05:00
gorhill
44768e8dba
#731 : UI counterpart
2015-02-11 11:34:51 -05:00
gorhill
646f92b32f
#731 : added session and permanent firewalls
2015-02-11 00:26:45 -05:00
gorhill
d0f81f5e3b
this fixes #689
2015-02-05 23:14:12 -05:00
Chris
14e6860c30
Fix getAppData not to require cloning of non-content-scope function .restart (resolves most common exception in background)
2015-02-04 19:11:17 -07:00
gorhill
9c2277fccf
this fixes #690
2015-02-04 12:51:43 -05:00
gorhill
77133b58c6
this fixes #682
2015-02-04 09:03:34 -05:00
gorhill
c7edec0d68
this fixes #683
2015-02-04 00:24:12 -05:00
gorhill
b51b0e5350
code review
2015-01-22 13:00:59 -05:00
gorhill
4c7f4771e2
#475 : whitelist behind-the-scene by default
2015-01-21 21:46:11 -05:00
gorhill
7b8392ca48
more fixes for #105
2015-01-21 11:13:32 -05:00
gorhill
a64bca0fa6
code review
2015-01-21 00:32:32 -05:00
gorhill
759a156e24
started work on #105 , #475 , and possibly #510
2015-01-19 18:42:58 -05:00
gorhill
ee01803419
this fixes one part of #498
2015-01-14 17:45:55 -05:00
gorhill
5201946c3f
this fixes #473
2015-01-11 09:47:14 -05:00
gorhill
9fc136e7e8
hopefully this fixes #470
2015-01-10 11:23:28 -05:00
gorhill
ba31014503
support elemhide filter option
2015-01-08 21:04:48 -05:00
gorhill
0c152b2859
fixed flawed 1st-/3rd-party test
2015-01-08 10:37:19 -05:00
gorhill
881e8111d8
"advanced user" flag + rearranging a bit dashboard
2015-01-06 11:44:06 -05:00
gorhill
1597ce7fd9
lot of work related to dynamic filtering + new net requests logger
2015-01-06 08:01:15 -05:00
gorhill
3c941f8309
another round of work re dynamic filtering
2014-12-31 17:26:17 -05:00
gorhill
a0279b1378
more work to expand dynamic filtering
2014-12-30 16:36:29 -05:00
gorhill
1fe7045b92
too many changes for #433 : branching so that I can commit and keep working on it
2014-12-28 10:07:43 -05:00
gorhill
a7c9134bf6
this fixes #417
2014-12-17 08:04:21 -05:00
Raymond Hill
0e12797709
extension restart is platform-dependent
2014-12-02 14:02:17 -02:00
Raymond Hill
2e4c0a2bfe
remove depending on vapi-appinfo.js
2014-12-01 14:25:33 -02:00
Raymond Hill
fb1221a8a1
remove overhead of PSL for "3rd-party filters" tab
2014-11-26 15:45:36 -02:00
Raymond Hill
91276bebfb
eliminate overhead of creating two funcs/closure for each port connection
2014-11-16 12:49:55 -02:00
Raymond Hill
338bf59507
give specific message handlers priority over default one
2014-11-16 11:09:28 -02:00
Raymond Hill
84c069dfaa
continued: corralling platform-specific stuff into their meta folder
2014-11-16 00:21:13 -02:00
Deathamns
6d49ef0dac
Avoid using Chrome's @@bidi_* type i18n messages
...
... for the sake of portability.
When including vapi-common.js in an HTML file, then the body element there
will have a "dir" attribute filled with the current locale's direction
(ltr or rtl).
The following languages are considered right-to-left: ar, he, fa, ps, ur.
Everything else is left-to-right.
After the "dir" attribute is set, we can decide in CSS which elements
should have different styling for rtl languages (e.g., body[dir=rtl] #id).
2014-11-09 17:40:40 +01:00
Deathamns
749b6f186d
Use a dedicated file for storing extension info
...
Chrome has getManifest(), Safari doesn't have anything, Firefox has an
asynchronous API...
So, instead of using extension APIs, store the common informations
(extension name, version, homepage url) in a file (vapi-appinfo.js), which
can be included when it's needed (its data will be available at vAPI.app.____).
The file's content is updated each time the extension is being built, so
it shouldn't be modified manually.
2014-11-09 17:39:38 +01:00
Deathamns
d38ca13107
Script injection, element picker, messaging
...
- Add script injection to vAPI, plus a raw implementation for Safari
(element-picker.js requires it)
- Tweak element picker to work with Safari
- Revert a change from previous commit: element-picker.js' background
message handler (since actually it can have its own messaging channel)
- Don't send "undefined" reponses from background to content
2014-11-09 17:39:30 +01:00
Deathamns
88a7910bcb
element-picker fixes, changes
...
- Include latest changes from gorhill/uBlock/master
- Append the pickerRoot container to document.documentElement instead
of document.body ("body > div" type CSS selectors are more common, so
they could overwrite the extension's styling with higher probability)
- Request localized strings from the background script instead of using
the i18n API in content scripts
- Fuse element-picker.js' message handling into contentscript-end.js', since
only one messaging channel can live at a time in a content script
2014-11-09 17:39:28 +01:00
Deathamns
1a83d1a753
Move vAPI into .jshintrc as a global
2014-11-09 17:39:22 +01:00
Deathamns
0886f7e886
Add .jshintrc, and use the "use strict" directive
...
.jshintrc's otion-set is a personal choice, merely a suggestion.
Beside that, it includes some common globals for specific browsers, so
there's no need to set the globals in every .js file.
In order to force strict coding, "use strict" directive was added into
every .js file.
2014-11-09 17:39:17 +01:00
Deathamns
5b79bf3536
Work on vendor API abstraction, and near complete Safari support
2014-11-09 17:39:12 +01:00