aboutsummaryrefslogtreecommitdiff
path: root/bg/ExternalLicenses.js
Commit message (Collapse)AuthorAgeFilesLines
* changing license definition to jsonYuchen Pei2022-10-131-1/+1
| | | | and reuse it in the manual
* Refactoring response handler to improve readabilityYuchen Pei2022-09-271-1/+11
|
* moving some modules to common/Yuchen Pei2022-09-221-1/+1
|
* clean up external license checking a bitYuchen Pei2022-09-221-6/+1
|
* Updating copyright to files touched in the previous commits.Yuchen Pei2022-09-201-0/+1
|
* cleainig externallicenses doneYuchen Pei2022-07-291-13/+12
|
* clean up bg/externalicenses.js sans optimizedocumentYuchen Pei2022-07-291-33/+15
| | | | fixing a bug introduced in the previous commit too
* clean up bg/ExternalLicenses.jsYuchen Pei2022-07-291-36/+36
|
* lintingYuchen Pei2022-04-071-14/+15
| | | | | - eslint - also adding eslintrc
* nop whitespace formatting change.Yuchen Pei2022-04-071-9/+9
| | | | | | | | - 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
* Fix infinite loopStef Gijsberts2021-11-101-1/+1
| | | | | | | | | | | | | | | LibreJS got stuck in an infinite loop whenever a <link rel="jslicense"> occured inside a HTML head tag. This was due to a small programming mistake (refer to the git diff for details). It caused Icecat to become unresponsive (tested on Icecat 78.10.0esr). This notably affected users trying to visit lichess.org, and reportedly users trying to visit scratch.mit.edu [0]. [0]: https://lists.gnu.org/archive/html/bug-librejs/2020-06/msg00000.html
* Rename variable `document` to `doc`Stef Gijsberts2021-11-101-5/+5
| | | | | This is done because shadowing the global variable `document` can lead to unexpected results.
* WebLabels matching by id made case-insensitive.hackademix2018-09-301-5/+6
|
* Lenient WebLabels matching (by URL, by id, by name).hackademix2018-09-291-12/+32
|
* Match WebLabels by label rather than by canonical URL.hackademix2018-09-251-16/+17
|
* Fixed weblabels not being checked in whitelisted documents unless they ↵hackademix2018-09-021-5/+29
| | | | precede scripts.
* WebLabels-based license checking implementation.hackademix2018-08-201-0/+96