aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
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;