pacexy / flow

Browser-based ePub Reader.
https://flowoss.com
GNU Affero General Public License v3.0
1.57k stars 112 forks source link

rendering HTML of book without the use of Iframe #95

Open astronautfa opened 5 months ago

astronautfa commented 5 months ago

Is it possible for the epub renderer to directly render the epub inline without it injecting the src into the iframe? Iframes come with limitations that setting the innerhtml of a dom element to the content of the epub can circumvent them.

I have changed the rendition constructor to the inline mode but because of numerous errors from the flow reader, I believe this has never been intended. I wonder if there is any way this be achieved