wch / webshot

Take screenshots of web pages from R
http://wch.github.io/webshot/
227 stars 40 forks source link

Allow custom JavaScript #77

Open colearendt opened 5 years ago

colearendt commented 5 years ago

Related to #64 , I needed to edit webshot.js in order to allow setting custom headers. So perhaps webshot::webshot should allow passing in a separate path to a javascript file, if a user wants to customize the javascript (at their own risk?). It definitely beats editing the webshot.js in place .