capture location.hash with save-selection (example.com/long-article#part10)

This commit is contained in:
contributor 2024-05-10 14:07:17 +03:00
parent 3140ed2302
commit 750d2fe3bb

View File

@ -297,7 +297,7 @@ async function prepareMessageResponse(message) {
title: pageTitle(), title: pageTitle(),
content: container.innerHTML, content: container.innerHTML,
images: images, images: images,
pageUrl: getPageLocationOrigin() + location.pathname + location.search pageUrl: getPageLocationOrigin() + location.pathname + location.search + location.hash
}; };
} }