View Single Post
Old 08-13-2015, 12:24 PM   #68
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 3,953
Karma: 12058512
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by JSWolf View Post
candy.js is not an issue. Before I do anything with ePub eBooks, I run Modify ePub and I have it remove any javascipt. So candy.js would be removed before it ever sees one of my devices.
Unfortunately, you can't rely on Modify ePub to find embedded JavaScript code. For example, it didn't find the following JavaScript code in my valid ePub3 test file:

Code:
<body onload="javascript:alert('Gotcha!')">
Attached Files
File Type: epub JS_test.epub (28.6 KB, 41 views)

Last edited by Doitsu; 08-13-2015 at 02:13 PM.
Doitsu is offline   Reply With Quote