Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Can I use DOM Distiller from WebExtension as a call to some Chromium api? #9

Open
vitaly-zdanevich opened this issue Aug 24, 2017 · 3 comments

Comments

@vitaly-zdanevich
Copy link

I found extension that uses DOM Distiller by utilizing domdistiller.js that packed into extension, but as I understand this Distiller already the part of the browser, looks like hidden part. Some api?

@prijindal
Copy link

+1 for this, would love to use distiller on address bar rather than going to options.

@iotitan
Copy link
Contributor

iotitan commented Mar 12, 2018

The way distiller is wired into chrome does not allow for calls to it directly through javascript (which is why we use a copy of the minified version for the extension). That said, distiller is implemented in javascript; the extra implementation in chrome is to parse the output and render it (found here). It is entirely possible to write code that runs the distiller javascript, parses, and renders the output entirely in an extension.

@palomarantes
Copy link

Hi, is there any shortcut or icon for it? I hate to click in ... menu

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants