Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

Is there an extension that will let me toggle about:config preferences based on the current page?

  • 4 απαντήσεις
  • 1 έχει αυτό το πρόβλημα
  • 147 προβολές
  • Τελευταία απάντηση από j3rk

more options

I am trying to find a way to toggle webgl.disabled in my about:config depending on the URL of the current page. I'd like it to be true for some sites, but false for the majority of the web. Can anyone suggest an extension that can do something like this?

Thanks

I am trying to find a way to toggle webgl.disabled in my about:config depending on the URL of the current page. I'd like it to be true for some sites, but false for the majority of the web. Can anyone suggest an extension that can do something like this? Thanks

Επιλεγμένη λύση

That's unfortunate. I guess I'll just stick to keeping it off everywhere and toggling it on when needed, or more likely just use some other browser for the sites that do want/need WebGL.

Ανάγνωση απάντησης σε πλαίσιο 👍 0

Όλες οι απαντήσεις (4)

more options

That is not easily possible because WebExtensions do not have access to the about:config page. They only support a large range of APIs. You would have to do this via the about:config page There are possibilities to bind JavaScript code to a toolbar button that currently doesn't have a binding.

Possible code for the Browser Console:

pn = "webgl.disabled";
cv = Services.prefs.getBoolPref(pn);
Services.prefs.setBoolPref(pn, cv == false ? true : false);
console.log(pn, Services.prefs.getBoolPref(pn));

Note that you can use cursor UP to recall previously entered commands.

more options

Επιλεγμένη λύση

That's unfortunate. I guess I'll just stick to keeping it off everywhere and toggling it on when needed, or more likely just use some other browser for the sites that do want/need WebGL.

more options

What is against having WebGL enabled?

more options

Google Maps loads lower resolution satellite imagery when WebGL is enabled. If you disable it, the maps are clearer and it runs significantly faster, especially on my work computer with a terrible graphics card. The only advantage WebGL seems to have is that it's "smoother" but I don't really care for smooth. For similar reasons, I disable "smooth scrolling" in Firefox.

Τροποποιήθηκε στις από το χρήστη j3rk