From 750d2fe3bba7dc9e75bd54c873641d8e8e7249ea Mon Sep 17 00:00:00 2001 From: contributor Date: Fri, 10 May 2024 14:07:17 +0300 Subject: [PATCH] capture location.hash with save-selection (example.com/long-article#part10) --- content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.js b/content.js index 58b75d19a..faacfa546 100644 --- a/content.js +++ b/content.js @@ -297,7 +297,7 @@ async function prepareMessageResponse(message) { title: pageTitle(), content: container.innerHTML, images: images, - pageUrl: getPageLocationOrigin() + location.pathname + location.search + pageUrl: getPageLocationOrigin() + location.pathname + location.search + location.hash }; }