Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | typo about returns string or pair in checkScriptAndUpdateReport | Yuchen Pei | 2022-09-26 | 1 | -9/+7 |
| | |||||
* | typos | Yuchen Pei | 2022-09-23 | 1 | -1/+1 |
| | |||||
* | refactor editHtml | Yuchen Pei | 2022-09-22 | 1 | -37/+32 |
| | |||||
* | Separating out script and license checking routines to common/checks | Yuchen Pei | 2022-09-22 | 1 | -367/+15 |
| | |||||
* | moving some modules to common/ | Yuchen Pei | 2022-09-22 | 1 | -6/+6 |
| | |||||
* | clean up external license checking a bit | Yuchen Pei | 2022-09-22 | 1 | -1/+4 |
| | |||||
* | refactor getScript with better names | Yuchen Pei | 2022-09-22 | 1 | -17/+16 |
| | | | | also moved list manager check out of licenseRead | ||||
* | refactor: clean up addReportEntry. | Yuchen Pei | 2022-09-22 | 1 | -52/+50 |
| | | | | also some smaller functions. | ||||
* | refactor: const instead of let | Yuchen Pei | 2022-09-22 | 1 | -19/+12 |
| | |||||
* | refactor: use set | Yuchen Pei | 2022-09-22 | 1 | -4/+4 |
| | |||||
* | refactoring getScript | Yuchen Pei | 2022-09-21 | 1 | -6/+6 |
| | |||||
* | refactoring get_script | Yuchen Pei | 2022-09-21 | 1 | -20/+20 |
| | | | | - index was a confusing arg | ||||
* | refactor license_read | Yuchen Pei | 2022-09-21 | 1 | -53/+53 |
| | |||||
* | clean up legacy_license_check | Yuchen Pei | 2022-09-21 | 1 | -1/+1 |
| | |||||
* | added some comments for various checks | Yuchen Pei | 2022-09-20 | 1 | -0/+3 |
| | |||||
* | clean up fullEvaluate | Yuchen Pei | 2022-09-20 | 1 | -48/+61 |
| | |||||
* | clean up checks for reserved objects | Yuchen Pei | 2022-09-20 | 1 | -23/+26 |
| | |||||
* | Moving scripts and utilities into a new utilities dir | Yuchen Pei | 2022-07-28 | 1 | -1/+1 |
| | |||||
* | fixing email template of contact finder | Yuchen Pei | 2022-07-27 | 1 | -1/+1 |
| | |||||
* | Stripping comments when checking between @license and @license-end | Yuchen Pei | 2022-04-29 | 1 | -3/+4 |
| | | | | | | | | | example (say it's an external script): /* my awesome script */ /* @license magnet ... */ .... // @license-end | ||||
* | Fixing license-end detection to accept /* */ comment | Yuchen Pei | 2022-04-29 | 1 | -1/+2 |
| | | | | | | Previously only // @license-end was accepted. | ||||
* | linting | Yuchen Pei | 2022-04-07 | 1 | -235/+192 |
| | | | | | - eslint - also adding eslintrc | ||||
* | Making license_definition.js single source of truth for licenses | Yuchen Pei | 2022-04-07 | 1 | -12/+13 |
| | | | | | - Removed licenses.json - cleaned up license_definition.js a bit | ||||
* | updating validation of @license comments to check magnet / url only. | Yuchen Pei | 2022-04-07 | 1 | -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 Pei | 2022-04-07 | 1 | -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 #59021 | Girish M | 2021-12-03 | 1 | -1/+2 |
| | | | allow matching license URL strings by either http or https | ||||
* | Simplified validateLicense() | Ruben Rodriguez | 2019-05-06 | 1 | -22/+15 |
| | |||||
* | Allow for detection of @license declarations with no links. Show human ↵ | Ruben Rodriguez | 2019-05-01 | 1 | -11/+17 |
| | | | | readable license names | ||||
* | Display NOSCRIPT elements when scripts are blocked or the ↵ | hackademix | 2019-04-30 | 1 | -11/+53 |
| | | | | data-librejs-display attribute is present. | ||||
* | More consistent and efficient blacklisting. | hackademix | 2019-04-12 | 1 | -38/+41 |
| | |||||
* | Fixed UI inconsistencies when whitelisting/blacklisting through wide ↵ | hackademix | 2019-04-08 | 1 | -1/+5 |
| | | | | wildcard matching. | ||||
* | Automated regression tests for whitelist and blacklist management, including ↵ | hackademix | 2019-03-26 | 1 | -0/+1 |
| | | | | wildcards. | ||||
* | Subdomain wildcard support. | hackademix | 2019-03-26 | 1 | -8/+8 |
| | |||||
* | Fix for large scripts thrashing the black/white lists when added. | hackademix | 2019-03-11 | 1 | -13/+2 |
| | |||||
* | Fixed inline whitelisting regressions (issue #35). | hackademix | 2019-03-05 | 1 | -19/+19 |
| | |||||
* | Generate code view widget for first inline script with global license too. | hackademix | 2019-02-25 | 1 | -2/+4 |
| | |||||
* | Fixed bug preventing javascript: URLs from being correctly processed. | hackademix | 2019-02-25 | 1 | -0/+1 |
| | |||||
* | Deduplicate inline scripts and provide widgets to show them in main UI. | hackademix | 2019-02-22 | 1 | -18/+30 |
| | |||||
* | Fixed regression hiding some inline scripts and global license ref from UI ↵ | hackademix | 2019-02-13 | 1 | -5/+13 |
| | | | | reports. | ||||
* | UI: contextual view-source links for inline scripts and intrinsic events. | hackademix | 2019-02-12 | 1 | -7/+15 |
| | |||||
* | Gracefully degrade browser.sessions-based tab info cache on mobile. | hackademix | 2019-01-28 | 1 | -3/+4 |
| | |||||
* | Android-compatible browserAction management. | hackademix | 2019-01-28 | 1 | -2/+8 |
| | |||||
* | URL matching for report data should ignore hash component. | hackademix | 2018-11-03 | 1 | -10/+9 |
| | |||||
* | Correctly handle multiple inline scripts, multiple intrinsic events, ↵ | Ruben Rodriguez | 2018-10-31 | 1 | -9/+26 |
| | | | | | | whitelisting/blacklisting and listing in the panel. Before this, only the first inline script would get properly handled. This also corrects script comments for href="javascript:foo" types of scripts, which cannot get comments added in to state the result of LibreJS parsing. | ||||
* | More generalized license matching | Ruben Rodriguez | 2018-10-31 | 1 | -3/+11 |
| | | | | | * Allow for length >= 4 since somebody may write "GPL2.0 or later" or something like that. It should still work if the tag follows the new recommendations. * Match the link to the URL or Magnet Link fields in the licenses table. Currently it matches only by id, and the link field is only used to fail the match if the link is not the same as in the table. | ||||
* | Defining or calling functions does not qualify as nontrivial | Ruben Rodriguez | 2018-10-31 | 1 | -12/+7 |
| | |||||
* | Reimplement intrinsic event iteration. | Ruben Rodriguez | 2018-10-31 | 1 | -34/+12 |
| | | | | The new code processes any attribute that starts with "on", or href attributes that start with "javascript:" and parses them assigning them a unique url, so that all of them are independently addressable by the panel and by white/blacklisting. This fixes the fact that the previous code would only parse some types of attributes using a list of names, would only parse the first matching attribute in an element, and would only list one intrinsic event per page in the panel. It also fixes the content of the attribute being mangled to the first character of the original code. | ||||
* | Jasmine-based automated tests suite. | hackademix | 2018-10-02 | 1 | -0/+15 |
| | |||||
* | Lenient WebLabels matching (by URL, by id, by name). | hackademix | 2018-10-02 | 1 | -2/+3 |
| | |||||
* | Refactored inline license tag / triviality check driver for performance, ↵ | hackademix | 2018-09-27 | 1 | -76/+74 |
| | | | | readability and fixing 2 semantic bugs causing non-trivial unlicensed scripts not to be blocked. |