From b203e9bef3d79fc235bf8e51ac96c76be317e110 Mon Sep 17 00:00:00 2001 From: Gaspard Jankowiak Date: Fri, 5 Jun 2026 13:15:52 +0200 Subject: [PATCH] use minimized version of jszip and inline it into the viewer. --- README.md | 4 +- archive-viewer/index.html | 16 +- content.js | 8 +- lib/jszip.js | 11577 ------------------------------------ manifest.json | 3 +- 5 files changed, 22 insertions(+), 11586 deletions(-) delete mode 100644 lib/jszip.js diff --git a/README.md b/README.md index f59aabe..9c61c8e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Chrome extension for downloading EPAS applicant files into a ZIP archive, includ - turn on Developer mode (Entwicklermodus) if not done already - there are then 2 options: - on Linux, [download](https://imsc.uni-graz.at/git/gjankowiak/epas-ripper/raw/branch/chrome/epas-ripper-0.1.0.crx) the `.crx` extension file and drag-and-drop it to the `about:extensions` tab. - - on Windows, [download](https://imsc.uni-graz.at/git/gjankowiak/epas-ripper/archive/chrome.zip) the `.zip` archive of this repository, extract it and load the `epas-ripper` directory using the "Load unpacked" ("Entpackte Erweiterung laden") button of the `about:extensions` tab. + - on Windows (macOS too?), [download](https://imsc.uni-graz.at/git/gjankowiak/epas-ripper/archive/chrome.zip) the `.zip` archive of this repository, extract it _somewhere it does not risk begin moved or deleted_ and load the `epas-ripper` directory (located inside) using the "Load unpacked" ("Entpackte Erweiterung laden") button of the `about:extensions` tab. - Chrome will display security warnings which you need to check and accept. ## Usage @@ -19,4 +19,4 @@ The archive will contain: - one directory per applicant with the corresponding files - applicants.csv, which contains a table with the details of each applicant -- `index.html` (+ auxiliary files), a static HTML file which can be use to browse the applicants' files. After opening it in a browser, you need to load the ZIP file you just downloaded. For this to work properly, you should _extract_ the `applications[...].zip` file first. Opening `index.html` from the archive directly (like the explorer on Windows) is not going to work. +- `viewer.html` (+ auxiliary files), a static HTML file which can be use to browse the applicants' files. After opening it in a browser, you need to load the ZIP file you just downloaded. For this to work properly, you should _extract_ the `applications[...].zip` file first. diff --git a/archive-viewer/index.html b/archive-viewer/index.html index aed1b5f..d243bef 100644 --- a/archive-viewer/index.html +++ b/archive-viewer/index.html @@ -206,7 +206,21 @@ - +