Skip to content
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

For "wkhtmltoImage": is possible add functions/url at the param "'run-script'"? #72

Closed
Lobon18 opened this issue Dec 19, 2013 · 3 comments
Labels

Comments

@Lobon18
Copy link

Lobon18 commented Dec 19, 2013

Hi!

First off all, congratulations for your "library", is great!! ;-D

I have been studying the params relationated with "wkhtmltoImage", and one of the params is --run-script, but you only can add js code directly.

Is there any posibility (or do you know) of adding a URL of a 'file.js' in order to create functions or more code in a separated file (like the '-user-style-sheet' param)?

At the moment, I have checked that you can only add js code in one line, and it's a problem if you want to add more code :-(

  • I'm using the libwkhtmltox-0.11.0_rc1.zip (Win) and I'll install it in Linux too.

Thank you very much in advance!
Regards,

@pilot
Copy link
Contributor

pilot commented Dec 20, 2013

as far I know and follow to the --extended-help of wkhtmltoImage there is no possibility load files from url

@Lobon18
Copy link
Author

Lobon18 commented Dec 20, 2013

In the next URL: http://madalgo.au.dk/~jakobt/wkhtmltoxdoc/wkhtmltoimage_0.10.0_rc2-doc.html

I 've seen that this param receives directly a "js", but, have you ever needed to introduce more code or have you used any mechanism to do it? Thanks

@pilot pilot added the faq label Sep 19, 2014
@akerouanton
Copy link
Contributor

AFAIK it's not possible to provide a URL for this option, even in latest versions. Closing because this is not related to snappy itself.

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

No branches or pull requests

3 participants