Stops ECCC from downloading PDFs when they can be opened in the browser. Also fixes a bug during submission.
ECCC Fixes Extension
This add-on's primary purpose is to let your browser display ECCC PDFs instead of being forced to download them. As of version 2.0, it has a secondary purpose, fixing a bug in the submission page. More details are given below.
The add-on kicks in when the user requests a report from ECCC (i.e. when the user goes to any URL of the form https://eccc.weizmann.ac.il/report/*/download/).
The add-on then intercepts the response from the server, which asks the browser to download a pdf file, and changes it so that the browser is now requested to open the pdf file.
Version 2.0 Update: There was a bug in the submission process that caused you to restart your submission. The extension now fixes that bug to the best of my knowledge. Details available with source code at https://github.com/suhailsherif/eccc-fixes.
Read more
The add-on kicks in when the user requests a report from ECCC (i.e. when the user goes to any URL of the form https://eccc.weizmann.ac.il/report/*/download/).
The add-on then intercepts the response from the server, which asks the browser to download a pdf file, and changes it so that the browser is now requested to open the pdf file.
Version 2.0 Update: There was a bug in the submission process that caused you to restart your submission. The extension now fixes that bug to the best of my knowledge. Details available with source code at https://github.com/suhailsherif/eccc-fixes.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "description": "Stops ECCC from downloading PDFs when they can be opened in the browser. Also fixes a bug during submission.", "manifest_version": 2, "name": "ECCC Fixes", "version": "2.0", "page_action": { "default_icon": { "48": "icons/48.png", "96": "icons/96.png", "128": "icons/128.png" } }, "icons": { "48": "icons/48.png", "96": "icons/96.png", "128": "icons/128.png" }, "permissions": [ "webRequest", "webRequestBlocking", "https://eccc.weizmann.ac.il/" ], "background": { "scripts": ["background.js"] }, "content_scripts": [ { "matches": ["https://eccc.weizmann.ac.il/submit/paper/"], "js": ["submissioninjection.js"] } ]}
Read more