Repository navigation
Replies: 1 comment
|
Thank you for such a careful report, and for verifying it with LuLu. That made it easy to confirm. You're right: the EPUB section policy blocks scripts but not remote images, stylesheets, or fonts, and the full Markdown reader fetches remote images. I'll fix this for 5.5.3. Local EPUB and Markdown documents will block remote resources by default while still rendering illustrations packaged inside the book, with regression coverage for both. No need for a PR on your end, but I appreciate the offer! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I’d like OpenReader Desktop to block automatic requests to remote resources when opening a local document. I use Kokoro for local narration and would like opening a book or note to stay offline unless I choose to load external content.
Verified on OpenReader Desktop 5.5.2 for Apple silicon
I opened a benign local Markdown document containing a reference to a public HTTPS image. With a LuLu rule blocking non-loopback connections from OpenReader and its helpers, LuLu logged two denied HTTPS connection attempts from OpenReader’s Electron helper to the image host. The same document played with Kokoro under that rule. The playhead advanced and macOS confirmed audio output from OpenReader.
This test covered Markdown. In the EPUB reader, the section policy blocks scripts, objects, and frames and leaves remote image loading unrestricted. The Markdown library preview already suppresses images, while the full Markdown reader uses the renderer’s default image handling. EPUB policy · Markdown reader · Markdown preview
Requested behavior
The LuLu workaround also blocks the app’s update checks and model downloads. A policy in the document reader would let those features continue working independently of the document’s contents.
Would a focused PR for the default behavior be welcome?
All reactions