Copy Link To Text: Replace refs in current page's URL
This CL replaces everything after the '#' if it exists in a URL to avoid chaining multiple refs such as #anchor#:~:text=selected%20text. Bug: 1136468 Change-Id: I22583af358c1169a2b97bfad12d2e75a2d8e172c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2460797Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: John Lee <johntlee@chromium.org> Cr-Commit-Position: refs/heads/master@{#815427}
Showing
Please register or sign in to comment