From 441aba29ab442cf537777aee7ecfd63b29f5fc84 Mon Sep 17 00:00:00 2001 From: stephenhawk8054 <66517106+stephenhawk8054@users.noreply.github.com> Date: Thu, 11 Apr 2024 07:23:26 +0000 Subject: [PATCH] address https://github.com/uBlockOrigin/uBlock-issues/issues/2531#issuecomment-2042755608 --- filters/privacy.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/filters/privacy.txt b/filters/privacy.txt index 4246f0fd26b..1e180b57775 100644 --- a/filters/privacy.txt +++ b/filters/privacy.txt @@ -946,5 +946,11 @@ coursera.org##+js(no-fetch-if, eventing) ! https://github.com/easylist/easylist/issues/18917 ||svc.eu01.miro.com^$badfilter +! https://github.com/uBlockOrigin/uBlock-issues/issues/2531#issuecomment-2042755608 +!#if ext_devbuild +twitter.com,~platform.twitter.com##+js(trusted-replace-xhr-response, '/,"expanded_url":"([^"]+)","url":"[^"]+"/g', ',"expanded_url":"$1","url":"$1"', /api/graphql) +platform.twitter.com##+js(trusted-replace-xhr-response, '/,"expanded_url":"([^"]+)","indices":([^"]+)"url":"[^"]+"/g', ',"expanded_url":"$1","indices":$2"url":"$1"', /tweet-result) +!#endif + ! Merge in resource-abuse.txt !#include resource-abuse.txt