Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

How can I set/unset the Tools-Options-Tabs checkboxes using Javascript

  • 1 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

I have a need to programmatically set/unset the checkboxes (or their equivalent internal settings ) in Tools-Options-Tabs such as:

  • Open new windows in new tab instead
  • Always show the tab bar
  • When I open a link in a new tab, switch to it immediately

I would prefer using Javascript to do this.

An example or pointer to one would be helpful.

Regards, Jim

I have a need to programmatically set/unset the checkboxes (or their equivalent internal settings ) in Tools-Options-Tabs such as: * Open new windows in new tab instead * Always show the tab bar * When I open a link in a new tab, switch to it immediately I would prefer using Javascript to do this. An example or pointer to one would be helpful. Regards, Jim

所有回复 (1)

more options

You can only do that if you write an extension, because you need full chrome access to be able to change prefs. Alternatively you can run such code via the Code field in the Tools > Error Console.

See also: