Comments (5)
from full-page-screen-capture-chrome-extension.
Hey @Kalaiarasan469 this is a Chrome extension. There are a couple things that I’m not fully understanding from your request to make it an npm package:
- If it were an NPM package, then it should be a library that extracts part of this, not the whole extension
- Because it is a Chrome extension it is using privileged APIs that the Chrome browser exposes to the extension, e.g.,
chrome.tabs.executeScript
,chrome.tabs.sendMessage
,chrome.tabs.captureVisibleTab
, so (a) it needs to run in a browser, not node and (b) it needs to run with chrome extension privileges in order to have access to those APIs
from full-page-screen-capture-chrome-extension.
Use Puppeteer for this purpose, to take screenshots with Node. Google search for "capture screenshots with puppeteer".
from full-page-screen-capture-chrome-extension.
@mrcoles What you said was correct. As @garyking said I used puppeteer to do it. Thanks guys
from full-page-screen-capture-chrome-extension.
Cool thanks! Yeah, the real magic of the Chrome extension is that it lets you take a screenshot of what you’re currently viewing while browsing the web, so you can capture some unique state that won’t be recreated by sharing the link with someone else. Thanks for providing a suggestion @garyking !
from full-page-screen-capture-chrome-extension.
Related Issues (20)
- make it compatible with kiwibrowser a chromium fork (5m user) HOT 1
- Repo out of sync with web store HOT 2
- Any way to adjust for PDF files loaded in Chrome? HOT 1
- Add new language
- Doesn't work on Chrome versions 92 and up
- The extension doesn't work on certain websites
- Why not editable (vector-type) PDF?
- Issues on page with page-scroll : smooth or position: fixed or position: sticky
- Transparent background?
- Cpature content of scrollable ifame,
- How to invoke programatically?
- Manifest v3? HOT 1
- Iframe nesting problem HOT 1
- Question on Full Page extension HOT 3
- animation on welcome page HOT 1
- Can't remove keyboard shortcut from this extension HOT 1
- Using author's extension in mine HOT 1
- Capturing this page results in a tall blank page HOT 8
- Multiple Scrollable elements on single page HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from full-page-screen-capture-chrome-extension.