Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requests on mousedown aren’t made in Firefox #435

Closed
8 tasks done
dieulot opened this issue Feb 21, 2019 · 5 comments
Closed
8 tasks done

Requests on mousedown aren’t made in Firefox #435

dieulot opened this issue Feb 21, 2019 · 5 comments
Labels
invalid not a uBlock issue

Comments

@dieulot
Copy link

dieulot commented Feb 21, 2019

Prerequisites

  • I verified that this is not a filter issue
  • This is not a support issue or a question
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
    • Your issue may already be reported.
  • I tried to reproduce the issue when...
    • uBlock Origin is the only extension
    • uBlock Origin with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uBlock Origin
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

instant.page allows to preload pages on mouseover, but the requests aren’t made on Firefox when hovering over links.

It works normally in Chrome.

A specific URL where the issue occurs

https://instant.page/

Steps to Reproduce

  1. Go to https://instant.page/ with uBlock Origin
  2. Open DevTools and its network tab
  3. Hover over items in the menu (at the bottom of the site, or on the right for large displays)
  4. See that no requests are made. If uBlock Origin is removed these requests are made

Expected behavior:

No requests are made.

Actual behavior:

Requests are made.

Your environment

  • uBlock Origin version: 1.18.4
  • Browser Name and version: Firefox 65.0.1 (64 bits)
  • Operating System and version: Windows 10
@uBlock-user uBlock-user added Firefox specific to Firefox bug Something isn't working labels Feb 21, 2019
@uBlock-user
Copy link
Contributor

Happens with other content blocking extensions like uMatrix too..

@gorhill
Copy link
Member

gorhill commented Feb 21, 2019

This happens because of the setting "Disable pre-fetching". This works fine when disabling this setting.

It works with Chromium regardless of the setting because with Chromium web sites have higher priority than a user's own setting.

@gorhill gorhill closed this as completed Feb 21, 2019
@gorhill gorhill added invalid not a uBlock issue and removed Firefox specific to Firefox bug Something isn't working labels Feb 21, 2019
@dieulot
Copy link
Author

dieulot commented Feb 21, 2019

Thanks for the info. Would it make sense (and would it be possible) to allow prefetching on the same origin? I believe there’s no privacy implication to this.

@gorhill
Copy link
Member

gorhill commented Feb 21, 2019

uBO just toggles a Firefox setting, Firefox does the work internally to enforce that setting, so if you want this behavior you have to open an issue with Firefox.

@dieulot
Copy link
Author

dieulot commented Sep 27, 2019

From someone working on Chrome:

Browsers are increasingly moving to a secure caching model similar to Safari's called double-keyed caching. This is going to break cross-origin prefetch

If cross-origin prefetch ends up not working anymore, would you re-enable prefetching in uBlock Origin by default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid not a uBlock issue
Projects
None yet
Development

No branches or pull requests

3 participants