aboutsummaryrefslogtreecommitdiff
path: root/main_background.js
Commit message (Collapse)AuthorAgeFilesLines
* [PoC] Log LibreJS reportsnative-messaging-appYuchen Pei2023-10-271-0/+6
| | | | | | | | | | - run ./build.sh - install the built librejs.xpi as a temporary extension[1] - check the librejs version is 7.21.2 - load some sites e.g. <https://fsf.org>, <https://archive.org>, and the reports should be logged into /tmp/librejs.log [1] https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/
* minor comment fixYuchen Pei2022-10-121-6/+3
|
* refactoring: clean up main_backgroundYuchen Pei2022-09-271-89/+81
|
* refactoring ResponseHandlerYuchen Pei2022-09-271-16/+16
|
* Refactoring response handler to improve readabilityYuchen Pei2022-09-271-12/+20
|
* A better fix for bugs #58131Yuchen Pei2022-09-271-13/+16
|
* minor renamingYuchen Pei2022-09-271-1/+1
|
* disable contactfinder tests by defaultYuchen Pei2022-09-271-11/+10
| | | | It tends to time out. Also moved injectContactFinder
* minor camelcase renamingYuchen Pei2022-09-261-5/+5
|
* refactoring editHtml.Yuchen Pei2022-09-261-83/+100
| | | | Separating out functions.
* refactor: remove redundant result() in checkScriptAndUpdateReportYuchen Pei2022-09-261-19/+14
|
* typo about returns string or pair in checkScriptAndUpdateReportYuchen Pei2022-09-261-9/+7
|
* typosYuchen Pei2022-09-231-1/+1
|
* refactor editHtmlYuchen Pei2022-09-221-37/+32
|
* Separating out script and license checking routines to common/checksYuchen Pei2022-09-221-367/+15
|
* moving some modules to common/Yuchen Pei2022-09-221-6/+6
|
* clean up external license checking a bitYuchen Pei2022-09-221-1/+4
|
* refactor getScript with better namesYuchen Pei2022-09-221-17/+16
| | | | also moved list manager check out of licenseRead
* refactor: clean up addReportEntry.Yuchen Pei2022-09-221-52/+50
| | | | also some smaller functions.
* refactor: const instead of letYuchen Pei2022-09-221-19/+12
|
* refactor: use setYuchen Pei2022-09-221-4/+4
|
* refactoring getScriptYuchen Pei2022-09-211-6/+6
|
* refactoring get_scriptYuchen Pei2022-09-211-20/+20
| | | | - index was a confusing arg
* refactor license_readYuchen Pei2022-09-211-53/+53
|
* clean up legacy_license_checkYuchen Pei2022-09-211-1/+1
|
* added some comments for various checksYuchen Pei2022-09-201-0/+3
|
* clean up fullEvaluateYuchen Pei2022-09-201-48/+61
|
* clean up checks for reserved objectsYuchen Pei2022-09-201-23/+26
|
* Moving scripts and utilities into a new utilities dirYuchen Pei2022-07-281-1/+1
|
* fixing email template of contact finderYuchen Pei2022-07-271-1/+1
|
* Stripping comments when checking between @license and @license-endYuchen Pei2022-04-291-3/+4
| | | | | | | | | example (say it's an external script): /* my awesome script */ /* @license magnet ... */ .... // @license-end
* Fixing license-end detection to accept /* */ commentYuchen Pei2022-04-291-1/+2
| | | | | | Previously only // @license-end was accepted.
* lintingYuchen Pei2022-04-071-235/+192
| | | | | - eslint - also adding eslintrc
* Making license_definition.js single source of truth for licensesYuchen Pei2022-04-071-12/+13
| | | | | - Removed licenses.json - cleaned up license_definition.js a bit
* updating validation of @license comments to check magnet / url only.Yuchen Pei2022-04-071-15/+10
| | | | | | - this is the desired behaviour, see also <https://lists.gnu.org/archive/html/help-librejs/2021-12/msg00000.html> - also changed some unmuated identifiers from let to const
* nop whitespace formatting change.Yuchen Pei2022-04-071-948/+952
| | | | | | | | - 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
* bug #59021Girish M2021-12-031-1/+2
| | | allow matching license URL strings by either http or https
* Simplified validateLicense()Ruben Rodriguez2019-05-061-22/+15
|
* Allow for detection of @license declarations with no links. Show human ↵Ruben Rodriguez2019-05-011-11/+17
| | | | readable license names
* Display NOSCRIPT elements when scripts are blocked or the ↵hackademix2019-04-301-11/+53
| | | | data-librejs-display attribute is present.
* More consistent and efficient blacklisting.hackademix2019-04-121-38/+41
|
* Fixed UI inconsistencies when whitelisting/blacklisting through wide ↵hackademix2019-04-081-1/+5
| | | | wildcard matching.
* Automated regression tests for whitelist and blacklist management, including ↵hackademix2019-03-261-0/+1
| | | | wildcards.
* Subdomain wildcard support.hackademix2019-03-261-8/+8
|
* Fix for large scripts thrashing the black/white lists when added.hackademix2019-03-111-13/+2
|
* Fixed inline whitelisting regressions (issue #35).hackademix2019-03-051-19/+19
|
* Generate code view widget for first inline script with global license too.hackademix2019-02-251-2/+4
|
* Fixed bug preventing javascript: URLs from being correctly processed.hackademix2019-02-251-0/+1
|
* Deduplicate inline scripts and provide widgets to show them in main UI.hackademix2019-02-221-18/+30
|
* Fixed regression hiding some inline scripts and global license ref from UI ↵hackademix2019-02-131-5/+13
| | | | reports.