From 1059bebddc0b64acf86c031505022651a2fb5408 Mon Sep 17 00:00:00 2001 From: Yuki2718 <58900598+Yuki2718@users.noreply.github.com> Date: Sat, 1 Jun 2024 20:54:31 +0900 Subject: [PATCH] address https://github.com/uBlockOrigin/uBlock-issues/issues/2531#issuecomment-2143420978 --- filters/annoyances-others.txt | 6 ++++++ filters/privacy.txt | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/filters/annoyances-others.txt b/filters/annoyances-others.txt index 34d1b2ffd3b..befba6828a7 100644 --- a/filters/annoyances-others.txt +++ b/filters/annoyances-others.txt @@ -7591,3 +7591,9 @@ lcpdfr.com##+js(aopr, FuckAdBlock) ! https://github.com/uBlockOrigin/uAssets/issues/23872 pronews.gr##.wrap-banner + +! https://github.com/uBlockOrigin/uBlock-issues/issues/2531#issuecomment-2042755608 +!#if env_firefox +twitter.com,x.com,~platform.twitter.com##+js(trusted-replace-xhr-response, '/,"expanded_url":"([^"]+)","url":"[^"]+"/g', ',"expanded_url":"$1","url":"$1"', /graphql) +platform.twitter.com##+js(trusted-replace-xhr-response, '/,"expanded_url":"([^"]+)","indices":([^"]+)"url":"[^"]+"/g', ',"expanded_url":"$1","indices":$2"url":"$1"', /tweet-result) +!#endif diff --git a/filters/privacy.txt b/filters/privacy.txt index d123b769b7a..e053de25bee 100644 --- a/filters/privacy.txt +++ b/filters/privacy.txt @@ -985,12 +985,6 @@ 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 env_firefox -twitter.com,x.com,~platform.twitter.com##+js(trusted-replace-xhr-response, '/,"expanded_url":"([^"]+)","url":"[^"]+"/g', ',"expanded_url":"$1","url":"$1"', /graphql) -platform.twitter.com##+js(trusted-replace-xhr-response, '/,"expanded_url":"([^"]+)","indices":([^"]+)"url":"[^"]+"/g', ',"expanded_url":"$1","indices":$2"url":"$1"', /tweet-result) -!#endif - ! https://github.com/uBlockOrigin/uAssets/issues/23299 streamin.me##^responseheader(set-cookie)