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

Make it possible to block prefetch, prerender, preconnect, dns-prefetch, icon #166

Closed
9 tasks done
FlorianSteenbuck opened this issue Jun 17, 2019 · 4 comments
Closed
9 tasks done
Labels
external an external factor is involved invalid Not a valid issue

Comments

@FlorianSteenbuck
Copy link

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

This is a feature request. Make it possible to block/allow:

<link rel="prefetch"/>
<link rel="prerender"/>
<link rel="preconnect"/>
<link rel="dns-prefetch"/>
<link rel="icon"/>

A specific URL where the issue occurs

Irrelevant to the issue.

Steps to Reproduce

Irrelevant to the issue.

Ruleset

Irrelevant to the issue.

Supporting evidence

Irrelevant to the issue.

@gwarser
Copy link

gwarser commented Jun 17, 2019

This is already blocked by default, as much as API allows.

https://github.com/gorhill/uMatrix/blob/3f2916ed0599ef27fced5a7d95ef2b1074b8d758/platform/chromium/vapi-background.js#L49

@gwarser gwarser closed this as completed Jun 17, 2019
@gwarser gwarser added the invalid Not a valid issue label Jun 17, 2019
@uBlock-user uBlock-user added the external an external factor is involved label Jun 27, 2019
@uBlock-user
Copy link
Contributor

Chromium - https://bugs.chromium.org/p/chromium/issues/detail?id=786038

@identicalsnowflake
Copy link

@gwarser

It's not just blocked by default, it's blocked entirely, and changing the browser settings to enable prefetching doesn't work as this extension overwrites the setting. I can't find anything in the uMatrix settings to make it stop doing this.

I think it would make sense to expose prefetching settings in the uMatrix preferences, as enabling prefetching dramatically reduces the time it takes the browser to navigate around pages.

@gorhill
Copy link
Member

gorhill commented Jul 20, 2020

dramatically reduces

Only actual profiling results are considered.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
external an external factor is involved invalid Not a valid issue
Projects
None yet
Development

No branches or pull requests

5 participants