1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 15:32:28 +02:00

Have getAll() returns at least one neutered Tracker object

Related discussion:
- https://github.com/uBlockOrigin/uAssets/issues/10731#issuecomment-986031354
This commit is contained in:
Raymond Hill 2021-12-04 11:07:19 -05:00
parent ccc4c7d41f
commit 64f427d0e5
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -65,7 +65,7 @@
return new Tracker(); return new Tracker();
}; };
ga.getAll = function() { ga.getAll = function() {
return []; return [new Tracker()];
}; };
ga.remove = noopfn; ga.remove = noopfn;
// https://github.com/uBlockOrigin/uAssets/issues/2107 // https://github.com/uBlockOrigin/uAssets/issues/2107