Commit graph

61 commits

Author SHA1 Message Date
Raymond Hill
15100459b3
Harden content script's message Port against spurious disconnections
Those spurious disconnections have been observed to occur at
uBO's launch time.

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/403

I have observed that this fixes an issue observed on Firefox 64
(current stable).

The reported Waterfox issue *may* be fixed as a result. If not,
the issue he still considered fixed as Waterfox is not
officially supported.
2019-01-27 17:07:40 -05:00
Raymond Hill
8be1aed04d
guard against future instances of issue fixed in #3721 2018-05-03 09:55:36 -04:00
gorhill
806032cdc4
improve DOM inspector
- Fix regressions reported in #3159
- Fix #2001
- Fix some item points in #407
2017-11-20 08:42:32 -05:00
gorhill
bbda2a9086
code review: preemptively address https://bugzilla.mozilla.org/show_bug.cgi?id=1408996#c9 2017-10-27 14:22:45 -04:00
gorhill
6112a68faf
fix #2984 2017-10-21 13:43:46 -04:00
gorhill
fdcc9515dc
fix #2029 2017-08-17 08:25:02 -04:00
gorhill
139d97179f
as per #2612, use native Set() in content scripts 2017-05-15 08:51:25 -04:00
gorhill
b3d210c866
minor code review 2017-04-03 10:10:27 -04:00
gorhill
68ad90616b
fix #2499 2017-04-01 12:40:02 -04:00
gorhill
0112e54834
fix https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10 2017-04-01 09:41:08 -04:00
gorhill
8c3da95d65 fix #2067 (experimental) + support for hidden settings 2016-11-03 11:20:47 -04:00
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
c084853d9a fix #1772: ability to preview procedural cosmetic filters 2016-10-01 12:34:25 -04:00
gorhill
6fd0bb4291 more refactoring of content script: better modularization of various components 2016-08-12 08:55:35 -04:00
gorhill
dcb6e87c1f fix https://forums.lanik.us/viewtopic.php?f=64&t=31522 2016-07-14 09:35:38 -04:00
gorhill
02e6b088ef further refactoring + performance: skip surveying DOM after too many empty resultset 2016-07-09 19:21:46 -04:00
gorhill
bec8243a46 revert committing changes meant to be local only 2016-07-01 18:20:55 -04:00
gorhill
973d3e79c1 minor code review 2016-07-01 14:33:43 -04:00
gorhill
a3f6a4186a instrumenting content scripts to make for easy profiling when needed 2016-06-30 16:10:38 -04:00
gorhill
6c513629bf refactor content script code + add support for new :has & :xpath filters
Aside extending cosmetic filtering abilities, I expect this will
also take care of some long standing issues (I will have to find them
and mark them as "resolved" by this commit, as time allow).
2016-06-27 19:09:04 -04:00
gorhill
d676864211 #1604: remove now unreachable code 2016-05-02 14:30:24 -04:00
gorhill
dfc7fa8438 emergency fix: remove websocket support for now 2016-05-02 08:27:19 -04:00
gorhill
0e7e653362 revise indentation, comments 2016-04-28 10:09:08 -04:00
gorhill
ffc313136b #956: code review, again 2016-04-26 09:22:05 -04:00
gorhill
8c0246017d this fixes #1579 2016-04-22 11:45:20 -04:00
gorhill
6d79aa43ba #956/#1497: minor code review 2016-04-21 12:48:07 -04:00
gorhill
e1f150f494 #956/#1497: code review 2016-04-21 12:26:08 -04:00
gorhill
a6028083f3 #956: code review 2016-04-21 00:03:29 -04:00
gorhill
2d26d1dd3d this fixes #1497 2016-04-20 13:57:31 -04:00
gorhill
2ac643b520 #1443: code review 2016-03-15 11:17:56 -04:00
gorhill
bb66d44bac minor code review 2016-03-09 11:24:21 -05:00
gorhill
eb8c17d55c this takes care of #1443 2016-03-08 16:35:06 -05:00
gorhill
e4f35e9f3d Revert "this fixes dm" -- I meant to commit only changes to assets
This reverts commit 5b5c661e0d.
2016-02-03 18:47:30 -05:00
gorhill
5b5c661e0d this fixes dm 2016-02-03 18:37:56 -05:00
gorhill
89148351e8 #1163: this implements "block elements by size" 2016-01-17 13:30:43 -05:00
gorhill
19518aed60 this fixes #1204 2016-01-11 01:38:29 -05:00
gorhill
4e7736bc10 this fixes #1124 2016-01-02 19:33:32 -05: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
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
facef0dc05 this fixes many addon validation warnings 2015-05-17 13:02:56 -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
gorhill
31bea1d08b code review 2015-04-07 19:34:22 -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
87b8d1f9cb had a doubt, had to check it worked as intended 2015-03-12 17:30:14 -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