Jump to content

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


vmars316

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

Link to comment
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.

Link to comment
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.

 

Link to comment
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 .

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...