@kiwidude
I'm finding some books with inline javascript...
Quote:
<script src="../Misc/insertSpan.js" type="text/javascript">
</script>
|
...where the js file is found in the folder "Misc".
I didn't know epub readers could execute js but it looks like the can execute a subset of functions.
For instance:
will be executed, whereas
Quote:
location.replace('http:/www.google.com')
|
will not, and that's good news...for now.
I was thinking if you could add a kind of check for embedded js files as you do with Adobe stuff or embedded fonts. Or probably a more generic check for files in the Misc folder. Sometimes you can find a lot of MS Word cruft in that folder.