Highlighting on a web page

Highlighting on a web page

Postby Natter » Mon Feb 05, 2024 4: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 :(
Natter
 
Posts: 1222
Joined: Mon May 14, 2007 9:49 am

Re: Highlighting on a web page

Postby Antonio Linares » Mon Feb 05, 2024 8:59 pm

Dear Yuri,

Can you provide the url to review it ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42113
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Highlighting on a web page

Postby Natter » Tue Feb 06, 2024 9:10 am

First of all, I am interested in google tables, but this example will also work
Code: Select all  Expand view  RUN
https://author.today/work/324376
Natter
 
Posts: 1222
Joined: Mon May 14, 2007 9:49 am

Re: Highlighting on a web page

Postby Antonio Linares » Tue Feb 06, 2024 1:59 pm

In that url you can select and copy
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42113
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Highlighting on a web page

Postby Natter » Tue Feb 06, 2024 4: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.
Natter
 
Posts: 1222
Joined: Mon May 14, 2007 9:49 am

Re: Highlighting on a web page

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42113
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Highlighting on a web page

Postby Natter » Wed Feb 07, 2024 6: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 ?
Natter
 
Posts: 1222
Joined: Mon May 14, 2007 9:49 am

Re: Highlighting on a web page

Postby Antonio Linares » Wed Feb 07, 2024 7:05 am

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42113
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Highlighting on a web page

Postby Natter » Wed Feb 07, 2024 7:16 am

I got it, thanks!
Natter
 
Posts: 1222
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 28 guests