View Single Post
Old 11-06-2016, 06:06 PM   #22
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,801
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Doitsu View Post
As I've already suggested, there's no need to build two epubs, because the rendering engine can be easily detected by checking the navigator.epubReadingSystem.name value with JavaScript. (It returns RMSDK for ADE and ibooks for iBoooks.)
Once you know this value you could easily manipulate HTML and/or CSS to hide whatever code is not supported.
Perfect! So the OP alredy has the solution he was looking for.
RbnJrg is offline   Reply With Quote