Does html reader supports css, js, json files?

I have some local html files which have .js .css .json file embeded in them
As of now it seems that html reader doesn't support any of that!
Is it possible to have this in future?
  • The reader obviously supports embedded CSS — that's why snapshots you save via Zotero are styled.

    It doesn't run JavaScript.

    I don't know why you mean by "supporting" JSON. JSON is a data format.
  • edited March 10, 2025
    Well, I have like more than 1000 article in html.
    They use a JavaScript file for theirs most functions.

    <link rel="stylesheet" type="text/css" href="../Resources/css/mobile.css">
    <script src="../Resources/js/jquery.js"></script>
    <script src="../Resources/js/mobile.js"></script>

    and the JavaScript file retrieves some data from .json files for some of its functions

    I wanted to use Zotero as a library for the articles and use the reader annotation abilities!
  • We don't have any plans to run JavaScript in the reader, sorry. We use SingleFile to save attachments, and it serializes the rendered page state into a static page.

    If these pages are rendering to a static state, you could use a headless browser to convert them and run SingleFIle on them. If they create dynamic charts, etc., I'm afraid that's not going to work.
  • Thanks for the answer.
Sign In or Register to comment.