Commit Graph

8689 Commits

Author SHA1 Message Date
Raymond Hill 5e5bc24f63
Alphabetical order 2021-03-13 09:05:54 -05:00
Raymond Hill f876b68171
Add support for removal of response headers
The syntax to remove response header is a special case
of HTML filtering, whereas the response headers are
targeted, rather than the response body:

  example.com##^responseheader(header-name)

Where `header-name` is the name of the header to
remove, and must always be lowercase.

The removal of response headers can only be applied to
document resources, i.e. main- or sub-frames.

Only a limited set of headers can be targeted for
removal:

  location
  refresh
  report-to
  set-cookie

This limitation is to ensure that uBO never lowers the
security profile of web pages, i.e. we wouldn't want to
remove `content-security-policy`.

Given that the header removal occurs at onHeaderReceived
time, this new ability works for all browsers.

The motivation for this new filtering ability is instance
of website using a `refresh` header to redirect a visitor
to an undesirable destination after a few seconds.
2021-03-13 08:53:34 -05:00
Raymond Hill af980c5c06
Disable unfinished widget from stable release 2021-03-10 08:17:31 -05:00
Raymond Hill ed318a57ea
Import translation work from https://crowdin.com/project/ublock 2021-03-10 08:06:38 -05:00
Raymond Hill a40c51ea53
New revision for stable release 2021-03-10 08:03:04 -05:00
Raymond Hill 4320e9c28b
Removing Fanboy Enhanced Tracking
Too likely to cause breakage. It was originally added without
having been really evaluated. As per feedback, it's too likely
to cause breakage.

The list is seemingly used to evaluate filters, which are moved
to EasyPrivacy once they are deemed valid and useful.
2021-03-06 10:25:36 -05:00
Raymond Hill f3f6f00e51
Make Firefox dev build auto-update 2021-03-06 09:05:27 -05:00
Raymond Hill 85a9e3df53
New revision for release candidate 2021-03-06 08:24:23 -05:00
Raymond Hill a01c03e11a
Fix no-scripting switch not working for SVG-based documents
Issue spotted while trying the following page:
- https://www.xul.fr/svgtetris.svg
2021-03-06 08:18:46 -05:00
Raymond Hill 8985cff2a8
Make Firefox dev build auto-update 2021-03-05 06:21:08 -05:00
Raymond Hill 0644f4102f
New revision for release candidate 2021-03-05 06:13:09 -05:00
Raymond Hill 4e324377b9
Import translation work from https://crowdin.com/project/ublock 2021-03-04 14:34:18 -05:00
Raymond Hill 9f063c717b
Also CSS-escape tag name in element picker
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1519
2021-03-04 06:19:44 -05:00
Raymond Hill eba8379192
Make Firefox dev build auto-update 2021-03-03 11:05:48 -05:00
Raymond Hill fa96a3c622
Import translation work from https://crowdin.com/project/ublock 2021-03-03 10:59:07 -05:00
Raymond Hill c53fcafc2c
New revision for dev build 2021-03-03 10:56:18 -05:00
Raymond Hill 404e6252d6
Fix regression causing exceptions to be thrown
Related commit:
- 1c3b45f75d

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1513
2021-03-03 10:51:56 -05:00
Raymond Hill c80afb805e
Make Firefox dev build auto-update 2021-03-02 13:25:41 -05:00
Raymond Hill 1aef8d6f4f
Import translation work from https://crowdin.com/translate/ublock 2021-03-02 13:20:52 -05:00
Raymond Hill 21a3c9214a
New revision for dev build 2021-03-02 13:10:07 -05:00
Raymond Hill 1c3b45f75d
Expose ability to toggle on/off cname-uncloaking to all users
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1513

Prior to this commit, the ability to enable/disable the
uncloaking of canonical names was only available to advanced
users. This commit make it so that the setting can be
toggled from the _Settings_ pane.

The setting is enabled by default. The documentation should
be clear that the setting should not be disabled unless it
actually solves serious network issues, for example:

https://bugzilla.mozilla.org/show_bug.cgi?id=1694404

Also, as a result, the advanced setting `cnameUncloak` is no
longer available from within the advanced settings editor.
2021-03-02 13:00:56 -05:00
Raymond Hill 794c67c7d2
Merge branch 'master' of https://github.com/gorhill/uBlock 2021-03-02 12:27:46 -05:00
Madis Otenurm e38de2ae2f
Update issue templates to new format (#3785)
* Update issue templates

* Create config.yml

* Delete bug_report.md

* Delete ISSUE_TEMPLATE.md
2021-03-02 12:25:41 -05:00
Raymond Hill 761e8987c1
Merge branch 'master' of https://github.com/gorhill/uBlock 2021-03-02 12:23:51 -05:00
Raymond Hill ab2f5c2f6b
Update issue templates to new format (#3784)
* Update issue templates

* Create config.yml

* Delete bug_report.md

* Delete ISSUE_TEMPLATE.md

Co-authored-by: Madis Otenurm <Madis0@users.noreply.github.com>
2021-03-02 12:23:40 -05:00
Raymond Hill e6727ed87a
Make Firefox dev build auto-update 2021-02-27 07:26:23 -05:00
Raymond Hill 14399e9ca7
New revision for dev build 2021-02-27 07:10:46 -05:00
Raymond Hill 972feae05d
Drop ctrl-key requirement in "Purge all caches" operation
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/lrcwii/memory_use_in_roaming_profile_in_windows/goq6h4n/
2021-02-26 06:48:26 -05:00
Raymond Hill ac9a3014e6
Make Firefox dev build auto-update 2021-02-22 08:11:02 -05:00
Raymond Hill 8b83eb6c32
New revision for dev build 2021-02-22 08:02:08 -05:00
Raymond Hill b7a2352c6f
Do not suggest network filters with wildcarded hostname in picker
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1494
2021-02-22 07:57:23 -05:00
Raymond Hill 007a123c63
Make Firefox dev build auto-update 2021-02-22 06:41:14 -05:00
Raymond Hill 57827f8af6
New revision for dev build 2021-02-22 06:34:18 -05:00
Raymond Hill 918a073c81
Fix regression in strict blocking
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/lp6dwp/

Regression from:
- 3af1120082
2021-02-22 06:32:43 -05:00
Raymond Hill 9dcc456da3
Make Firefox dev build auto-update 2021-02-21 07:51:02 -05:00
Raymond Hill a6718a3b82
New revision for dev build 2021-02-21 07:44:11 -05:00
Raymond Hill 266a7507b8
Fix regression when initializing popup panel
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1505

Regression from:
- 435c91636f
2021-02-21 07:41:09 -05:00
Raymond Hill 2128d1cf29
Make Firefox dev build auto-update 2021-02-20 07:15:51 -05:00
Raymond Hill 3565a0511e
Update comment
DOM logger and inspector are loaded on demand.
2021-02-20 07:05:19 -05:00
Raymond Hill 40b75f1a01
New revision for dev build 2021-02-20 07:04:51 -05:00
Raymond Hill 0dfafc3bd3
Upgrade CodeMirror to 5.59.2
This should fix the following issue:
- https://www.reddit.com/r/uBlockOrigin/comments/lnfyer/

CodeMirror was detecting Windows as iOS:
- https://github.com/codemirror/CodeMirror/issues/6532
2021-02-19 13:07:34 -05:00
Raymond Hill 427eabb628
Make Firefox dev build auto-update 2021-02-19 12:36:00 -05:00
Raymond Hill 47eed89873
New revision for dev build 2021-02-19 12:33:18 -05:00
Raymond Hill dfa1b64cae
Fix regression when reverting temporary rules in popup panel
Refression from:
- 435c91636f
2021-02-19 12:32:07 -05:00
Raymond Hill 373792714a
Make Firefox dev build auto-update 2021-02-19 09:05:45 -05:00
Raymond Hill b263d4d83e
Import translation work from https://crowdin.com/translate/ublock 2021-02-19 08:57:13 -05:00
Raymond Hill 1024f60fc9
new revision for dev build 2021-02-19 08:48:16 -05:00
Raymond Hill 3af1120082
Add support for exception of `document` to bypass strict-blocking
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1501

Exception filters for `document` option are complying with
uBO's own semantic for `document` option, i.e. an exception
filter for `document` option will only allow to bypass a
block filter for `document` (either explicit or implicit)
and nothing else.

Exception filters using `document` option are *not*
compatible with ABP's interpretation of these filters.
Whereas in ABP the purpose of a `document` exception filter
is to wholly disable content blocking, in uBO the same
filter will just cause strict-blocking to be disabled while
leaving content blocking intact.

Additionally, the logger was fixed to properly report pages
which are being strict-blocked.
2021-02-19 08:38:50 -05:00
Raymond Hill 96049f147e
Reflect latest changes in comment 2021-02-19 08:38:07 -05:00
Raymond Hill eb6be3a0cf
Fix 'adsbygoogle' neutered script
As per internal feedback.

The `length` property exists if the `adsbygoogle` object
is instantiated before the `adsbygoogle.js` script has
been loaded, but is no longer present once the
`adsbygoogle.js` script has been loaded.
2021-02-19 08:31:58 -05:00