Search completed in 1.70 seconds.
Appendix B: Install and Uninstall Scripts - Archive of obsolete content
a few others require cleanup code to be run after the add-on is
uninstalled.
...
uninstall scripts there are two common cases for needing these: cleaning up local data and presenting an
uninstall feedback form.
...if an add-on is
uninstalled and later installed again, it might be desirable for preferences and other settings to be kept.
...And 5 more matches
Enhanced Extension Installation - Archive of obsolete content
there is no clean
uninstall procedure, as the -install-global-extension flag was designed only as a means to install items for all user profiles, not as a means for third party installers to register their components.
... the system for installation, upgrade and
uninstall is not robust enough.
...there are not enough guards in the upgrade and
uninstall process to handle failure and abort the operation, restoring the previous state.
...And 16 more matches
Bootstrapped extensions - Archive of obsolete content
this is done using a special script file that's included in the extension that contains functions the browser calls to command the extension to install,
uninstall, start up, and shut down.
... some examples of when the shutdown() function may be called: when the extension is
uninstalled, if it's currently enabled.
...this will be one of app_shutdown, addon_disable, addon_
uninstall, addon_upgrade, or addon_downgrade.
...And 11 more matches
Search Extension Tutorial (Draft) - Archive of obsolete content
the most technically sound method of achieving this, and the only acceptable way of changing preferences such that they are automatically restored on add-on
uninstall, is to make such changes in the default preference branch, as explained below.
... for (let [name, [origvalue, value]] in iterator(savedprefs)) { if (defaultprefs.getcharpref(name) == value) defaultprefs.setcharpref(name, origvalue); } } function install() {} function
uninstall() {} changing the default search engine this change comes in two parts: 1) installing a new search engine (and removing it when your extension is disabled), and 2) setting it as a default (and restoring the previous default when your extension is
uninstalled).
...note: example
uninstall code is only provided for restartless extensions.
...And 8 more matches
Addon
overview of required methods void iscompatiblewith(in string appversion, in string platformversion) void findupdates(in updatelistener listener, in integer reason, in string appversion, in string platformversion) overview of optional methods void
uninstall() void cancel
uninstall() boolean hasresource(in string path) nsiuri getresourceuri(in string path) void getdatadirectory(in datadirectorycallback callback) required properties attribute type description appdisabled read only boolean true if this add-on cannot be used in the application based on version compatibility, depe...
...operations my be restricted based on system policies (e.g., the system administrator may not allow certain add-ons to be
uninstalled), add-on type (e.g., themes may not be disabled), or add-on state (e.g., an incompatible add-on cannot be enabled).
... void findupdates( in updatelistener listener, in integer reason, in string appversion, in string platformversion ) parameters listener an updatelistener for the update process reason a reason code for performing the update appversion an application version to check for updates for platformversion a platform version to check for updates for optional methods
uninstall()
uninstalls this add-on.
...And 5 more matches
AddonManager
pending_
uninstall this add-on will be
uninstalled after the application restarts.
... permissions constant description perm_can_
uninstall this add-on can be
uninstalled.
... op_needs_restart_
uninstall uninstalling the add-on will require a restart.
...And 2 more matches
Using XPInstall to Install Plugins - Archive of obsolete content
and what about
uninstalling plugins?
... the
uninstall problem in its current iteration, xpinstall does not have an affiliated
uninstall technology.
... it can therefore only be used to install files or deliver native code installers to the client, and if
uninstall is a legitimate concern, it might be wise to write a native code (exe)
uninstaller to remove the software.
... xpinstall can therefore be the "agent of delivery" to streamline the download of the exe software, but ultimately, the logic of installation and
uninstallation will be handled by exe, which can then create files and registry entries and also clean up after itself upon removal.
AddonListener
method overview void onenabling(in addon addon, in boolean needsrestart) void onenabled(in addon addon) void ondisabling(in addon addon, in boolean needsrestart) void ondisabled(in addon addon) void oninstalling(in addon addon, in boolean needsrestart) void oninstalled(in addon addon) void on
uninstalling(in addon addon, in boolean needsrestart) void on
uninstalled(in addon addon) void onoperationcancelled(in addon addon) void onpropertychanged(in addon addon, in string properties[]) methods onenabling() called when an add-on is about to be enabled.
... void oninstalled( in addon addon, ) parameters addon the addon that has been installed on
uninstalling() called when an add-on is about to be
uninstalled.
... void on
uninstalling( in addon addon, in boolean needsrestart ) parameters addon the addon that is being
uninstalled needsrestart true if an application restart is necessary for the change to take effect on
uninstalled() called when an add-on has been
uninstalled.
... void on
uninstalled( in addon addon, ) parameters addon the addon that has been
uninstalled onoperationcancelled() called when a pending operation for an add-on is cancelled.
Deploying a Plugin as an Extension - Archive of obsolete content
the downside to this method is that once the plugin is installed, it might be difficult for users to upgrade,
uninstall, or disable the plugin.
...this allows the plugin to be treated like other firefox extensions; it can be upgraded, disabled, or
uninstalled using the firefox user interface.
...because it is an extension, we can disable/enable it, as well as
uninstall it.
How to convert an overlay extension to restartless - Archive of obsolete content
a file:// uri to the install location, or .xpi file, is available in installpath property of the bootstrap data structure passed to the startup(), shutdown(), install(), and
uninstall() functions in what will be your bootstrap.js file (see below).
...components.utils.unload("chrome://myaddon/content/mymodule.jsm"); // same url as above // hack warning: the addon manager does not properly clear all addon related caches on update; // in order to fully update images and locales, their caches need clearing here services.obs.notifyobservers(null, "chrome-flush-caches", null); } function install(data,reason) { } function
uninstall(data,reason) { } function loadintowindow(window) { /* call/move your ui construction function here */ } function unloadfromwindow(window) { /* call/move your ui tear down function here */ } function foreachopenwindow(todo) // apply a function to all open browser windows { var windows = services.wm.getenumerator("navigator:browser"); while (windows.hasmoreelements()) todo(windows.
...while your new add-on may not need a restart to install, if you're updating from an old version that is not restartless then it will need a restart to
uninstall that first.
Local Storage - Archive of obsolete content
finally, there's the issue of deleting local files when the extension is going to be
uninstalled.
...this is the default behavior when firefox is
uninstalled: the profile information remains intact and it will be there waiting for you if firefox is installed again.
...the fuel library has an
uninstall event you can use to perform these operations.
SeaMonkey - making custom toolbar (SM ver. 1.x) - Archive of obsolete content
uninstalling the button if you ever want to
uninstall the button, delete the files chrome.rdf and overlays.rdf again, just as you did in step 2.
...if necessary,
uninstall the button and start again, this time without making any changes to the files.
... (for instructions, see the section
uninstalling the button, above.) 6.
Custom toolbar button - Archive of obsolete content
uninstalling the button if you ever want to
uninstall the button, delete the directory that you created in step 2.
... alternatively, use the application's extensions window to
uninstall the extension in the normal way.
... if necessary,
uninstall the button and start again, this time without making any changes to the files.
Extentsions FAQ - Archive of obsolete content
when user chooses to
uninstall an extension, a nsiobserverservice notification is sent out.
... the problem is, while your extension is still active, user can cancel
uninstallation, and when it is physically
uninstalled, your code can't run.
...and if you
uninstall firefox, the profile data is left behind.
Code Samples
"yes!" : "no"); alert("let's pretend i did, it's available from the url " + addon.getresourceuri("file.txt").spec); });
uninstall an add-on components.utils.import("resource://gre/modules/addonmanager.jsm"); addonmanager.getaddonbyid("youraddon@youraddon.com", function(addon) { addon.
uninstall(); }); disable an add-on components.utils.import("resource://gre/modules/addonmanager.jsm"); addonmanager.getaddonbyid("youraddon@youraddon.com", function(addon) { if (addon.isactive) addon.userdisabled = addon.isactive; });...
... listening for add-on
uninstall this example sets a variable being
uninstalled that you can check when you get a profile-before-change message to do cleanup for your add-on on
uninstall.
... var being
uninstalled; let listener = { on
uninstalling: function(addon) { if (addon.id == "youraddon@youraddon.com") { being
uninstalled = true; } }, onoperationcancelled: function(addon) { if (addon.id == "youraddon@youraddon.com") { being
uninstalled = (addon.pendingoperations & addonmanager.pending_
uninstall) != 0; } } } try { components.utils.import("resource://gre/modules/addonmanager.jsm"); addonmanager.addaddonlistener(listener); } catch (ex) {} ...
nsIWinAppHelper
this updates the
uninstallation log so that the application can be
uninstalled correctly after an update.
... void postupdate( in nsilocalfile logfile ); parameters logfile the file to use for the
uninstallation log.
... the path is passed to helper.exe as the /
uninstalllog parameter.
system/unload - Archive of obsolete content
it is called with a single argument, one of the following strings describing the reason for unload: "
uninstall", "disable", "shutdown", "upgrade", or "downgrade".
...note that if an add-on is unloaded with reason "disable", it will not be notified about "
uninstall" while it is disabled.
Listening for Load and Unload - Archive of obsolete content
exports.onunload = function (reason) {}; reason reason is one of the following strings describing the reason your add-on was unloaded:
uninstall disable shutdown upgrade downgrade if your add-on is disabled, then
uninstalled, your onunload listener will only be called once, with the disable reason.
... this happens because disabling an add-on also disables its onunload listeners, so there is no listener remaining when the add-on is
uninstalled.
Index - Archive of obsolete content
273 appendix b: install and
uninstall scripts no summary!
...it provides mechanisms for installing, upgrading, and
uninstalling these applications.
XULRunner 1.8.0.1 Release Notes - Archive of obsolete content
uninstalling xulrunner windows/linux from a command prompt, run xulrunner --unregister-global or xulrunner --unregister-user to unregister xulrunner just as you registered it during installation.
... mac os x if you have multiple versions of xulrunner installed on mac os x, it is not possible to
uninstall only one version.
XULRunner 1.8.0.4 Release Notes - Archive of obsolete content
uninstalling xulrunner linux from a command prompt, run xulrunner --unregister-global or xulrunner --unregister-user to unregister xulrunner just as you registered it during installation.
... mac os x if you have multiple versions of xulrunner installed on mac os x, it is not possible to
uninstall only one version.
XULRunner 1.9.1 Release Notes - Archive of obsolete content
uninstalling xulrunner linux from a command prompt, run xulrunner --unregister-global or xulrunner --unregister-user to unregister xulrunner just as you registered it during installation.
... mac os x if you have multiple versions of xulrunner installed on mac os x, it is not possible to
uninstall only one version.
XULRunner 1.9.2 Release Notes - Archive of obsolete content
uninstalling xulrunner linux from a command prompt, run xulrunner --unregister-global or xulrunner --unregister-user to unregister xulrunner just as you registered it during installation.
... mac os x if you have multiple versions of xulrunner installed on mac os x, it is not possible to
uninstall only one version.
XULRunner 1.9 Release Notes - Archive of obsolete content
uninstalling xulrunner linux from a command prompt, run xulrunner --unregister-global or xulrunner --unregister-user to unregister xulrunner just as you registered it during installation.
... mac os x if you have multiple versions of xulrunner installed on mac os x, it is not possible to
uninstall only one version.
XULRunner 2.0 Release Notes - Archive of obsolete content
uninstalling xulrunner linux from a command prompt, run xulrunner --unregister-global or xulrunner --unregister-user to unregister xulrunner just as you registered it during installation.
... mac os x if you have multiple versions of xulrunner installed on mac os x, it is not possible to
uninstall only one version.
bootstrap.js - Extensions
/// addon_install /// addon_upgrade /// addon_downgrade } function shutdown(data, reason) { /// bootstrap data structure @see /docs/extensions/bootstrapped_extensions#bootstrap_data /// string id /// string version /// nsifile installpath /// nsiuri resourceuri /// /// reason types: /// app_shutdown /// addon_disable /// addon_
uninstall /// addon_upgrade /// addon_downgrade } function install(data, reason) { /// bootstrap data structure @see /docs/extensions/bootstrapped_extensions#bootstrap_data /// string id /// string version /// nsifile installpath /// nsiuri resourceuri /// /// reason types: /// addon_install /// addon_upgrade /// addon_downgrade } function ...
...
uninstall(data, reason) { /// bootstrap data structure @see /docs/extensions/bootstrapped_extensions#bootstrap_data /// string id /// string version /// nsifile installpath /// nsiuri resourceuri /// /// reason types: /// addon_
uninstall /// addon_upgrade /// addon_downgrade } ...
McCoy
uninstalling mccoy to
uninstall mccoy simply delete the applications files.
... the cryptographic keys and other mccoy data are kept in a profile folder separate from the application so you can
uninstall and reinstall without losing your precious keys.
Chapter 1: Introduction to Extensions - Archive of obsolete content
the add-ons manager handles the following tasks: safely installs and
uninstalls add-ons makes sure add-ons are compatible with the version of firefox you're using manages a whitelist of sites trusted for installing add-ons helps troubleshoot add-ons by disabling them and offering a safe mode confirms and runs updates provides access to add-ons' settings dialogs provides access to add-ons' support sites development environment amenities initially, there wasn't adequ...
XUL School Tutorial - Archive of obsolete content
and alerts intermediate functionality intercepting page loads connecting to remote content handling preferences local storage advanced topics the box model xpcom objects observer notifications custom xul elements with xbl mozilla documentation roadmap useful mozilla community sites appendices appendix a: add-on performance appendix b: install and
uninstall scripts appendix c: avoiding using eval in add-ons appendix d: loading scripts appendix e: dom building and html insertion appendix f: monitoring dom changes the xul school project was developed by appcoast (formerly glaxstar).
Index of archived content - Archive of obsolete content
license and authors xul school tutorial adding events and commands adding toolbars and toolbar buttons adding menus and submenus adding sidebars adding windows and dialogs appendix a: add-on performance appendix b: install and
uninstall scripts appendix c: avoiding using eval in add-ons appendix d: loading scripts appendix e: dom building and insertion (html & xul) appendix f: monitoring dom changes connecting to remote content custom xul elements with xbl getting started with firefox extensions handling preferences ...
Getting Started - Archive of obsolete content
you can use the same version as the one you use to browse the web, but if you mess it up, it is possible that you will be unable to access your browser without
uninstalling and reinstalling mozilla.
Creating a Windows Inno Setup installer for XULRunner applications - Archive of obsolete content
vn; destdir: {app}\defaults; components: main; flags: ignoreversion recursesubdirs createallsubdirs source: c:\develop\xulrunnerinstaller\myapp\xulrunner\*; destdir: {app}\xulrunner; components: runtime; flags: ignoreversion recursesubdirs createallsubdirs ; note: don't use "flags: ignoreversion" on any shared system files [icons] name: {group}\my app; filename: {app}\myapp.exe name: {group}\{cm:
uninstallprogram,xul explorer}; filename: {
uninstallexe} name: {userdesktop}\my app; filename: {app}\myapp.exe; tasks: desktopicon name: {userappdata}\microsoft\internet explorer\quick launch\my app; filename: {app}\myapp.exe; tasks: quicklaunchicon [run] filename: {app}\myapp.exe; description: {cm:launchprogram,my app}; onlybelowversion: 0,6; flags: nowait postinstall skipifsilent step 4: building an ...
What XULRunner Provides - Archive of obsolete content
find toolbar history implementation (the places implementation in the 1.9 cycle) accessibility support ipc services for communication between gecko-based apps (not yet complete) storage/sqlite interfaces user interface features the following user interface is supplied by xulrunner, and may be overridden by embedders under certain circumstances: apis and user interface for installing,
uninstalling, and upgrading xul applications.
Plugins - Archive of obsolete content
shipping a plugin as a toolkit bundle plugins can be shipped as a toolkit bundle, allowing a user to easily install,
uninstall and manage their personal plugins.
Package management basics - Learn web development
in theory you may not need a package manager and you could manually download and store your project dependencies, but a package manager will seamlessly handle installing and
uninstalling packages.
Creating a spell check dictionary add-on
this page describes how to package a hunspell spell check dictionary as a firefox add-on, or how to update your existing add-on, so that it can be installed,
uninstalled and updated without a restart.
Obsolete Build Caveats and Tips
unsupported sdks the windows sdk for windows server 2008 is not supported, and has been found to cause the following problems: breaks the vcvars32.bat file from visual studio 2008 no longer sets the correct path for the .net framework causes an invalid path which breaks the mozilla build if you have the windows server 2008 sdk installed,
uninstall it.
Frame script loading and lifetime
var gcontentframemessagemanager = this; addeventlistener('unload', function(aevent) { if (aevent.target == gcontentframemessagemanager) { sendasyncmessage('my-addon-id', 'framescript-died'); // if you did not set third argument of `services.mm.addmessagelistener` to `true`, then this will fail to send a message } }, false); note about unload during
uninstallation/upgrade when your add-on is
uninstalled, or disabled, you should: cancel it, if you have used allowdelayedload, by calling removedelayedframescript; ensuring the frame script is not loaded into any new tabs.
Webapps.jsm
issigned, aislocalfileinstall) _saveetag: function(aisupdate, aoldapp, arequestchannel, ahash, amanifest) _checkorigin: function(aissigned, aoldapp, amanifest, aisupdate) _getids: function(aissigned, azipreader, aconverter, anewapp, aoldapp,) _checkforstoreidmatch: function(aisupdate, anewapp, astoreid, astoreversion) revertdownloadpackage: function(aid, aoldapp, anewapp, aisupdate, aerror)
uninstall: function(amanifesturl) _promptfor
uninstall: function(adata) confirm
uninstall: function(adata) deny
uninstall: function(adata, areason = "error_unknown_failure") getself: function(adata, amm) checkinstalled: function(adata, amm) getinstalled: function(adata, amm) getnotinstalled: function(adata, amm) geticon: function(adata, amm) getall: function(acallback) isreceipt: function(data) add...
JavaScript code modules
standard code modules addonmanager.jsm an interface to install, manage, and
uninstall add-ons.
Profile Manager
future enhancements ability to install/
uninstall/enable/disable extensions in profiles.
extIExtension
supports: "
uninstall" methods fixme: see also see extapplication.js line:395 for the implementation of firstrun.
XPCOM changes in Gecko 2.0
this gets enough of xpcom loaded and running that we can then load the extension manager and perform the necessary installing,
uninstalling, and updating of any installed extensions.
Receiving startup notifications
this gets enough of xpcom and the application loaded and running that the extension manager can then be loaded and handle installing,
uninstalling, and updating any installed extensions.
nsIFrameScriptLoader
if you used aallowdelayedload, you should call this as part of your cleanup (for example, when your add-on is disabled or
uninstalled).
nsIJumpListBuilder
common uses would be the enabling of a privacy mode and
uninstallation.
nsIProcessScriptLoader
if you used aallowdelayedload, you should call this as part of your cleanup (for example, when your add-on is disabled or
uninstalled).
Using MAPI with Thunderbird's Windows 7 developer builds
(be sure to copy - not move - these files.) in the
uninstall sub-directory of the bin directory, run these two commands: helper.exe /setasdefaultappglobal helper.exe /setasdefaultappuser create an elevated shell and register the mapi proxy.dll as a com server.
Zombie compartments
restartless add-ons should also take special care that all their compartments get destroyed after disabling or
uninstalling the add-on.
Mozilla
creating a spell check dictionary add-on this page describes how to package a hunspell spell check dictionary as a firefox add-on, or how to update your existing add-on, so that it can be installed,
uninstalled and updated without a restart.
RTCRtpReceiver.getCapabilities() static function - Web APIs
because the set of capabilities available tend to be stable for a length of time (people don't install and
uninstall codecs and the like very often), the media capabilities can in whole or in part provide a cross-origin method for identifying a user.
RTCRtpSender.getCapabilities() static function - Web APIs
because the set of capabilities available tend to be stable for a length of time (people don't install and
uninstall codecs and the like very often), the media capabilities can in whole or in part provide a cross-origin method for identifying a user.
SpeechSynthesis.onvoiceschanged - Web APIs
he speechsynthesis interface represents an event handler that will run when the list of speechsynthesisvoice objects that would be returned by the speechsynthesis.getvoices() method has changed (when the voiceschanged event fires.) this may occur when speech synthesis is being done on the server-side and the voices list is being determined asynchronously, or when client-side voices are installed/
uninstalled while a speech synthesis application is running.
PWA developer guide - Progressive web apps (PWAs)
<<<--- web app basics introduction and getting started with pwa development some description installing and
uninstalling web apps an introductory guide to how a web app can be installed on the user's device...