View Single Post
Old 10-28-2024, 07:31 PM   #13
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,198
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
That is an epub with Java Script in it. Open the epub in the calibre editor and delete all *.js files. Then do an epub to epub conversation with the following placed in Search and Replace.

Code:
<script(.*?)>[^>]+>]]>

bernie

Quote:
Originally Posted by HFM1101 View Post
Hi,

Does anyone know if it's possible to remove copyright restrictions on already DRM-free epubs? I have a book that I have in epub and because I have some information processing issues I want to be able to copy and paste a few pages at a time and run it through a text-to-speech program. But whenever I try to do this (and no matter where I try to paste it to) I get a small amount of text (a few paragraphs) pasted but followed by a script written by the publisher to say that they have restrictions for allowing such. I'm quite surprised as I didn't realise that could be possible with DRM-free. Does anyone know if there is something I can do within Calibre (or anything else for that matter) to remove this prohibition?

Thanks. HFM
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2024-10-28 19-30-05.png
Views:	88
Size:	159.3 KB
ID:	211729  
gbm is offline   Reply With Quote