General
37 results found
-
Render an specific element and children (via cropping)
I'd like to be able to use a selector to return just the content within a specific HTML element. The goal for me personally is to allow users the ability to render specific elements to help establish structured information and share information about a specific element via an image.
2 votesthis has been available for some time. for example, this: https://phantomjscloud.com/api/browser/v2/a-demo-key-with-low-quota-per-ip-address/?request=%7Burl:%22http://localhost/examples/corpus/flower.png%22,renderType:%22png%22,renderSettings:%7Bselector:%22img%22%7D%7D
Please see the docs regarding renderSettings. email support@phantomjscloud.com if you still need assistance.
-
Adjustable JPEG quality
Add parameter for adjusting JPEG quality, so we won't have to re-compress the file ourselves
15 votesyou can try this feature out at http://stage2.phantomjscloud.com stage2 will replace the current system in the coming months.
-
Enable early access to PhantomJS 2.0
Enable early access to PhantomJS 2.0.
Phantom 2.0 is still not released, but there are some early versions circling around in the community. Would I be possible to
The reason why I want PhantomJS 2.0 is because it supports the final version of the WebSockets standards, so that it can take snapshots of sites that uses websocket instead of traditional ajax requests.
4 votesservice now uses phantomjs v2
UPDATE: much better improved phantomjs2 support on our Stage2 system! you can try this feature out at http://stage2.phantomjscloud.com stage2 will replace the current system in the coming months.
-
1 vote
done. see docs here: http://api.phantomjscloud.com
-
Add fine control of JSON output verbosity
I would like to output JSON only including my request + rendered Content, none of the resource data that's currently included.
2 votesverbosity low by default. see json output for how to increase verbosity.
-
allow change/delete of credit card details
users sometimes need to change their credit card details.
1 vote -
iframes do not return url
this is a bug in phantomjs 1.x , however a workaround is described here: https://groups.google.com/forum/#!msg/phantomjs/J7PQFe2gLec/8rnf-H_xgmoJ
3 votes -
return text without html tags
Can the API return just the visible text from the web page?
1 votecan choose “outputAsJson” with requestType=text. You will see a outputVariable called .contentPlainText
i’ll update the docs later.
-
Better rendering of Screenshots (Thumbnails, Crop, etc)
Here’s how to do the cropping and support the height parameter, and, in the process make your thumbnails smaller (by using .png’s, and not .jpg's, which are much bigger and don’t look as good as .png’s), and cut down on bandwidth and storage costs.
http://www.cambus.net/creating-thumbnails-using-phantomjs-and-imagemagick
Cropping will not add to your processing costs, but you should be aware that compression will. However, this is a cost that everybody using PhantomJS for thumbnails must bear.
There is one other thing that you should be doing with your thumbnail API: which is to allow specification of both the source viewport and the…
2 votessee doc page for render rectangle
-
Allow modifying the http headers being sent back from the page response.
a user requests: "Can I set a parameter to set a header to set the download filename?"
such as: the header: Content-Disposition: attachment; filename=\"".$_GET['filename'])."\";"
0 votes -
Allow access to the pageSize variable
I want to be able to do something like this:
page.paperSize = {
format: "Letter",
orientation: "portrait",
margin: {left:"2.5cm", right:"2.5cm", top:"1cm", bottom:"1cm"},
footer: {
height: "0.9cm",
contents: phantom.callback(function(pageNum, numPages) {
return "<div style='text-align:center;'><small>" + pageNum +
" / " + numPages + "</small></div>";
})
}
};It doesn't seem like I can do that with your API.
3 votessee docs page for how to set header/footers
-
create a tutorial / examples section (maybe on github?)
because it's hard to know how to do stuff in my programming language.
5 votes -
make injected scripts easier to use
right now i need to have a .js file on a webserver to use this. please make it easier.
3 votessee oageRequest.execScripts
-
3 votes
see pageRequest.targetContent
-
add an SLA for premium users
i'd be willing to pay for a SLA. please provide the option
1 vote -
make loading of lazy load (AJAX ) content easier
right now I need to use injected scripts and/or set a timeout to get all the ajax content
2 votesUPDATE: much better improved webfont support on our Stage2 system! you can try this feature out at http://stage2.phantomjscloud.com stage2 will replace the current system in the coming months.
-
delay until all resources are finished loading
instead of using .delayTime, I'd like to delay until resources finish loading.
0 votescan use .the new delayWhileLoading variable. I’ll update the docs page later.
- Don't see your idea?