Skip to content

Add support for type="image/x.djvu" to processEmbeds in the extension. #102

Open

Description

@ichbinjakes

I cam across a page that embedded djvu content with type="image/x.djvu" . Need to change Line 58 in content.js:

        const embeds = document.querySelectorAll('embed[type="image/x-djvu"], embed[type="image/vnd.djvu"], embed[type="image/x.djvu"]');

Activity

  1. RussCoder commented on Jan 19, 2026

    @RussCoder
    Owner

    Interesting. I haven't seen image/x.djvu mime type before. It seems to be nonstandard, but it's mentioned here
    https://djvu.sourceforge.net/doc/man/nsdejavu.html

    I will add support for it. Thank you for your message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions