Commit Graph

51 Commits

Author SHA1 Message Date
gorhill cd81f866b9 code review: benefit from ES6 Set() in content script
fall back on legacy browser-specific polyfill code if required.
2016-10-09 11:09:25 -04:00
gorhill a1fa4d0fe9 fix #2060 2016-10-08 15:14:24 -04:00
gorhill c084853d9a fix #1772: ability to preview procedural cosmetic filters 2016-10-01 12:34:25 -04:00
gorhill 95ec573141 fix #2014 2016-09-24 14:36:08 -04:00
gorhill 33234fdd8b fix #1952 2016-08-31 17:50:49 -04:00
gorhill fb7bd0cc1d fix #1893 2016-08-13 21:45:01 -04:00
gorhill 6fd0bb4291 more refactoring of content script: better modularization of various components 2016-08-12 08:55:35 -04:00
gorhill 02e6b088ef further refactoring + performance: skip surveying DOM after too many empty resultset 2016-07-09 19:21:46 -04:00
gorhill a3f6a4186a instrumenting content scripts to make for easy profiling when needed 2016-06-30 16:10:38 -04:00
gorhill d34d47032d this fixes #1573 2016-04-21 14:34:20 -04:00
gorhill 0547c0dd18 code review re. #1443 2016-03-09 17:13:22 -05: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 89148351e8 #1163: this implements "block elements by size" 2016-01-17 13:30:43 -05:00
gorhill 5591ff34f1 this fixes #1201 2016-01-11 00:37:57 -05:00
gorhill 0b0b88684a this fixes #838 2016-01-05 10:08:28 -05:00
gorhill 99c4dfffc2 this fixes #876 2015-10-28 09:35:13 -04:00
gorhill c141a29295 comment grammar 2015-09-30 09:35:24 -04:00
gorhill 8d294869fe this fixes #756 2015-09-30 09:33:38 -04:00
gorhill 9b4b998364 #608: this fixes a bunch of strictness-related warnings 2015-08-18 11:44:24 -04:00
gorhill 2ec0161471 commenting out debugging code 2015-07-12 19:33:12 -04:00
gorhill 32d2ae0e11 this probably fixes #453 2015-07-07 11:03:26 -04:00
gorhill 35ef80f3aa code review re. sandbox shutdown 2015-07-03 13:32:00 -04:00
gorhill 352ef808f1 code review: this taks care of ea4faff383 (commitcomment-11964137) 2015-07-03 07:00:29 -04:00
gorhill aeba71790f some refactoring: move to-aux-process-messaging timeout into vAPI 2015-06-29 10:46:20 -04:00
gorhill 39b0d719c0 some more work re inspector 2015-06-28 17:42:08 -04:00
gorhill 631443768f dom inspector: ébauche 2015-06-26 00:08:41 -04:00
gorhill 34485a0465 code review 2015-06-17 14:06:59 -04:00
AlexVallat 9406e40fdc Imported 620a7d78d1 2015-06-17 14:06:59 -04:00
gorhill 13d229eaa1 code review + report more accurately request types in logger 2015-06-04 09:37:53 -04:00
gorhill d332298f40 o_O... oops 2015-05-27 17:21:16 -04:00
gorhill facef0dc05 this fixes many addon validation warnings 2015-05-17 13:02:56 -04:00
gorhill d41408ebbc this fixes #211 2015-05-17 10:32:40 -04:00
gorhill b9e07a16e3 this fixes https://github.com/chrisaljoudi/uBlock/issues/1219 for Firefox 2015-04-09 07:15:14 -04:00
gorhill 125513164f forgot to add shutdown to other platforms (re. https://github.com/gorhill/uMatrix/issues/144) 2015-04-08 06:15:10 -04: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
Chris a17882a8cc Remove previous Safari overhead; cleanup workarounds from rest of code 2015-02-10 14:24:04 -07:00
Deathamns f9109d7460 Firefox: remove evalInSandbox
Probably we won't eval plain text code, which makes it unnecessary, also
this way the validator on AMO won't complain about it.
2015-01-27 13:31:17 +01:00
Deathamns 263b756764 Firefox: behind-the-scene requests / non-http tabs 2015-01-26 20:26:45 +01:00
gorhill ca77c677d7 not needed 2015-01-15 08:30:38 -05:00
Deathamns 089af13e32 URL handling changes 2015-01-15 13:24:35 +01:00
Deathamns a71c967613 Firefox: fixed content scripts? 2015-01-13 07:30:03 +01:00
Deathamns 687d226ce9 Firefox: improvements for content scripts 2015-01-13 07:30:01 +01:00
Deathamns 5e55ba772d Code styling 2015-01-13 07:29:49 +01:00
Deathamns dbfacad8a6 Firefox: new method for request handling
Now both nsIContentPolicy and on-http-* observers are used for net request
monitoring.

Reasons:
 - In many cases, nsIContentPolicy.shouldLoad is invoked twice for the same
   resource, because of the speculative parsing.
 - nsIContentPolicy.shouldLoad don't have information about the channel,
   so it can't redirect the request, nor change its headers, however
   on-http-opening-request can.

Also, local mirroring and inline-script blocking has been implemented.
2015-01-13 07:29:43 +01:00
Deathamns ecdee65fda Add license headers, plus some code styling 2015-01-13 07:29:16 +01:00
Deathamns f74f07e092 Firefox: implement vAPI.tabs.injectScript 2015-01-13 07:29:12 +01:00
Deathamns cb5d860725 Firefox: implement toolbar button and popup 2015-01-13 07:29:01 +01:00
Deathamns 0f771e94d1 Firefox: add basic blocking + some fixes 2015-01-13 07:28:59 +01:00
Deathamns 3c76c61f61 Firefox: partial vAPI.tabs implementation 2015-01-13 07:28:57 +01:00