1
# CookieKeeper - a Mozilla add-on
2
# (c) 2013-2016 Yvon TANGUY
4
# ***** BEGIN LICENSE BLOCK **********************************************
6
# This Source Code Form is subject to the terms of the Mozilla Public
7
# License, v. 2.0. If a copy of the MPL was not distributed with this
8
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
# ***** END LICENSE BLOCK **********************************************
13
# It's the only way I found to perform the shutdown() code of CookieKeeper.
14
# This solution is obviously weird/bad/dirty/[add your word here]
15
# The CookieKeeper javascript code listen for a change of the preference
16
# "cookiekeeper.kmeleon.exit". When toggled, the shutdown part is executed.
20
togglepref(BOOL, "cookiekeeper.kmeleon.exit", true);
23
$OnQuit=$OnQuit."runShutdown;";