Skip to content

Commit 2f8e913

Browse files
authored
Add PDF Extraction (#93)
* Add PDF Parser * Error Handling * Update gulpfile.js * Add Annotations and Error Handling to URL Parser * Update Logging and JSDocs * Fix URL Parsing * Add URL and Error Handling * Add Permissions Page * Add Firefox File Detection * Add Firefox PDF Perms Detection * Cleanup * Add Chrome File Check * Add Browser Check to File Access * Update Links * Update README.md * Update Packages * Fix Issues and Add PDF Test
1 parent 0b3688a commit 2f8e913

19 files changed

Lines changed: 1308 additions & 437 deletions

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ For any issues, bugs or concerns; please [Open an Issue](https://github.com/cssn
6161
* Extract Links from Selected Text on any Site
6262
* Extract Links from Clipboard or Any Text
6363
* Extract Links from All Selected Tabs
64+
* Extract Links from PDF Documents
6465
* Copy Selected Links with right-click Menu
6566
* Display Additional Link Details and Text
6667
* Open Multiple Links in Tabs from Text

gulpfile.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,23 @@ gulp.task('jquery', () => {
4949
.pipe(gulp.dest('src/dist/jquery'))
5050
})
5151

52+
gulp.task('pdfjs', () => {
53+
return gulp
54+
.src([
55+
'node_modules/pdfjs-dist/build/pdf.min.mjs',
56+
'node_modules/pdfjs-dist/build/pdf.worker.min.mjs',
57+
])
58+
.pipe(gulp.dest('src/dist/pdfjs'))
59+
})
60+
5261
gulp.task(
5362
'default',
5463
gulp.parallel(
5564
'bootstrap',
5665
'clipboard',
5766
'datatables',
5867
'fontawesome',
59-
'jquery'
68+
'jquery',
69+
'pdfjs'
6070
)
6171
)

0 commit comments

Comments
 (0)