summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-08-18 17:53:57 +0200
committerWojtek Kosior <koszko@koszko.org>2021-08-18 17:53:57 +0200
commit014f2a2f4e2071c35314d67285711f0f4615266b (patch)
tree081c18c6fc1270d1e312962bd21b71a7072004c4 /html
parent0bbda8fceb52f28032460db0331b09ad086a2a64 (diff)
downloadbrowser-extension-014f2a2f4e2071c35314d67285711f0f4615266b.tar.gz
browser-extension-014f2a2f4e2071c35314d67285711f0f4615266b.zip
implement smuggling via cookies instead of URL
Diffstat (limited to 'html')
-rw-r--r--html/display-panel.js3
1 files changed, 1 insertions, 2 deletions
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;