E
Evertjan.
Guest
Clifford Heath <no.spam@please.net> wrote on 06 Aug 2020 in
comp.lang.javascript:
<https://www.henk-weltje.nl/index.php/oude-boekwerkjes/watermolens-in-
apeldoorn#:~:text=Tijdens%20het%20nadenken%20over%20een%20geschikt%
20onderwerp>
In Version 84.0.4147.105 (Official Build) (64-bit), it does,
as does my Chrome Mobile for Android .111 32b
================
You can even make a bookmark with:
javascriptfunction()%7Bconst selectedText %3D getSelection().toString()%
3Bconst newUrl %3D new URL(location)%3BnewUrl.hash %3D %60%3A~%3Atext%3D%24%
7BencodeURIComponent(selectedText)%7D%60%3Bwindow.open(newUrl)%7D)()
... witch will make this url-string for you,
after highlighting the wanted text by mouse.
> Where is this feature documented, please?
Read it somewhere in the Dev-blog, I suppose,
or css-tricks perhaps.
--
Evertjan.
The Netherlands.
(Please change the x\'es to dots in my emailaddress)
comp.lang.javascript:
On 5/8/20 7:46 am, Evertjan. wrote:
\"R.Wieser\" <address@not.available> wrote on 04 Aug 2020 in
comp.lang.javascript:
Robert,
Sample line used:
a href=\"downhole-measurements.html?find=able\">Downhole Measurements
/a
I think you are looking for
a href=\"downhole-measurements.html#able\">Downhole Measurements< /a
with in that \"downhole-measurements.html\" document the following line
just above the \"able\" chapter
a name=\"able\"
(remove the spaces after the \"<\" symbols)
Regards,
Rudy Wieser
Google Chrome 84 and up, desktop and mobile,
let you highlight \"This text\" from the url-string:
https://example.org/page.html#:~:text=This%20text
Not Chrome \"Version 84.0.4147.89 (Official Build) (64-bit)\" for OS/X.
<https://www.henk-weltje.nl/index.php/oude-boekwerkjes/watermolens-in-
apeldoorn#:~:text=Tijdens%20het%20nadenken%20over%20een%20geschikt%
20onderwerp>
In Version 84.0.4147.105 (Official Build) (64-bit), it does,
as does my Chrome Mobile for Android .111 32b
================
You can even make a bookmark with:
javascriptfunction()%7Bconst selectedText %3D getSelection().toString()%
3Bconst newUrl %3D new URL(location)%3BnewUrl.hash %3D %60%3A~%3Atext%3D%24%
7BencodeURIComponent(selectedText)%7D%60%3Bwindow.open(newUrl)%7D)()
... witch will make this url-string for you,
after highlighting the wanted text by mouse.
> Where is this feature documented, please?
Read it somewhere in the Dev-blog, I suppose,
or css-tricks perhaps.
--
Evertjan.
The Netherlands.
(Please change the x\'es to dots in my emailaddress)