5

Is it possible to publish an ebook for e-Ink Kindles (not Kindle Fire) that can run JavaScript inside the ebook?

Dan Fabulich
  • 37,506
  • 41
  • 139
  • 175

1 Answers1

5

The features supported by E-Ink Kindles and Kindle Format 8 ebooks are documented in the Amazon Kindle Publishing Guidelines which can be found here: http://kindlegen.s3.amazonaws.com/AmazonKindlePublishingGuidelines.pdf

The relevant part of the document is "Kindle Format 8 supports most HTML 5.0 features, although the following HTML features are not fully supported: forms, frames, and JavaScript."

In short, you can't use JavaScript in Kindle Format 8 ebooks.

paul_durrant
  • 176
  • 1
  • 5
  • More specifically, section 6.3: Avoid Using Scripting: "Scripting is not supported. All scripts are stripped from the source during conversion." – neuhaus Jan 30 '20 at 10:24