搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Where is the registry entry for Tools->Advanced->General-> Browsing -> Use Hardware Acceleration When Possible

  • 6 个回答
  • 1 人有此问题
  • 45 次查看
  • 最后回复者为 ITGirl

more options

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

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

由ITGirl于修改

被采纳的解决方案

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%

定位到答案原位置 👍 0

所有回复 (6)

more options

Enable/Disable this feature in Firefox Options..

more 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.

more options

Don't know about that.. will ask a senior contributor to help you in this matter..

more options

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

more options

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)

more options

选择的解决方案

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%

由ITGirl于修改