FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Highlighting on a web page
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Highlighting on a web page
Posted: Mon Feb 05, 2024 04:43 PM
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 :(
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Highlighting on a web page
Posted: Mon Feb 05, 2024 08:59 PM

Dear Yuri,

Can you provide the url to review it ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: Highlighting on a web page
Posted: Tue Feb 06, 2024 09:10 AM
First of all, I am interested in google tables, but this example will also work
Code (fw): Select all Collapse
https://author.today/work/324376
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Highlighting on a web page
Posted: Tue Feb 06, 2024 01:59 PM

In that url you can select and copy

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: Highlighting on a web page
Posted: Tue Feb 06, 2024 04:44 PM
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.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Highlighting on a web page
Posted: Tue Feb 06, 2024 10:35 PM
Do you mean here ?

https://author.today/reader/324376/2962618

What you want to do goes against the rights of the site
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: Highlighting on a web page
Posted: Wed Feb 07, 2024 06:57 AM
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 ?
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Highlighting on a web page
Posted: Wed Feb 07, 2024 07:05 AM

You can easily use oWebView:InjectJavascript( ... ) to get the entire DOM

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: Highlighting on a web page
Posted: Wed Feb 07, 2024 07:16 AM

I got it, thanks!

Continue the discussion