I had no idea epub allowed js in the spec. My reactionary opinion on this is negative. Why do we need this? What reason is there to have js in epub when we already have js in html? What distinction will there be between html and epub if they are both just document formats that can also execute js?
JavaScript isn't in the current ePub 2.0 spec. Though it is suggested in the 3.0 draft. Like Apple extended ePub 2.0 with audio/video support, they seem to either support it or not prevent it.
Apple accepts Javascript in EPUB ebooks in iBookstore
11–20 of 34 posts
Re: Apple accepts Javascript in EPUB ebooks in iBookstore
#12Hm... interesting security implications depending on how the code executes, what external info/code it can call
So my ebooks can now contain executable root kits. Cool.
Re: Apple accepts Javascript in EPUB ebooks in iBookstore
#13I had no idea epub allowed js in the spec. My reactionary opinion on this is negative. Why do we need this? What reason is there to have js in epub when we already have js in html? What distinction will there be between html and epub if they are both just document formats that can also execute js?
So the good thing about ePub was that it was less capable than HTML, and now they've made ePub worse by making it better?
Re: Apple accepts Javascript in EPUB ebooks in iBookstore
#14Earlier quoted context omitted.
So my ebooks can now contain executable root kits. Cool.
Javascript is pretty well jailed up, you can't communicate with local and remote files in the same javascript file.
Edit: It's implemented via Mobile Safari, as pointed out by justincormack -- this comment is invalid.
Re: Apple accepts Javascript in EPUB ebooks in iBookstore
#15This brings a lot of interesting possibilities to technical books. End-of-chapter review questions that are automatically graded being the most obvious.
Re: Apple accepts Javascript in EPUB ebooks in iBookstore
#16Earlier quoted context omitted.
JavaScript isn't in the current ePub 2.0 spec. Though it is suggested in the 3.0 draft. Like Apple extended ePub 2.0 with audio/video support, they seem to either support it or not prevent it.
Does the standard even really matter, since the content is wrapped in DRM anyways and can only be played in the eBooks app?
Re: Apple accepts Javascript in EPUB ebooks in iBookstore
#17This is fantastic. I'm glad to see Apple doing what they do best... enabling content developers to be creative. Adobe has a long way to go.
etc.. :)
What would you like to see from Adobe to change your mind?
Re: Apple accepts Javascript in EPUB ebooks in iBookstore
#18Earlier quoted context omitted.
Javascript is pretty well jailed up, you can't communicate with local and remote files in the same javascript file.
That sort of protection has nothing to do with js, but rather the browser, which isn't in play here. Edit: It's implemented via Mobile Safari, as pointed out by justincormack -- this comment is invalid.
It uses CSS3 columns to make the pages going across.
Re: Apple accepts Javascript in EPUB ebooks in iBookstore
#19Earlier quoted context omitted.
Javascript is pretty well jailed up, you can't communicate with local and remote files in the same javascript file.
That sort of protection has nothing to do with js, but rather the browser, which isn't in play here. Edit: It's implemented via Mobile Safari, as pointed out by justincormack -- this comment is invalid.
More accurately: all increasing of capabilities in non-immediately-apparent sources IS cause for concern. But that has to be weighted against the exhibited competence of the vendor. I find it unlikely that we-vet-everything our-brand-name-is-safe-computing-experiences Apple wouldn't have considered security in this move.
Re: Apple accepts Javascript in EPUB ebooks in iBookstore
#20This is fantastic. I'm glad to see Apple doing what they do best... enabling content developers to be creative. Adobe has a long way to go.
" Photoshop CS4 supports scripts written in AppleScript, JavaScript or VBScript. ... " etc.. :) What would you like to see from Adobe to change your mind?