-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser extension #60
Comments
I'd love it if someone could find a way to invoke percollate from the browser. It's sort of beyond the scope of this package, and I don't foresee an easy solution, but I'm keeping this open just in case someone wants a challenge :-) |
Here would be a draft for a web api, feel free to fork |
Web Api would still be a server side solution which would require web connectivity.. how can percollate be used to generate pdf within an offline web app? |
just start the web server on localhost, and make a simple browser extension or even just a bookmarklet to send a HTTP request to localhost will do the job |
That surely cannot be an offline solution after all. There could be a way to run percollate within browser's javascript engine without HTTP. Let's explore. |
You would need an alternative to puppeteer to run it fully offline on clientside. |
Maybe this |
This also supports links: I made a bookmarklet draft. |
At the moment it is just this:
|
The disadvantage is that |
At the moment, from what I understand, a browser extension would be able to:
So it sounds like it could be interesting to prototype as an universal browser extension that works on Firefox/Chrome/Safari/Edge. |
|
I tried and found percollate a very useful tool. However, I would love to use it within html pages for on-demand creation of html page to pdf.
How can I run percollate from within browser instead of node or command-line?
The text was updated successfully, but these errors were encountered: