aboutsummaryrefslogtreecommitdiff
path: root/bg/ResponseProcessor.js
Commit message (Collapse)AuthorAgeFilesLines
* fix subresource integrity hash-busting bug by only rewriting external ↵henriquez2022-06-231-1/+1
| | | | scripts if not 'accepted'
* lintingYuchen Pei2022-04-071-16/+16
| | | | | - eslint - also adding eslintrc
* nop whitespace formatting change.Yuchen Pei2022-04-071-16/+16
| | | | | | | | - ran eglot-format using typescript-language-server on all js files in the repo except those under /hash_script/ - verify only whitespace changed: git diff --word-diff-regex=. 62d6a71 62d6a71~1
* More consistent and efficient blacklisting.hackademix2019-04-121-1/+1
|
* Sniffing of charset in <meta> tags and BOM.hackademix2019-03-131-3/+3
|
* Correctly decode using the original document charset and force re-encoding ↵hackademix2019-03-111-11/+9
| | | | via UTF-8 BOM only when needed.
* Work-around for StreamFilter bug storing cached script in a way that messes ↵hackademix2018-09-281-9/+26
| | | | up with encodings later (exacerbated by the license tag fixes).
* Internal refactoring of htmlEdit() using idiomatic asynchronous ES for ↵hackademix2018-09-021-2/+3
| | | | better maintainability and fixing problematic Promise usage.
* Moved external licenses check into response pre-processing, in order to ↵hackademix2018-09-011-5/+5
| | | | avoid filterResponse() as much as possible (fixing issue #11)
* Uniform conventions for module importing paths.hackademix2018-07-311-1/+1
|
* Stateful response processing support.hackademix2018-07-311-8/+4
|
* Implement early whitelisting / blacklisting logic.hackademix2018-07-301-5/+19
|
* Refactor and fix HTTP response filtering to touch only scripts, either ↵hackademix2018-07-171-0/+110
external or embedded inside HTML documents and sub-documents.