Page 1 of 1
Highlighting on a web page
Posted: Mon Feb 05, 2024 4:43 pm
by Natter
Hi,
There is a website that I open in WebView. This site is protected from highlighting and copying.
To allow highlighting in Firefox or Chrome, I can use, for example, Just Read. I do not know how to do this in WebView
Re: Highlighting on a web page
Posted: Mon Feb 05, 2024 8:59 pm
by Antonio Linares
Dear Yuri,
Can you provide the url to review it ?
Re: Highlighting on a web page
Posted: Tue Feb 06, 2024 9:10 am
by Natter
First of all, I am interested in google tables, but this example will also work
Re: Highlighting on a web page
Posted: Tue Feb 06, 2024 1:59 pm
by Antonio Linares
In that url you can select and copy
Re: Highlighting on a web page
Posted: Tue Feb 06, 2024 4:44 pm
by Natter
Antonio, this is a site of all kinds of fiction and https://author.today/work/324376 this is a link to the book.
You may not have gone to the highlight-protected page. To do this, press the green key under the picture on the left. In firefox/chrome/edge, I can't highlight anything.
Re: Highlighting on a web page
Posted: Tue Feb 06, 2024 10:35 pm
by Antonio Linares
Do you mean here ?
https://author.today/reader/324376/2962618
What you want to do goes against the rights of the site
Re: Highlighting on a web page
Posted: Wed Feb 07, 2024 6:57 am
by Natter
If you put the Just Read add-on on the browser, then these rights are easily bypassed.
It is impossible to implement this on FW ?
Re: Highlighting on a web page
Posted: Wed Feb 07, 2024 7:05 am
by Antonio Linares
You can easily use oWebView:InjectJavascript( ... ) to get the entire DOM
Re: Highlighting on a web page
Posted: Wed Feb 07, 2024 7:16 am
by Natter
I got it, thanks!