aboutsummaryrefslogtreecommitdiff
path: root/bg/ExternalLicenses.js
Commit message (Collapse)AuthorAgeFilesLines
* 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