From dc75dab3d76df4af49e305960c2caedb4d779523 Mon Sep 17 00:00:00 2001 From: kalle Date: Sun, 29 Dec 2024 13:50:16 +0100 Subject: [PATCH] Fixes #28 Bypass the search to reach the discovery page. --- app/src/main/assets/Injector.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/src/main/assets/Injector.js b/app/src/main/assets/Injector.js index ad80938..8c21dff 100644 --- a/app/src/main/assets/Injector.js +++ b/app/src/main/assets/Injector.js @@ -61,12 +61,11 @@ if (explore_icon){ explore_icon.removeEventListener("click", event_listner); explore_icon.addEventListener("click", event_listner, true); - - const cancel_button = document.querySelector('div[class="x9f619 xjbqb8w x78zum5 x168nmei x13lgxp2 x5pf9jr xo71vjh x16n37ib x1n2onr6 x1plvlek xryxfnj x1c4vz4f x2lah0s xdt5ytf xqjyukv x1qjc9v5 x1oa3qoh xl56j7k"]'); - if (cancel_button){ - cancel_button.style.display = "none"; - } -} +} +const cancel_button = document.querySelector('div[class="x9f619 xjbqb8w x78zum5 x168nmei x13lgxp2 x5pf9jr xo71vjh x16n37ib x1n2onr6 x1plvlek xryxfnj x1c4vz4f x2lah0s xdt5ytf xqjyukv x1qjc9v5 x1oa3qoh xl56j7k"]'); +if (cancel_button){ + cancel_button.style.display = "none"; +} /** END **/ /** use_followed_feed **/