Commit Graph

148 Commits

Author SHA1 Message Date
gorhill 5ee1fa7684
fix #2720 2017-06-21 07:17:44 -04:00
gorhill a222e23e49
fix #2630 2017-05-19 08:45:19 -04:00
gorhill 0232382695
refactor static network filtering, add support for csp injection 2017-05-12 10:35:11 -04:00
gorhill 69fc59305e fix https://github.com/uBlockOrigin/uAssets/issues/263#issuecomment-272615772 2017-01-18 13:01:13 -05:00
gorhill a303c7800e fix #2290 2017-01-08 14:36:08 -05:00
gorhill 6175a216b7 fix #2291 2017-01-07 10:50:53 -05:00
gorhill 1a92fff641 fix https://github.com/uBlockOrigin/uAssets/issues/255 2017-01-02 10:50:03 -05:00
gorhill 73c8a96c48 workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1317173 2016-11-16 16:08:03 -05:00
gorhill 3ff3ae7d70 fix #2053 2016-10-08 10:15:31 -04:00
gorhill 0870aea2eb code review re. #1735 2016-09-13 11:56:13 -04:00
gorhill 08dd67b854 fix #1735 2016-09-13 11:25:24 -04:00
gorhill 5a0f651b28 possibly work around #1713 -- until real underlying cause is identified 2016-08-25 15:47:18 -04:00
gorhill dbdc81aaf5 fix #1903 2016-08-16 12:12:35 -04:00
gorhill 8374799c7d various minor code review 2016-06-30 22:03:29 -04:00
gorhill 71d2eed225 this fixes #1598 2016-04-28 11:28:08 -04:00
gorhill 13f746a2ca this fixes #1538 2016-04-05 09:59:23 -04:00
gorhill 95d0ffafb7 this fixes #870 2016-03-22 10:19:41 -04:00
gorhill 4650b8778a this fixes #1471 2016-03-12 10:48:31 -05:00
gorhill 02014f915e revert fix for #1028: can't be fixed without bad side effects 2016-02-27 12:04:28 -05:00
gorhill ff0ccbd803 this fixes #1339, #1028, #1010: non-broad popup filters will also be used to block popunders 2016-02-26 09:48:43 -05:00
gorhill abb6d1a610 this fixes #1403 2016-02-22 15:54:07 -05:00
gorhill d42f72caac #1378: oops -- this is the proper fix 2016-02-14 11:02:43 -05:00
gorhill 95d6240b21 this fixes #1378: there may be no "clicked URL" (regression) 2016-02-14 10:55:23 -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 a944873b83 code review: convert static filtering's tokenizer to a global utility 2015-12-29 11:34:41 -05:00
gorhill d871f158f6 this fixes #1076 2015-12-17 11:59:39 -05:00
gorhill ea49484dd3 this fixes #1067 + partially fixes #1070 2015-12-15 10:40:40 -05:00
gorhill 33291c4dca popunder fine tuning: reverting 1d448b85b2 for the time being 2015-12-13 19:04:58 -05:00
gorhill 945a8a999a this fixes 1d448b85b2 (commitcomment-14944764) 2015-12-13 13:46:22 -05:00
gorhill 1d448b85b2 fine tuning popunder filtering: ignore is target URL was clicked by user 2015-12-13 00:16:35 -05:00
gorhill db1dcbfda8 oops, forgot to remove console.log used for dev purpose 2015-12-10 16:49:39 -05:00
gorhill c3f206e704 #1010: new filter type: "popunder", to explicitly filter popunders 2015-12-04 11:15:09 -05:00
gorhill 2705432f43 code review 2015-12-02 00:59:51 -05:00
gorhill 11351bca6d this fixes regression re. popup/popunder blocking for Seamonkey 2015-12-01 17:15:31 -05:00
gorhill 4fd71d4209 this adds popunder filtering support for Firefox-based browsers 2015-12-01 15:07:22 -05:00
gorhill c39b892306 this fixes #99, #991: ability to block popunders 2015-11-30 18:50:51 -05:00
gorhill 72f5e44ec0 code review 2015-11-29 17:06:58 -05:00
gorhill 4cebefd5b5 code review 2015-11-15 08:56:36 -05:00
gorhill f4a1bad048 raw URL can be the empty string for behind-the-scene scope 2015-10-23 12:52:51 -04:00
gorhill afd77a3cef this fixes #854.
Unlike PageStore, TabContext is best placed to keep track of whitelist status
2015-10-22 09:45:41 -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 f29628ee01 this fixes #581
dynamic `allow` rules must also override the blocking of popups by
static filters.
2015-08-17 17:10:15 -04:00
gorhill ccb058c2d9 this fixes #581 2015-08-17 15:09:14 -04:00
gorhill f7ed3fda54 minor code review 2015-07-16 18:15:57 -04:00
gorhill e247f28b73 this fixes https://github.com/gorhill/uBlock/issues/341#issuecomment-111758109 2015-06-14 07:46:58 -04:00
gorhill fa3b4c887c code review: result can be non-blocking yet non-empty 2015-06-09 11:48:13 -04:00
gorhill 2234933b82 this fixes #59: now accurately reporting static filters in logger 2015-06-09 10:27:08 -04:00
gorhill d94741a781 this fixes #300 2015-06-05 13:37:46 -04:00
gorhill 53a78ceb39 context provided in title attr of URL in logger (until I figure a better way) 2015-06-04 19:27:03 -04:00
gorhill 4c9d3f63f2 this fixes #248 and other related cases 2015-05-28 14:47:19 -04:00
gorhill 812d34bfe8 very slightly more reliable page title lookup 2015-05-26 17:16:16 -04:00
gorhill 284b4f62d1 dynamic url filtering 2015-05-21 14:15:17 -04:00
gorhill ea4f4cee72 logger: do not regenerate whole tab selector if no change 2015-05-18 08:12:35 -04:00
gorhill facef0dc05 this fixes many addon validation warnings 2015-05-17 13:02:56 -04:00
gorhill e0284b8908 this fixes #193 2015-05-16 10:15:02 -04:00
gorhill f9652b5f57 importing uMatrix unified logger 2015-05-08 18:28:01 -04:00
gorhill ca1e1f55e7 code review re. badge update 2015-05-01 08:27:41 -04:00
gorhill 6c80790975 one more step to insure tab context is properly set 2015-04-29 10:29:23 -04:00
gorhill 600fa2c3d9 this fixes #135 2015-04-27 10:54:13 -04:00
gorhill bcbc06b2ff better reporting of switch events in the logger 2015-04-25 00:28:30 -04:00
gorhill 361d2ac1a2 dissociate logging infrastructure from page stores 2015-04-23 18:23:03 -04:00
gorhill 024219f59e update badge only when block count changes 2015-04-15 18:45:07 -04:00
Chris fda75755b8 No. of blocked badge should update with popups 2015-04-15 18:42:06 -04:00
gorhill bc49c402df this fixes #42 2015-04-12 19:55:10 -04:00
gorhill 651c25c839 fixed popup blocker switch; added ability to manually edit switches 2015-04-09 11:19:31 -04:00
gorhill f6e0e46818 code review 2015-04-08 19:31:29 -04:00
gorhill 6441161329 refactored tabs/context code 2015-04-08 18:46:08 -04:00
YFdyh000 6e77ec33ff Correct issue links 2015-04-07 09:46:26 +08:00
gorhill 2dde6f15de new switch: toggle cosmetic filtering on/off for a site 2015-04-05 12:03:14 -04:00
gorhill 91c2d95fb1 document issue in code 2015-03-31 16:40:52 -04:00
gorhill 1db1638c7f this fixes #1142 2015-03-31 16:38:47 -04:00
gorhill 543c3530b5 this fixes #1106 2015-03-27 14:59:17 -04:00
gorhill f2ff0edfaf this fixes #1013, #1062 (draft) 2015-03-27 13:00:55 -04:00
gorhill cc3f33ef9a this fixes #1078 2015-03-23 15:19:17 -04:00
gorhill 7871495da0 typo 2015-03-15 13:14:52 -04:00
gorhill cfadf76345 jshint 2015-03-09 10:19:00 -04:00
gorhill 8341fb2193 this fixes #967 2015-03-08 11:06:36 -04:00
Deathamns 95b778fbc7 Change extension description 2015-03-07 19:20:18 +01:00
Deathamns da3586adde Firefox/Fennec fixes 2015-03-01 20:21:05 +01:00
gorhill 357e226001 this fixes #630 2015-01-28 16:19:46 -05:00
gorhill 42db160b93 forgot about reload: always rebind 2015-01-24 12:34:36 -05:00
gorhill 8dcc994371 addressing all small details 2015-01-24 12:06:22 -05:00
gorhill b51b0e5350 code review 2015-01-22 13:00:59 -05:00
gorhill 759a156e24 started work on #105, #475, and possibly #510 2015-01-19 18:42:58 -05:00
gorhill 3ab9aa46b0 this fixes #516 2015-01-17 07:19:48 -05:00
Deathamns 8a9165daa2 Firefox: blocking improvements / other fixes
- Implement pop-up blocking
- Support blocking redirected requests
- Fix Local mirroring and inline-script blocking
- Block content on data: and about:blank pages
2015-01-13 07:29:56 +01:00
gorhill 1597ce7fd9 lot of work related to dynamic filtering + new net requests logger 2015-01-06 08:01:15 -05:00
gorhill e8045d154b bringing changes from master 2015-01-02 14:19:12 -05:00
gorhill 00995992d2 this fixes #455 2015-01-02 13:42:35 -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
Deathamns 2a26448734 Safari: slightly better pop-up blocking 2014-12-01 21:09:25 +01:00
Raymond Hill 338bf59507 give specific message handlers priority over default one 2014-11-16 11:09:28 -02:00
Deathamns f6f85ec793 Implement pop-up blocking for Safari
It works similarly to the xhr intercepting, except here the window.open
global function is being overridden.
Note that it could only work if the site's Content Security Policy allows
inline scripts, and the script on the webpage doesn't have a copy of the
original window.open function (it can happen only if the page has an
inline script in its head element, where the reference to the original
function can be obtained - likely this cannot be prevented in Safari).
2014-11-09 17:40:44 +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