View Single Post
Old 06-01-2020, 02:12 AM   #1003
warrimoo
Junior Member
warrimoo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2020
Device: Apple Shubook app
Quote:
Originally Posted by davidfor View Post
Yes, it should be easy to remove with a regex in the editor. And it shouldn't be to hard to do in something like the Modify ePub plugin. The problem is going to be whether anyone is interested in adding the function. It doesn't feel like a very common function. You should ask in the plugin's thread and see.
Yes, a regex like <script.*?</script> with dot all on seemed to find most entries in the editor and similar for noscript tags. For some reason a few of the script> tag entries weren't matched and were still present when I checked later.

Maybe I'm over-worrying about this as a vector for attack and should stop thinking of needing virus prevention at the point of adding a book. I can just run a 'scan' occasionally.
warrimoo is offline   Reply With Quote