I'm running Calibre with its Calibre Content Server on Debian. This serves webpages which show a book library, including the ability to both download books and to read the books in the browser. I would like to remove the download button, and there is no option in the Calibre server to remove it. While its open source and I suppose I could dig through the code, remove it there, and recompile from source, I figured there must be a way to modify things the system is serving.
I read (here: How to inject HTML code into every delivered HTML page?) about using mod_rewrite or an Apache filter to do this kind of thing, but as far as I understand, that would only work for things I am serving from Apache, not from other applications like Calibre.
Is there an easy way to accomplish this? Thanks!