Skip to content

Chrome Extension which includes a background page and content scripts to manipulate a target page DOM, injecting third party scripts, creating and reacting to events between the elements. The page elements will be scraped, filtered and sent to a back-end server such as a local MongoDB database and/or a Firebase instance. Also cover the options f…

License

Notifications You must be signed in to change notification settings

baskint/page-scrape-report-chrome-ext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Page Scrape and Analysis using a Chrome Extension

This is a two part application which in the first part a chrome extension scrapes a web page for page links and stores the data in a local MongoDB database and a Firebase instance. It illustrates the concepts in creating a chrome extension as a panel, passing events, coordinating data collection, posting data to a backend server and showing the parsed results in a tabular manner.

The second part which is a Node-Express application acts as an endpoint to the front end. It runs certain NPM modules to analyze the passed-in URL and sending back the results as a JSON object.

Environment Set up and testing

For local testing, please clone this repo and run

  npm install

Once the packages are installed, use

gulp test

commands should run the tests.

Switch to the ../server directory and run the

npm install

command one more time to get the backend packages.

About

Chrome Extension which includes a background page and content scripts to manipulate a target page DOM, injecting third party scripts, creating and reacting to events between the elements. The page elements will be scraped, filtered and sent to a back-end server such as a local MongoDB database and/or a Firebase instance. Also cover the options f…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages