Skip to content

Commit

Permalink
added pdf support
Browse files Browse the repository at this point in the history
  • Loading branch information
dalmo3 committed Feb 17, 2020
1 parent b7ddec9 commit 467c7d9
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 88 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,24 @@ Browser extension for fetching and formatting [Hypothes.is](https://web.hypothes

More info on the upstream project: https://github.com/samuelsimoes/chrome-extension-webpack-boilerplate

## Run
## Usage

1. Open options page and add your details and preferences.
2. Visit the page where you have annotations.
3. Open the extension
4. For local PDF support, right click -> Manage Extensions -> Allow access to file URLs

## Changelog
```
0.2.0
Added PDF support
0.1.0
Initial Version
```

## Known Issues
- Only fetches the first 200 annotations from a page
- Won't fetch annotations from PDFs while the official Hypothes.is browser extension is open

## Credits

Expand Down
118 changes: 46 additions & 72 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chrome-extension-webpack",
"version": "0.0.1",
"version": "0.2.0",
"description": "A boilerplate to chrome extension with webpack",
"scripts": {
"build": "node utils/build.js",
Expand All @@ -14,14 +14,15 @@
"fs-extra": "8.1.0",
"html-loader": "0.5.5",
"html-webpack-plugin": "3.2.0",
"lodash": "^4.17.15",
"pdfjs-dist": "^2.2.228",
"query-string": "^6.10.1",
"style-loader": "1.0.0",
"webpack": "4.41.2",
"webpack-dev-server": "3.9.0",
"write-file-webpack-plugin": "4.5.1",
"webpack-cli": "3.3.10"
},
"dependencies": {
"lodash": "^4.17.15",
"query-string": "^6.10.1"
}
}
Loading

0 comments on commit 467c7d9

Please sign in to comment.