1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-18 00:13:30 +01:00
Commit Graph

338 Commits

Author SHA1 Message Date
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