[tbb-bugs] #13378 [Tor Browser]: Addon icons get added/reordered in the toolbar

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Oct 10 21:05:56 UTC 2014

#13378: Addon icons get added/reordered in the toolbar
     Reporter:           |      Owner:  tbb-team
  mikeperry              |     Status:  new
         Type:  defect   |  Milestone:
     Priority:  normal   |    Version:
    Component:  Tor      |   Keywords:  tbb-usability, TorBrowserTeam201410
  Browser                |  Parent ID:
   Resolution:           |
Actual Points:           |
       Points:           |

Comment (by mikeperry):

 This might be as simple as setting browser.uiCustomization.autoAdd to
 false, though that may have side effects for other user-installed addons.

 Another workaround might be to call CustomizableUI.reset() or manually
 clear the browser.uiCustomization.state pref and then call
 CustomizableUI.loadSavedState(). The Tor Launcher Wizard UI or the code in
 torbutton_init() that sets "inserted_button" might be good places to do
 such a workaround.

 Access to CustomizableUI is obtained via something like:
 const { CustomizableUI } =
 Cu.import('resource:///modules/CustomizableUI.jsm', {});

 Though it may already be available in the browser.xul scope in Torbutton's

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13378#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online

More information about the tbb-bugs mailing list