From 014f2a2f4e2071c35314d67285711f0f4615266b Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 18 Aug 2021 17:53:57 +0200 Subject: implement smuggling via cookies instead of URL --- html/display-panel.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'html') diff --git a/html/display-panel.js b/html/display-panel.js index b4d9abb..2539ded 100644 --- a/html/display-panel.js +++ b/html/display-panel.js @@ -16,7 +16,6 @@ * IMPORT get_import_frame * IMPORT query_all * IMPORT CONNECTION_TYPE - * IMPORT url_item * IMPORT is_privileged_url * IMPORT TYPE_PREFIX * IMPORT nice_name @@ -60,7 +59,7 @@ async function show_page_activity_info() return; } - tab_url = url_item(tab.url); + tab_url = /^([^?#]*)/.exec(tab.url)[1]; page_url_heading.textContent = tab_url; if (is_privileged_url(tab_url)) { show_privileged_notice_chbx.checked = true; -- cgit v1.2.3