Skip to content
This repository has been archived by the owner on Sep 19, 2020. It is now read-only.

Strict blocking does not work for "open in new tab" on mobile #243

Open
6 of 9 tasks
gwarser opened this issue Apr 7, 2020 · 2 comments
Open
6 of 9 tasks

Strict blocking does not work for "open in new tab" on mobile #243

gwarser opened this issue Apr 7, 2020 · 2 comments
Labels
bug Something isn't working Firefox Android specific to Android platform

Comments

@gwarser
Copy link

gwarser commented Apr 7, 2020

Details

Prerequisites

  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
  • This is not a support issue or a question
    • Support issues and questions are handled at /r/uMatrix
  • I tried to reproduce the issue when...
    • uMatrix is the only extension
    • uMatrix with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uMatrix
  • I checked the documentation to understand that the issue I report is not a normal behavior
  • I used the logger to rule out that the issue is caused by my ruleset

Description

https://www.reddit.com/r/uMatrix/comments/fvk1p5/root_document_rules_are_not_being_applied_to/

Using "doc block" rule: * * doc block

When I open a link via "new tab" uMatrix does not stop me from going to an unknown site. However, when I open the link by just clicking, the site does not load (the "uMatrix has prevented the following page from loading" warning appears).

From log it looks like this doc request is classified as behind-the-scene.

Toggling matrix-off: behind-the-scene to false block the request (log says so), but page is blank (and for some reason I see page preview in tabs view, but can be cached thumbnail). Reloading makes it about:blank.

Dev version of uM also opens blank page.

A specific URL where the issue occurs

https://www.theguardian.com/film/filmblog/2014/apr/10/reel-history-noah-drowning-unbiblical-detail -> http://www.screenonline.org.uk/tours/hitch/tour6.html

Steps to Reproduce

  1. add rules:

     * * doc block
     theguardian.com theguardian.com doc allow
    
  2. open https://www.theguardian.com/film/filmblog/2014/apr/10/reel-history-noah-drowning-unbiblical-detail

  3. tap&hold on hyperlink in the webpage labeled "MacGuffin" to open in new tab

Ruleset

Default plus:

* * doc block
theguardian.com theguardian.com doc allow

Supporting evidence

12:51:43	www.theguardian.com		image	https://i.guim.co.uk/img/static/sys-images/Guardian/Pix/pictures/2014/4/8/1396973538032/Noah-Tubal-Cain-Ray-Winst-008.jpg?width=445&quality=45&auto=format&fit=max&dpr=2&s=daccdb91873ac351011c48e966aaa7f2	3p
12:51:43	www.theguardian.com		image	https://i.guim.co.uk/img/static/sys-images/Guardian/Pix/pictures/2014/4/8/1396973103134/Noah-Russell-Crowe-in-Dar-013.jpg?width=465&quality=45&auto=format&fit=max&dpr=2&s=a17d3595697f9d8b78b8e0c95b2ae52a	3p
12:51:18	www.screenonline.org.uk		css	http://www.screenonline.org.uk/tours/hitch/tour6.html{inline_style}	
12:51:18	www.screenonline.org.uk		script	http://www.screenonline.org.uk/tours/hitch/tour6.html{inline_script}	
12:51:18	www.screenonline.org.uk	--	script	http://www.google-analytics.com/ga.js	3p
12:51:17	www.screenonline.org.uk		css	http://www.screenonline.org.uk/css/bfi_global.css	
12:51:17	www.screenonline.org.uk		css	http://www.screenonline.org.uk/css/backward.css	
12:51:17	behind-the-scene		doc	http://www.screenonline.org.uk/tours/hitch/tour6.html	3p

Your environment

  • uMatrix version: 1.4.0
  • Browser Name and version: Firefox 68.6.0esr
  • Operating System and version:
@uBlock-user uBlock-user added bug Something isn't working Firefox Android specific to Android platform labels Apr 7, 2020
@rjameson3

This comment has been minimized.

@gorhill

This comment has been minimized.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working Firefox Android specific to Android platform
Projects
None yet
Development

No branches or pull requests

4 participants