X
Toca aquí para ir a una versión del sitio para dispositivos móviles.

Foro de asistencia

How do I download an XPI without Firefox trying to install it?

Publicadas

Mail Redirect, a TB addon, recently switched to Sourceforge because MozDev was shutting down or something. However, attempting to download the latest XPI from Sourceforge (http://downloads.sourceforge.net/project/mailredirect/mailredirect-0.7.7-sm%2Btb.xpi?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmailredirect%2F%3Fsource%3Ddirectory&ts=1370301869&use_mirror=iweb) fails, because Firefox assumes the download is supposed to be an install of a Firefox addon, and Mail Redirect's metadata is set to be incompatible with Firefox.

There is no way to override this and force an actual download; clicking "Direct Link" on the page does the same thing, and dragging either of the links to the Downloads window (Ctrl-J) downloads an HTML document with a .XPI extension, which is obviously useless. What's more, Thunderbird has no convenient way of opening arbitrary webpages.

I finally caved and used IE to download it. It took about 30 seconds.

Mail Redirect, a TB addon, recently switched to Sourceforge because MozDev was shutting down or something. However, attempting to download the latest XPI from Sourceforge (http://downloads.sourceforge.net/project/mailredirect/mailredirect-0.7.7-sm%2Btb.xpi?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmailredirect%2F%3Fsource%3Ddirectory&ts=1370301869&use_mirror=iweb) fails, because Firefox assumes the download is supposed to be an install of a Firefox addon, and Mail Redirect's metadata is set to be incompatible with Firefox. There is no way to override this and force an actual download; clicking "Direct Link" on the page does the same thing, and dragging either of the links to the Downloads window (Ctrl-J) downloads an HTML document with a .XPI extension, which is obviously useless. What's more, Thunderbird has no convenient way of opening arbitrary webpages. I finally caved and used IE to download it. It took about 30 seconds.

Solución elegida

You will have to right-click such a link to save the file (you now have such a link above).

Alternatively you can set the Boolean pref browser.altClickSave to true on the about:config page.
Then you can hold down the Alt key and left-click a link.

Leer esta respuesta en su contexto 1

Datos adicionales del sistema

Plugins instalados

  • Shockwave Flash 11.7 r700
  • Pando Web Plugin
  • Silverlight 4.0.50826.0

Aplicación

  • Firefox 19.0.2
  • Agente de usuario: Mozilla/5.0 (Windows NT 6.2; rv:19.0) Gecko/20100101 Firefox/19.0
  • URL de asistencia: http://support.mozilla.org/1/firefox/19.0.2/WINNT/en-US/

Extensiones

  • Adblock Plus 2.2.3 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Beef Taco (Targeted Advertising Cookie Opt-Out) 1.3.7 (john@velvetcache.org)
  • BetterCache 1.29 ({f8454bbe-519f-4004-85c1-12d1b31988fc})
  • bug489729(Disable detach and tear off tab) 2.1 (bug489729@alice0775)
  • Certificate Patrol 2.0.14 (CertPatrol@PSYC.EU)
  • Console² 0.9 ({1280606b-2510-4fe0-97ef-9b5a22eafe80})
  • Ctrl-Tab 0.21.1 (ctrl-tab@design-noir.de)
  • Download Statusbar 0.9.10 ({D4DD63FA-01E4-46a7-B6B1-EDAB7D6AD389})
  • Expire history by days 1.1 (expire-history-by-days@bonardo.net)
  • Firebug 1.11.2 (firebug@software.joehewitt.com)
  • FireGestures 1.6.23 (firegestures@xuldev.org)
  • Greasefire 1.0.8 (greasefire@skrul.com)
  • Greasemonkey 1.9beta1 ({e4a8a97b-f2ed-450b-b12d-ee082ba24781})
  • KeeFox 1.2.3 (keefox@chris.tomlinson)
  • keyconfig 20110522 (keyconfig@dorando)
  • Lazarus: Form Recovery 2.3 (lazarus@interclue.com)
  • LinkVisitor 3.4.1 ({9C013B6E-46FC-11DD-B644-FC4D56D89593})
  • Load Tabs Progressively 1.6.1 (loadTabsProgressively@ithinc.cn)
  • Locationbar² 1.0.6 (locationbar2@design-noir.de)
  • MarkDown Editor 0.5.2 (markdowneditor@ondrejd.info)
  • Memory Restart 1.11 (memoryrestart@teamextension.com)
  • Menu Editor 1.2.7 ({EDA7B1D7-F793-4e03-B074-E6F303317FB0})
  • NoScript 2.6.6 ({73a6fe31-595d-460b-a920-fcc0f8843232})
  • Open link in... 1.9 ({ff81e780-5cc0-11d9-9669-0800200c9a66})
  • Personal Menu 5.1.0 (CompactMenuCE@Merci.chao)
  • Perspectives 4.3.4 (perspectives@cmu.edu)
  • QuietUrl 1.6.0.12 ({E19DF523-EFFD-48d2-95A2-883CB3BA32A4})
  • RequestPolicy 1.0.0b3 (requestpolicy@requestpolicy.com)
  • SearchLoad Options 0.7.4 (searchloadoptions@esteban.torres)
  • Session Manager 0.8.0.1 ({1280606b-2510-4fe0-97ef-9b5a22eafe30})
  • SiteDelta 0.13.2 (sitedelta@schierla.de)
  • Stylish 1.3.2 ({46551EC9-40F0-4e47-8E18-8E5CF550CFB8})
  • Tab Scope 1.1.9 (tabscope@xuldev.org)
  • TabCounter 1.0.3 (tabcounter@felipc.com)
  • TabSubmit 1.0.2.4 ({421e87b4-d3d2-49c8-b08f-b83f4dc88444})
  • Tamper Data 11.0.1 ({9c51bd27-6ed8-4000-a2bf-36cb95c0c947})
  • Troubleshooter 1.1a (troubleshooter@mozilla.org)
  • UnloadTab 0.24.2 (unloadtab@firefox.ext)
  • WOT 20130402 ({a0d7ccb3-214d-498b-b4aa-0e8fda9a7bf7})

JavaScript

  • incrementalGCEnabled: True

Gráficos

  • adapterDescription: Mobile Intel(R) 965 Express Chipset Family (Microsoft Corporation - WDDM 1.1)
  • adapterDescription2:
  • adapterDeviceID: 0x2a02
  • adapterDeviceID2:
  • adapterDrivers: igdumd32 igd10umd32
  • adapterDrivers2:
  • adapterRAM: Unknown
  • adapterRAM2:
  • adapterVendorID: 0x8086
  • adapterVendorID2:
  • clearTypeParameters: Gamma: 2200 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50
  • direct2DEnabled: False
  • direct2DEnabledMessage: [u'tryNewerDriver', u'7.15.10.1666']
  • directWriteEnabled: False
  • directWriteVersion: 6.2.9200.16433
  • driverDate: 10-1-2012
  • driverDate2:
  • driverVersion: 8.15.10.2697
  • driverVersion2:
  • info: {u'AzureCanvasBackend': u'cairo', u'AzureFallbackCanvasBackend': u'none', u'AzureContentBackend': u'none'}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: Google Inc. -- ANGLE (Mobile Intel(R) 965 Express Chipset Family (Microsoft Corporation - WDDM 1.1))
  • windowLayerManagerType: Direct3D 9

Preferencias modificadas

  • accessibility.typeaheadfind.flashBar: 0
  • browser.cache.disk.capacity: 358400
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 225280
  • browser.cache.memory.capacity: 512000
  • browser.display.background_color: #C0C0C0
  • browser.display.use_system_colors: True
  • browser.history_expire_days.mirror: 730
  • browser.history_expire_days_min: 365
  • browser.history_expire_visits: 100000
  • browser.link.open_newwindow.restriction.override: 2
  • browser.places.createdSmartBookmarks: True
  • browser.places.importBookmarksHTML: False
  • browser.places.importDefaults: False
  • browser.places.leftPaneFolderId: 1084
  • browser.places.migratePostDataAnnotations: False
  • browser.places.smartBookmarksVersion: 4
  • browser.places.updateRecentTagsUri: False
  • browser.search.openintab: True
  • browser.search.useDBForOrder: True
  • browser.sessionstore.enabled: True
  • browser.sessionstore.max_tabs_undo: 15
  • browser.startup.homepage: about:blank
  • browser.startup.homepage_override.buildID: 20130307023931
  • browser.startup.homepage_override.mstone: 19.0.2
  • browser.tabs.agePerSeconds: 5
  • browser.tabs.agingAmount2: 3
  • browser.tabs.agingTrigger: 2
  • browser.tabs.autoHide: True
  • browser.tabs.closeButtons: 2
  • browser.tabs.closeWindowWithLastTab: False
  • browser.tabs.highlightActiveTab: False
  • browser.tabs.loadFolderAndReplace: False
  • browser.tabs.warnOnOpen: False
  • browser.urlbar.hideProtocols: http: https:
  • browser.urlbar.maxRichResults: 20
  • browser.urlbar.mouseOnBottomLinkifies: True
  • browser.urlbar.mouseOnTopLinkifies: True
  • dom.allow_scripts_to_close_windows: True
  • dom.disable_window_move_resize: True
  • dom.disable_window_status_change: False
  • dom.ipc.plugins.enabled.npcoralietab.dll: True
  • dom.max_chrome_script_run_time: 120
  • dom.max_script_run_time: 1800
  • dom.mozApps.used: True
  • dom.report_all_js_exceptions: True
  • dom.w3c_touch_events.expose: False
  • extensions.checkCompatibility.10.0: True
  • extensions.checkCompatibility.11.0: True
  • extensions.checkCompatibility.12.0: True
  • extensions.checkCompatibility.13.0: True
  • extensions.checkCompatibility.3.5: True
  • extensions.checkCompatibility.3.6: True
  • extensions.checkCompatibility.3.6b: False
  • extensions.checkCompatibility.3.7a: False
  • extensions.checkCompatibility.5.0: True
  • extensions.checkCompatibility.6.0: True
  • extensions.checkCompatibility.7.0: True
  • extensions.checkCompatibility.8.0: True
  • extensions.checkCompatibility.9.0: True
  • extensions.lastAppVersion: 19.0.2
  • font.minimum-size.x-western: 10
  • general.useragent.extra.microsoftdotnet: (.NET CLR 3.5.30729)
  • general.useragent.extra.ubiquity:
  • gfx.blacklist.suggested-driver-version: 7.15.10.1666
  • keyword.enabled: False
  • mousewheel.withaltkey.numlines: 10
  • network.autodial-helper.enabled: False
  • network.cookie.prefsMigrated: True
  • network.dns.disablePrefetch: True
  • network.dnsCacheEntries: 1024
  • network.dnsCacheExpiration: 60
  • network.http.max-connections: 40
  • network.http.max-connections-per-server: 16
  • network.http.max-persistent-connections-per-proxy: 16
  • network.http.max-persistent-connections-per-server: 16
  • network.http.pipelining: True
  • network.http.pipelining.maxrequests: 8
  • network.http.proxy.pipelining: True
  • network.image.imageBehavior: 0
  • network.prefetch-next: False
  • network.security.ports.banned: 8118,8123,9050,9051
  • places.database.lastMaintenance: 1370228334
  • places.history.expiration.max_pages: 999999
  • places.history.expiration.transient_current_max_pages: 999999
  • places.history.expiration.transient_optimal_database_size: 85447802
  • places.last_vacuum: 1300630905
  • plugin.disable_full_page_plugin_for_types: application/vnd.adobe.xfdf,application/vnd.fdf,application/vnd.adobe.xdp+xml,application/pdf
  • privacy.clearOnShutdown.downloads: False
  • privacy.clearOnShutdown.formdata: False
  • privacy.clearOnShutdown.history: False
  • privacy.clearOnShutdown.passwords: True
  • privacy.cpd.cookies: False
  • privacy.cpd.downloads: False
  • privacy.cpd.extensions-sessionmanager: False
  • privacy.cpd.formdata: False
  • privacy.cpd.history: False
  • privacy.cpd.sessions: False
  • privacy.donottrackheader.enabled: True
  • privacy.item.cookies: True
  • privacy.item.downloads: False
  • privacy.item.formdata: False
  • privacy.item.history: False
  • privacy.item.passwords: True
  • privacy.popups.disable_from_plugins: 0
  • privacy.sanitize.migrateFx3Prefs: True
  • privacy.sanitize.timeSpan: 0
  • security.crl.autoupdate.dayCnt.http://www.cacert.org: 1
  • security.crl.autoupdate.dayCnt.Terms of use at https://www.thawte.com/cps (c)06: 1
  • security.crl.autoupdate.dayCnt.VeriSign Trust Network: 1
  • security.crl.autoupdate.dayCnt.VeriSign Trust Network SGC: 1
  • security.crl.autoupdate.enable.http://www.cacert.org: True
  • security.crl.autoupdate.enable.Terms of use at https://www.thawte.com/cps (c)06: True
  • security.crl.autoupdate.enable.VeriSign Trust Network: True
  • security.crl.autoupdate.enable.VeriSign Trust Network SGC: True
  • security.crl.autoupdate.errCount.http://www.cacert.org: 0
  • security.crl.autoupdate.errCount.Terms of use at https://www.thawte.com/cps (c)06: 0
  • security.crl.autoupdate.errCount.VeriSign Trust Network: 0
  • security.crl.autoupdate.errCount.VeriSign Trust Network SGC: 0
  • security.crl.autoupdate.errDetail.http://www.cacert.org: Error Importing CRL to local Database. Error Code:ffffe009
  • security.crl.autoupdate.errDetail.Terms of use at https://www.thawte.com/cps (c)06: Download of the CRL failed due to Network problems.
  • security.crl.autoupdate.errDetail.VeriSign Trust Network: Download of the CRL failed due to Network problems.
  • security.crl.autoupdate.errDetail.VeriSign Trust Network SGC: Download of the CRL failed due to Network problems.
  • security.crl.autoupdate.freqCnt.http://www.cacert.org: 1
  • security.crl.autoupdate.freqCnt.Terms of use at https://www.thawte.com/cps (c)06: 1
  • security.crl.autoupdate.freqCnt.VeriSign Trust Network: 1
  • security.crl.autoupdate.freqCnt.VeriSign Trust Network SGC: 1
  • security.crl.autoupdate.nextInstant.http://www.cacert.org: 1370781500000000
  • security.crl.autoupdate.nextInstant.Terms of use at https://www.thawte.com/cps (c)06: 1370768443000000
  • security.crl.autoupdate.nextInstant.VeriSign Trust Network: 1370768412000000
  • security.crl.autoupdate.nextInstant.VeriSign Trust Network SGC: 1370768411000000
  • security.crl.autoupdate.timingType.http://www.cacert.org: 1
  • security.crl.autoupdate.timingType.Terms of use at https://www.thawte.com/cps (c)06: 1
  • security.crl.autoupdate.timingType.VeriSign Trust Network: 1
  • security.crl.autoupdate.timingType.VeriSign Trust Network SGC: 1
  • security.crl.autoupdate.url.http://www.cacert.org: http://crl.cacert.org/revoke.crl
  • security.crl.autoupdate.url.Terms of use at https://www.thawte.com/cps (c)06: http://crl.thawte.com/ThawteEVCA2006.crl
  • security.crl.autoupdate.url.VeriSign Trust Network: http://crl.verisign.com/EVSecure2006.crl
  • security.crl.autoupdate.url.VeriSign Trust Network SGC: http://crl.verisign.com/EVIntl2006.crl
  • security.dialog_enable_delay: 0
  • security.disable_button.openCertManager: False
  • security.fileuri.strict_origin_policy: False
  • security.mixed_content.block_active_content: True
  • security.mixed_content.block_display_content: True
  • security.OCSP.disable_button.managecrl: False
  • security.OCSP.require: True
  • security.warn_viewing_mixed: False
  • security.warn_viewing_mixed.show_once: False

Miscelánea

  • JS del usuario: sí
  • Accesibilidad: sí
cor-el
  • Top 10 Contributor
  • Moderator
16651 soluciones 150515 respuestas
Publicadas

Solución elegida

You will have to right-click such a link to save the file (you now have such a link above).

Alternatively you can set the Boolean pref browser.altClickSave to true on the about:config page.
Then you can hold down the Alt key and left-click a link.

You will have to right-click such a link to save the file (you now have such a link above). Alternatively you can set the Boolean pref <b>browser.altClickSave</b> to <i>true</i> on the <b>about:config</b> page.<br /> Then you can hold down the Alt key and left-click a link.
James
  • Top 25 Contributor
  • Moderator
1511 soluciones 10528 respuestas
Publicadas

Respuesta útil

Right-click the direct link and Save Link As instead of Left-click.

Right-click the '''direct link''' and Save Link As instead of Left-click.

Autor de la pregunta

Well, don't I just feel stupid. I should have tried that earlier, but somehow I didn't?

Ah well. Humility is good for the soul or something.

Well, don't I just feel stupid. I should have tried that earlier, but somehow I didn't? Ah well. Humility is good for the soul or something.
Onno Ekker 112 soluciones 416 respuestas
Publicadas

Respuesta útil

The procedure to download the file is right there on the bottom of the page http://sourceforge.net/projects/mailredirect/files/:

If you want to download a .xpi file using Firefox or SeaMonkey, follow these steps:

  • Click on the file you want to download. This will take you to the download page
  • Wait 5 seconds for the automatic download to kick in and abort the prompt to install the file
  • Right click on the text "direct link" and choose "Save Link As..." to download and save the file to your hard disk
The procedure to download the file is right there on the bottom of the page http://sourceforge.net/projects/mailredirect/files/: If you want to download a .xpi file using Firefox or SeaMonkey, follow these steps: * Click on the file you want to download. This will take you to the download page * Wait 5 seconds for the automatic download to kick in and abort the prompt to install the file * Right click on the text "direct link" and choose "Save Link As..." to download and save the file to your hard disk

Modificadas por Onno Ekker el

Autor de la pregunta

Hmm. Sure enough; not sure why the README is inserted at the bottom, but I guess that's SF's fault.

Which makes it stranger, because I've been using SF for years, and never noticed that feature. :(

Hmm. Sure enough; not sure why the README is inserted at the bottom, but I guess that's SF's fault. Which makes it stranger, because I've been using SF for years, and never noticed that feature. :(