[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6021 [TorBirdy]: disable addons
#6021: disable addons
----------------------+-----------------------------------------------------
Reporter: proper | Owner: ioerror
Type: defect | Status: new
Priority: critical | Milestone:
Component: TorBirdy | Version:
Keywords: | Parent:
Points: | Actualpoints:
----------------------+-----------------------------------------------------
Comment(by mikeperry):
There's no example code in Torbutton for this, sadly. We disable plugins
from Torbutton, not addons. However, it does look like APIs exist for
this. You can register "changes" to take effect upon Thunderbird restart
via the AddonManager.addStartupChange() call. See
https://developer.mozilla.org/en-US/docs/Addons/Add-
on_Manager/AddonManager#addStartupChange%28%29 and
https://developer.mozilla.org/en-US/docs/Addons/Add-
on_Manager/AddonManager#Startup_change_types
You probably can then even cause a force-restart of Thunderbird to make
the changes take effect, though I'm not sure of the API for that off-hand.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6021#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs