A Chrome Extension that allows page capturing from within your Web Application.
http://yieldbot.github.io/page_capture/
getVersion(cb)
: get the version numbercapturePage(cb)
: capture the entire page of a given urlcaptureElement(elementId, cb)
: capture an element on a given urlcaptureElementWithOffset(elementId, extraLeft, extraTop, cb)
: capture an element with extra offset on a given urlcaptureSection(x, y, width, height, cb)
: capture a section a given urlcaptureImage(imgUrl, width, height, cb)
: capture an external imagecaptureUrl(url, cb)
: capture an external pagecaptureUrlWithOverlay(url, imgUrl, includeOverlay, cb)
: capture an external page with an overlay
- fork the repo
npm run dev
: this will start a new chrome profile with the unpacked version on this extension- commit your changes
- submit a pull request
- make code changes + git commit (don't bump package.json version, this is done as part of
cut_release
) - npm run cut_release
- git fetch
- git rebase
- git push
- git push origin --tags
- check the travis build
see test/index.html
Licensed under The MIT License (MIT)
For the full copyright and license information, please view the LICENSE.txt file.