Sign in
Log inSign up

Asking help for ban copying from EpubView

Ali Sarmadi's photo
Ali Sarmadi
·Apr 5, 2020

Hi guys!

I'm currently working on an online ebook reading website. The website uses the "react-reader" module which is a module for displaying .epub books, for displaying the books. The problem now is that apparently copy event is not defined for this EpubView. I can simply ban copying all over the page except for the reader part and in this way, users can easily copy the books which is not a good thing. Does anybody know how can I ban copying for this View? any other solution will be appreciated also. Thanks, guys.

here is the link for the "react-reader" module.

npmjs.com/package/react-reader