stefanw / voebbot
- вторник, 23 марта 2021 г. в 00:27:49
VOEBBot is a browser extension that removes the paywall on German online news sites using your VÖBB library account.
This uses rollup to build the extension files. Install and run like this:
npm install
# Run this during development
npm start
The extension has four different entry points:
src/content.js
runs on the news article page, communicates with background scriptsrc/background.js
which opens new tabs, navigates them around and scrapes the contentsrc/options.js
is the options page for the extensionpopup/
is opened when the extension icon in the toolbar is clickedThese are the data pieces inside:
src/providers.js
contains entities that you authenticate against and that grant accesssrc/sources.js
contains databases that you can get access to through providerssrc/sites.js
contains news sites, how to extract their meta data and which source could provide accessAdditionally user data like credentials and chosen provider is stored via browser.storage.sync
.
package.json
and manifest.json
and commit.git tag vX.Y.Z
git push --tags origin main