aboutsummaryrefslogtreecommitdiff
path: root/main_background.js
Commit message (Collapse)AuthorAgeFilesLines
...
* UI: contextual view-source links for inline scripts and intrinsic events.hackademix2019-02-121-7/+15
|
* Gracefully degrade browser.sessions-based tab info cache on mobile.hackademix2019-01-281-3/+4
|
* Android-compatible browserAction management.hackademix2019-01-281-2/+8
|
* URL matching for report data should ignore hash component.hackademix2018-11-031-10/+9
|
* 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
|
* Reimplement intrinsic event iteration.Ruben Rodriguez2018-10-311-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.hackademix2018-10-021-0/+15
|
* Lenient WebLabels matching (by URL, by id, by name).hackademix2018-10-021-2/+3
|
* Refactored inline license tag / triviality check driver for performance, ↵hackademix2018-09-271-76/+74
| | | | readability and fixing 2 semantic bugs causing non-trivial unlicensed scripts not to be blocked.
* More meaningful license tag validation messages.hackademix2018-09-261-17/+16
|
* Improved and partially refactored floating dialog.hackademix2018-09-261-8/+13
|
* Initial refactoring and unhiding of contact finder / complaint UI.hackademix2018-09-181-7/+31
|
* Update for compatibility with Acorn 6.hackademix2018-09-181-6/+5
|
* Merge #17 `Brand new settings UI to manage whitelist, blacklist and other ↵Ruben Rodriguez2018-09-131-95/+95
|\ | | | | | | preferences. `
| * Adjust directory layout and packaging to allow Storage.js to be shared with ↵hackademix2018-09-131-95/+95
| | | | | | | | the settings page in the xpi release.
* | Fix navigating the same url with hash erases script activity report information.hackademix2018-09-061-1/+1
|/
* Fix typo in intrinsec events loop.hackademix2018-09-051-1/+1
|
* Internal refactoring of htmlEdit() using idiomatic asynchronous ES for ↵hackademix2018-09-021-87/+72
| | | | better maintainability and fixing problematic Promise usage.
* Fixes serialization of modified HTML documents erases DOCTYPE and root ↵hackademix2018-09-021-1/+17
| | | | element information, possibly causing rendering issues.
* Fixed weblabels not being checked in whitelisted documents unless they ↵hackademix2018-09-021-15/+19
| | | | precede scripts.
* Moved external licenses check into response pre-processing, in order to ↵hackademix2018-09-011-24/+25
| | | | avoid filterResponse() as much as possible (fixing issue #11)
* Fixed regression: activity reports being accidentally reset when top ↵hackademix2018-08-201-11/+13
| | | | document URL contains a query string.
* WebLabels-based license checking implementation.hackademix2018-08-201-4/+23
|
* Cope with tabId changes on session restore.hackademix2018-08-141-0/+2
|
* Removed browser->webex "shim".hackademix2018-08-141-30/+9
|
* Fix for bug #54459: "Back/forth navigation does not change tab status ↵hackademix2018-08-141-27/+44
| | | | information"
* Renamed "unused_data" to "activityReport" and "active_connection" to ↵hackademix2018-08-131-28/+28
| | | | "activeMessagPorts".
* Removed some debugging noise.hackademix2018-08-071-2/+0
|
* Fixed scripts whose URLs had a query string could not be whitelisted.hackademix2018-08-061-3/+3
|
* Fixed report attempts when no tabId is available.hackademix2018-08-061-5/+9
|
* Fixed regression, commit #13ea9430ff74174b0e1043119e4d855259b62a30 breaking ↵hackademix2018-08-061-3/+9
| | | | reporting when intrinsic scripts are detected.
* UI rewrite for better responsiveness, simplicity and ease of CSS styling.hackademix2018-08-061-66/+53
|
* Fixed badge shouldn't be shown on privileged pages.hackademix2018-07-311-1/+1
|
* Fixed sub-frames resetting badge to green.hackademix2018-07-311-9/+11
|
* Refactoring out list management in its own class / bug fixing and ↵hackademix2018-07-311-195/+69
| | | | simplifying UI synchronization.
* Whitelisted/blackilisted statuses reporting and modification support.hackademix2018-07-311-131/+89
|
* Implement early whitelisting / blacklisting logic.hackademix2018-07-301-194/+135
|
* Fixed typo causing pages containing no script elements not to be rendered at allhackademix2018-07-291-1/+1
|
* White/Black lists back-end refactoring, fixing entry truncation on removal ↵hackademix2018-07-291-36/+10
| | | | and possible duplications on addition.
* Refactor and fix HTTP response filtering to touch only scripts, either ↵hackademix2018-07-171-100/+42
| | | | external or embedded inside HTML documents and sub-documents.
* Corrected case for pages with no inline scriptsRuben Rodriguez2018-05-221-1/+4
|
* Add basic time profiling to dbg_printRuben Rodriguez2018-05-111-0/+3
|
* Made less verbose when debug is offRuben Rodriguez2018-05-111-7/+7
|
* Correct hack that prevents parsing non-html documents. Still needs work.Ruben Rodriguez2018-05-111-4/+6
|
* Do not process non-javascript scripts (json, templates, etc)Ruben Rodriguez2018-05-111-16/+14
|
* Check global license and add to popup. Prevent parsing inline scripts if ↵Ruben Rodriguez2018-05-111-1/+5
| | | | there is a global license.
* Refactor whitelisting at read_script()Ruben Rodriguez2018-05-111-7/+1
|
* Correct tab and badge initialization to prevent race conditionsRuben Rodriguez2018-05-111-10/+9
|