Where is the registry entry for Tools->Advanced->General-> Browsing -> Use Hardware Acceleration When Possible
Anyone know if this can be enabled/disabled in the registry and where it would be located?
Tools->Advanced->General-> Browsing -> Use Hardware Acceleration When Possible
Geändert am
Ausgewählte Lösung
So in order to change the preference via a script I found the information that needed to be modified in "about:config", 'thanks cor-el', then ran it in a batch file as follows
Example A - this is run once and appended on to the current file prefs.js, but perhaps this can be left alone.
cd /D "%APPDATA%\Mozilla\Firefox\Profiles\*.default"
set ffile=%cd%
echo user_pref("layers.acceleration.disabled", true);>>"%ffile%\prefs.js"
set ffile=
cd %windir%
Example B - This is run and creates a new file called user.js or appends to the existing one. This file has higher priority to prefs.js
cd /D "%APPDATA%\Mozilla\Firefox\Profiles\*.default"
set ffile=%cd%
echo user_pref("layers.acceleration.disabled", true);>>"%ffile%\user.js"
set ffile=
cd %windir%
Example C - this one overwrites user.js each time, by changing the number of '>' it changes from append to overwrite.
cd /D "%APPDATA%\Mozilla\Firefox\Profiles\*.default"
set ffile=%cd%
echo user_pref("layers.acceleration.disabled", true);>"%ffile%\user.js"
set ffile=
cd %windir%
Diese Antwort im Kontext lesen 👍 0Alle Antworten (6)
Enable/Disable this feature in Firefox Options..
I know you can do it there but is there a way to modify it in the registry?
That way it can be run as a script instead.
Don't know about that.. will ask a senior contributor to help you in this matter..
Firefox doesn't use the registry to store such settings, but stores such setting in prefs.js.
The hardware acceleration checkbox controls this pref: layers.acceleration.disabled
Not sure how relevant this is but also note that Flash Player often will try to utilise hardware acceleration, and will give you options for turning this on or off from its own interface. AFAIK flashplayer stores the settings in LSOs (Locally Stored Objects - also known as Flash Cookies)
Ausgewählte Lösung
So in order to change the preference via a script I found the information that needed to be modified in "about:config", 'thanks cor-el', then ran it in a batch file as follows
Example A - this is run once and appended on to the current file prefs.js, but perhaps this can be left alone.
cd /D "%APPDATA%\Mozilla\Firefox\Profiles\*.default"
set ffile=%cd%
echo user_pref("layers.acceleration.disabled", true);>>"%ffile%\prefs.js"
set ffile=
cd %windir%
Example B - This is run and creates a new file called user.js or appends to the existing one. This file has higher priority to prefs.js
cd /D "%APPDATA%\Mozilla\Firefox\Profiles\*.default"
set ffile=%cd%
echo user_pref("layers.acceleration.disabled", true);>>"%ffile%\user.js"
set ffile=
cd %windir%
Example C - this one overwrites user.js each time, by changing the number of '>' it changes from append to overwrite.
cd /D "%APPDATA%\Mozilla\Firefox\Profiles\*.default"
set ffile=%cd%
echo user_pref("layers.acceleration.disabled", true);>"%ffile%\user.js"
set ffile=
cd %windir%
Geändert am