shivaprsd / doqment Goto Github PK
View Code? Open in Web Editor NEWMozilla's HTML5 PDF Viewer with Reader-mode add-on. ๐
Home Page: https://shivaprsd.github.io/doqment/src/pdfjs/web/viewer.html
License: MIT License
Mozilla's HTML5 PDF Viewer with Reader-mode add-on. ๐
Home Page: https://shivaprsd.github.io/doqment/src/pdfjs/web/viewer.html
License: MIT License
It seems that since pdf.js only honors prefers-color-scheme
, setting privacy.resistFingerprinting = true
will force it to be white, and people have been asking for a manual dark mode toggle for quite a while: mozilla/pdf.js#12290
The official pdf.js team however seems to have made a pref specifically for this, but that doesn't apply to doqment for obvious reasons
Could a manual toggle be implemented?
Hello, first of all, I really like your pdf viewer. Originally, I was trying to create an extension with Chrome's default pdf viewer, and I basically couldn't access any of the html I needed, so I'm using this instead. It's funny because all I wanted to do was make a bookmarking extension that gets the title, current page, and first page canvas thumbnail, but it all turned out to be this complicated. I'm more of a hobbyist, so I don't know if I will successfully be able to modify this extension to communicate with my own, but theoretically I should be able to looking at the Chrome documentation (messages between extensions).
The only small thing I would like is for the extension to open the newViewer on its own whenever an offline pdf document is detected like how the Adobe Acrobat PDF extension functions. For my own personal use, I basically modified the code to have a content script signal the service worker to open the newViewer and close the original tab.
With pdfjs, I can go into about:config
and set pdfjs.defaultZoomValue
to 'page-width'
.
Is there an equivalent means to set the default zoom value in doqment?
More broadly, is there any means to set any default values?
hello, thank you for your work.
about:config
in Firefox to get the same effect? When I set pdfjs.forcePageColors
to true
and pdfjs.pageColorsBackground
to a hex value, it changes both the background and the image color in the pdf. In fact, I want to change the background color only.Thanks.
Would you be able to create new releases (like 0.5.x
) every few weeks to months simply to catch up with upstream pdf.js? (they are at 3.11 now)
Of course I can do it myself and load the (unsigned) extension up but having it be signed would be better I think
Also on that note
Cannot use the integrated Findbar to search for text in PDF.
is false I think? at least when I open a local file with your extension I can search texts fine
Sorry for the naive question, new to pdf.js and this excellent lib - is there a way to add an overlay layer, such that I could define bounding boxes for "button" areas of each page in HTML; or such that I could custom provide a text layer for text selection and tappable text elements? Thanks
Hello Shiv, I have zero coding experience and I loved your dark mode live demo. Could you please help me install this extension on chrome desktop browser? thanks!
Annotation and highlighting in native firefox pdf viewer is absent. Hoping for this feature to be included.
I needed to download a pdf of a google docs presentation. It took me a while to think about disabling this plugin, but unfortunately that turned out to be the solution.
Edit: I tried changing the default behaviour on pdfs but whether set to open
or download
it wouldn't work with the plugin enabled either way.
doqment
is a very useful extension, but it seems it is incompatible with Zotero Connector
for Firefox, that is, I can't save PDFs. I often use Zotero Connector
to save PDFs from arXiv, so it would be great if I could use them simultaneously.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.