N
Hacker Next
login
▲
Linking to text fragments with a bookmarklet
alexwlchan.net
17 points by
Bogdanp
4 days ago
|
6 comments
add comment
Loading comments...
ulrischa 1 hours ago
[-]
The implementation is not very good because you can not copy the link generated from the alert. Use this to copy to clipboard:
https://gist.github.com/ulrischa/405b93646a0114986575000dcc0...
privatelypublic 30 minutes ago
[-]
In windows it should be ctrl+c like always for alert()s- even if the UI doesn't show it. Unless "modern" UI has broken that feature.
aalukabi 52 minutes ago
[-]
You are awesome, I came to highlight it and there is already the answer. Appreciated.
xnx 2 hours ago
[-]
As pointed out on the page, the bookmarklet functionality is redundant to built-in context menu feature.
crtasm 2 hours ago
[-]
Firefox did not have the menu item for me, I had to go into about:config dom.text_fragments.create_text_fragment.enabled
throwaway81523 15 minutes ago
[-]
Doesn't appear supported in Firefox 128 LTS. No highlighting whatever I do. Thanks though, maybe it turns up in some later version.