From f55c891d5457bd0f5830b46148b1cf2ede9d36a0 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Mon, 20 Jul 2020 17:28:33 -0400 Subject: [PATCH] Avoid returning a value when injected as content script --- src/lib/diff/swatinem_diff.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/lib/diff/swatinem_diff.js b/src/lib/diff/swatinem_diff.js index 0601df0ee..481f2cfbc 100644 --- a/src/lib/diff/swatinem_diff.js +++ b/src/lib/diff/swatinem_diff.js @@ -241,3 +241,23 @@ return Diff; })(self); + + + + + + + + +/******************************************************************************* + + DO NOT: + - Remove the following code + - Add code beyond the following code + Reason: + - https://github.com/gorhill/uBlock/pull/3721 + - uBO never uses the return value from injected content scripts + +**/ + +void 0;