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

svg.disabled = 'true' (default in Tor Browser) hides the the UI icons #446

Closed
8 tasks done
emanruse opened this issue Mar 2, 2019 · 12 comments
Closed
8 tasks done
Labels
external issue involving an external factor Firefox specific to Firefox invalid not a uBlock issue

Comments

@emanruse
Copy link

emanruse commented Mar 2, 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
  • 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

svg.disabled is set to true in Tor Browser for increased security (more info). This causes the UI icons in the latest versions of uBO to disappear.

A specific URL where the issue occurs

Everywhere.

Steps to Reproduce

  1. Download Tor Browser
  2. Run it
  3. Install uBO
  4. Click the icon of the extension in the toolbar

Expected behavior:

UI icons should show (as in previous versions).

Actual behavior:

Icons don't show.

Your environment

  • uBlock Origin version: 1.18.4
  • Browser Name and version: 8.0.6 (based on Mozilla Firefox 60.5.1esr) (64-bit)
  • Operating System and version: openSUSE Leap 15.0
@emanruse
Copy link
Author

emanruse commented Mar 2, 2019

The same happens in uMatrix too. Please let me know if you want me to duplicate this same issue in its tracker.

@gorhill
Copy link
Member

gorhill commented Mar 2, 2019

What can be done?

@uBlock-user
Copy link
Contributor

because ubo and umatrix makes use of svg icons and you're disabling svg ?

@uBlock-user uBlock-user added something to address something to address Firefox specific to Firefox labels Mar 2, 2019
@uBlock-user
Copy link
Contributor

uBlock-user commented Mar 2, 2019

What can be done?

load png icons or of some other different type when svg is not available if you really want to facilitate this issue

@gorhill
Copy link
Member

gorhill commented Mar 2, 2019

Sure. I was really asking what can be trivially done. Maybe the spirit of svg.disabled is to really disable remote SVG images, not local ones as used in extensions.

@uBlock-user
Copy link
Contributor

uBlock-user commented Mar 2, 2019

It breaks youtube/github and elementpicker' s selector functionality looks like trivial solution won't address every breakage.

@emanruse
Copy link
Author

emanruse commented Mar 2, 2019

because ubo and umatrix makes use of svg icons and you're disabling svg ?

The guys from the Tor project seem to do it for some additional security. Check the "more info" link.

What can be done?

I don't know. Options which I can think of:

  • Perhaps the simplest thing would be: do as in previous versions :)
  • Or if SVG is so important to use - perhaps have some kind of fallback to non-SVG (if that is possible)
  • Or an option in "I am an advanced user" to use PNG (or some text symbols) instead
  • Ideally an intelligent solution would be to have separate settings for blocking remote and local SVG images. However that would mean discussing upstream with Mozilla which may be very time consuming and with unknown outcome.

@uBlock-user uBlock-user added the external issue involving an external factor label Jun 1, 2019
@emanruse
Copy link
Author

It's been quite a few months.
Any hope to have this fixed in the next release please? It is really difficult to use the extensions without UI icons.

@gorhill
Copy link
Member

gorhill commented Jun 25, 2019

I don't have a solution for this. The real solution in my opinion is for Firefox to ensure the setting does not affect extensions, the same way it does not affect its own icons in the browser UI.

@gorhill gorhill removed the something to address something to address label Jun 25, 2019
@gorhill
Copy link
Member

gorhill commented Jun 25, 2019

I consider this a browser issue, to be reported to Firefox issue tracker. Extensions extend a browser abilities, they should not be subjected to restrictions which are meant to be imposed on web pages.

@gorhill gorhill closed this as completed Jun 25, 2019
@uBlock-user uBlock-user added the invalid not a uBlock issue label Jun 25, 2019
@gorhill
Copy link
Member

gorhill commented Jul 8, 2019

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

@emanruse
Copy link
Author

emanruse commented Jul 8, 2019 via email

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

No branches or pull requests

3 participants