Jump to content
vmars316

How to capture Cntrl/F (this) highlights from browser area ? 

Recommended Posts

Hello & Thanks ;
When I issue Cntrl/F (this) in browser ,
the browser highlights all "this" occurences .
If I saveas the webpage , all that highlighting is gone .
How do I gain access to the area where this page is highlighted .
Hopefully , I can capture the  highlighted page .

Thanks

Share this post


Link to post
Share on other sites

You could just Ctrl+F the file when you open the saved page.

There is no access to that because it's not part of the HTML, it is just something that the browser renders visually when searching for text on the page.

Share this post


Link to post
Share on other sites

The best I can find it a method which allows you to do a search using Javascript: https://developer.mozilla.org/en-US/docs/Web/API/Window/find

I draw my avatars myself. My old one was a videogame character, but I want to be more original so the new one is my own character.

 

Share this post


Link to post
Share on other sites
Quote

The best I can find it a method which allows you to do a search using Javascript: https://developer.mozilla.org/en-US/docs/Web/API/Window/find

Thanks , I'll tinker with it .

Quote


I draw my avatars myself. My old one was a videogame character, but I want to be more original so the new one is my own character.

Just as I thunk .

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...