[Résolu] désactiver "Aller à l'onglet" Bonsoir Moi aussi, j'avais cherché cette fonction, dont je n'avais jamais prêté attention (inutile à mon avis, j'ai jamais 50 onglets d'ouverts..mais me dérange pas. Sans oublier TMP avec le survol des onglets. )
Miscellaneous This page contains small, self-explanatory code snippets. Output Saving the current web page to a local file Although the following code does not prompt the user for a filename, you can do so using the file picker component.
Downloading files Components.utils.import("resource://gre/modules/PrivateBrowsingUtils.jsm"); const WebBrowserPersist = Components.Constructor("@mozilla.org/embedding/browser/nsWebBrowserPersist;1", "nsIWebBrowserPersist"); var persist = WebBrowserPersist(); var targetFile = Services.dirsvc.get("Desk", Ci.nsIFile); targetFile.append("file.bin");var privacy = PrivateBrowsingUtils.privacyContextFromWindow(urlSourceWindow); persist.persistFlags = persist.PERSIST_FLAGS_FROM_CACHE | persist.PERSIST_FLAGS_REPLACE_EXISTING_FILES; persist.saveURI(uriToSave, null, null, null, "", targetFile, privacy); If you don't need detailed progress information, you might be happier with nsIDownloader. Downloading Binary Files with a Progress Listener To download a binary file with custom progress listener: Downloading Files
Broken Firefox add-on update current community your communities Sign up or log in to customize your list.
Bug 378216 – Disable insecure extension updates by default
Add-on Versioning Add-ons should specify their versions using the Toolkit version format. As a rough overview this is a version string split by periods, some examples: 2.0 1.0b1 3.0pre1 126.96.36.199 Note: Before Firefox 1.5 the more basic Firefox Version Format was used: major.minor.release.build[+] where only digits were allowed. The toolkit version format supports the Firefox version format but allows greater flexibility. Extension Versioning, Update and Compatibility - MDC
Please don't edit this page directly, either add comments to the discussion page or to the threads in the newsgroup or forums. See also the original newsgroup thread where extension authors discuss the potential impact to the addon community. Overview This specification discusses changes to the Toolkit Extension Manager in Gecko 1.9 with the aim of improving the security of automated add-on updates. Extension Manager:Addon Update Security
[Résolu] Soucis pour publier la mise à jour de mon extension
Gosh, Ed, I'm sorry to hear this is giving you problems. Here's all you need to do: 1) Open McCoy and highlight the RSA entry you created when you installed the program.2) Using McCoy, click on the "Install" button and locate your theme's install.rdf file. This inserts the updateKey.3) Package your theme into a .jar file, calculate a hash, and place the updateHash entry inside the update.rdf file you will be using on your site. (See below for additional info on how to calculate the hash.)4) Using McCoy, click on the "Sign" button and locate the update.rdf file. McCoy - a cryptographic tool for secure add-on updates