
How can I set/unset the Tools-Options-Tabs checkboxes using Javascript
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)
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: