Code Monkey home page Code Monkey logo

doqment's People

Contributors

notplancha avatar shivaprsd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

notplancha

doqment's Issues

Need to set PDF.js preferences

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?

[Chrome] Need option to open PDFs by default

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.
image

How to set defaults?

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?

Two questions

hello, thank you for your work.

  1. After installing the plugin in Firefox, when I try to open a pdf file with 'open with Firefox`, it does not open the pdf file directly. I need drag the file to the browser. Is there any way to directly open a pdf file?
  2. Do you know how to set set 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.

Lagging in viewer version compared to PDF.js upstream

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

Custom overlays?

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

Port to Chrome browser

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!

Add support for annotation

Annotation and highlighting in native firefox pdf viewer is absent. Hoping for this feature to be included.

[Firefox] Extension breaks the Print/Download feature of Google Docs suite

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.

Incompatibility with Zotero Connector

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.