aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Releasing 7.20.3Yuchen Pei2021-11-233-5/+9
|
* 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.
* Fixing json files so that librejs builds againStef Gijsberts2021-11-092-220/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to build the project using Webpack v2 or v3 [0]. The following commands were used for the conversion: $ mv licenses.json licenses.old.json $ cat licenses.old.json \ | sed $'s/module.exports = //g' \ | tr \' \" | tr -d ';' \ | sed $'s/licenses: /"licenses": /g' \ > licenses.json $ mv fname_data.json fname_data.old.json $ cat fname_data.old.json \ | sed $'s/module.exports = //g'\ | tr \' \" \ | tr -d ';' \ | sed $'s/fname_data : /"fname_data": /g' \ > fname_data.json [0]: https://webpack.js.org/migrate/3/#json-loader-is-not-required-anymore Thanks also to Andrea G. Monaco for an identical patch: <https://lists.gnu.org/archive/html/bug-librejs/2021-05/msg00002.html>
* Fixed Array.map is not a functionRuben Rodriguez2020-03-303-4/+4
|
* Bumped version to 7.20.1Ruben Rodriguez2019-05-061-3/+3
|
* 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
* Changes to licenses list, adds human readable name, adds CC licenses, adds ↵Ruben Rodriguez2019-05-011-16/+142
| | | | Expat alias as MIT, adds extra GNU license detail, corrects BSD licenses
* Display NOSCRIPT elements when scripts are blocked or the ↵hackademix2019-04-302-11/+77
| | | | data-librejs-display attribute is present.
* Version bumped 7.20Ruben Rodriguez2019-04-291-1/+1
|
* Fixed css issues in the panelRuben Rodriguez2019-04-291-2/+4
|
* Merge branch 'master' of ssh://pagure.io/librejsRuben Rodriguez2019-04-2910-64/+160
|\
| * Merge #39 `Add permanent reload button in the popup UI (in the "whole site" ↵Ruben Rodriguez2019-04-292-3/+5
| |\ | | | | | | | | | information line).`
| | * Add permanent reload button in the popup UI (in the "whole site" information ↵hackademix2019-04-082-3/+5
| | | | | | | | | | | | line).
| * | More consistent and efficient blacklisting.hackademix2019-04-123-44/+52
| | |
| * | Fixed UI inconsistencies when whitelisting/blacklisting through wide ↵hackademix2019-04-084-5/+22
| | | | | | | | | | | | wildcard matching.
| * | Fix Storage.js throwing exception unless loaded as a module.hackademix2019-04-081-1/+1
| | |
| * | Automated regression tests for whitelist and blacklist management, including ↵hackademix2019-03-262-1/+40
| | | | | | | | | | | | wildcards.
| * | Subdomain wildcard support.hackademix2019-03-265-17/+47
| |/
* | Version bumped to 7.19 finalRuben Rodriguez2019-03-131-1/+1
| |
* | Fixed width on button.toggle-sourceRuben Rodriguez2019-03-131-3/+2
|/
* Merge #36 `Correctly decode using the original document charset and force ↵Ruben Rodriguez2019-03-132-30/+51
|\ | | | | | | re-encoding via UTF-8 BOM only when needed.`
| * Sniffing of charset in <meta> tags and BOM.hackademix2019-03-132-8/+47
| |
| * Correctly decode using the original document charset and force re-encoding ↵hackademix2019-03-112-28/+10
| | | | | | | | via UTF-8 BOM only when needed.
* | Fix for large scripts thrashing the black/white lists when added.hackademix2019-03-113-17/+18
| |
* | Fixed inline whitelisting regressions (issue #35).hackademix2019-03-054-22/+32
| |
* | Cosmetic changes to the inline code viewer toggle button.hackademix2019-02-253-5/+24
| |
* | Generate code view widget for first inline script with global license too.hackademix2019-02-251-2/+4
| |
* | Test for inline scripts in attributes, including (de)duplication.hackademix2019-02-251-0/+19
| |
* | 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-224-20/+57
| |
* | Version number bump.hackademix2019-02-211-1/+1
|/
* Bumped version numberRuben Rodriguez2019-02-131-1/+1
|
* Fixed regression hiding some inline scripts and global license ref from UI ↵hackademix2019-02-132-6/+14
| | | | reports.
* UI: contextual view-source links for inline scripts and intrinsic events.hackademix2019-02-122-7/+20
|
* Fixed fastclick.js loaded too late sometimes.hackademix2019-01-281-1/+1
|
* Mobile-friendly UI sizing in CSS.hackademix2019-01-283-17/+33
|
* Gracefully degrade browser.sessions-based tab info cache on mobile.hackademix2019-01-281-3/+4
|
* Android-compatible browserAction management.hackademix2019-01-281-2/+8
|
* Reduce touch (mobile) UI lag.hackademix2019-01-283-0/+869
|
* Mobile awareness in UI panels.hackademix2019-01-283-0/+3
|
* Version bump to 7.19rc1hackademix2019-01-281-1/+1
|
* Version bumped to 7.18.1Ruben Rodriguez2018-11-071-1/+1
|
* URL matching for report data should ignore hash component.hackademix2018-11-031-10/+9
|
* Version bumped to 7.18Ruben Rodriguez2018-11-021-1/+1
|
* Tokens onerror and top should not be considered nontrivialRuben Rodriguez2018-10-311-2/+2
|
* Correctly handle multiple inline scripts, multiple intrinsic events, ↵Ruben Rodriguez2018-10-311-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 matchingRuben Rodriguez2018-10-311-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 nontrivialRuben Rodriguez2018-10-311-12/+7
|