X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

How do I install an unsigned addon on the Developer edition?

Kuphostiwe

I want to install an unsigned addon that I made. I can load it temporarily via about:debugging, but I can't actually install it. Maybe I'm doing it wrong, I couldn't actually find any explicit instructions online, so I packed the files into a zip with a .xpi extension, and tried dragging it into the about:addons page. I get a "the addon could not be installed because it appears to be corrupt" error.

After reading this thread: https://support.mozilla.org/en-US/questions/1134589, I went and installed the developer version of Firefox Quantum, but I'm having the same problem.

I want to install an unsigned addon that I made. I can load it temporarily via about:debugging, but I can't actually install it. Maybe I'm doing it wrong, I couldn't actually find any explicit instructions online, so I packed the files into a zip with a .xpi extension, and tried dragging it into the about:addons page. I get a "the addon could not be installed because it appears to be corrupt" error. After reading this thread: https://support.mozilla.org/en-US/questions/1134589, I went and installed the developer version of Firefox Quantum, but I'm having the same problem.

Isisombululo esikhethiwe

I just solved my own problem.

It occurred to me that Firefox probably logs more details about the "addon was corrupt" error in the Browser console (Ctrl + J), so I opened that, and there it was:

1519080608004 addons.xpi WARN Invalid XPI: Error: Cannot find id for addon C:\Users\Jack\Documents\WebExtensions\NoHistory\NoHistory.xpi (resource://gre/modules/addons/XPIInstall.jsm:1603:17) JS Stack trace: loadManifest@XPIInstall.jsm:1603:17

So the problem was the lack of id in manifest.json . For anyone else with this problem, also remember that the id needs to be formatted like an e-mail address.

So in summary, the process is:

1. Grab all the files for your WebExtension and package them directly (not in a folder) in an uncompressed zip.

2. Replace the .zip extension with .xpi.

3. Drag the XPI into Firefox's about:addons page.

4. If an error appears, check the browser console (Ctrl + J). Maybe open the console first and then load the extension, just in case.

5. (EDIT) At least on Linux, I also had to go into about:config and change the xpinstall.signatures.required parameter to "false".

Funda le mpendulo ngokuhambisana nalesi sihloko 0

Eminye Imininingwane Yohlelo

Isisebenziso

  • Firefox 59.0b9
  • Umsebenzisi oyi-ejenti: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
  • I-URL Yokweseka: https://support.mozilla.org/1/firefox/59.0/WINNT/en-US/

Izandiso

  • Adblock Plus 3.0.2 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • NoHistory 1.0 (bf50222769653cae978768e5c4f7a0877151c9af@temporary-addon)
  • Free Download Manager extension 2.2.3 (fdm_ffext@freedownloadmanager.org) (Akusebenzi)

I-Javascript

  • incrementalGCEnabled: True

Imidwebo

  • adapterDescription: AMD Radeon R9 200 / HD 7900 Series
  • adapterDescription2:
  • adapterDeviceID: 0x6798
  • adapterDeviceID2:
  • adapterDrivers: aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
  • adapterDrivers2:
  • adapterRAM: 3072
  • adapterRAM2:
  • adapterSubsysID: 04181043
  • adapterSubsysID2:
  • adapterVendorID: 0x1002
  • adapterVendorID2:
  • crashGuards: []
  • direct2DEnabled: False
  • direct2DEnabledMessage: [u'']
  • directWriteEnabled: True
  • directWriteVersion: 6.1.7601.17514
  • driverDate: 7-20-2017
  • driverDate2:
  • driverVersion: 22.19.662.4
  • driverVersion2:
  • featureLog: {u'fallbacks': [], u'features': [{u'status': u'available', u'description': u'Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'HW_COMPOSITING'}, {u'status': u'available', u'description': u'Direct3D11 Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'D3D11_COMPOSITING'}, {u'status': u'unavailable', u'description': u'Direct2D', u'log': [{u'status': u'available', u'type': u'default'}, {u'status': u'unavailable', u'message': u'Failed to acquire a Direct2D 1.1 factory', u'type': u'runtime'}], u'name': u'DIRECT2D'}, {u'status': u'available', u'description': u'Direct3D11 hardware ANGLE', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'D3D11_HW_ANGLE'}, {u'status': u'unavailable', u'description': u'GPU Process', u'log': [{u'status': u'available', u'type': u'default'}, {u'status': u'unavailable', u'message': u'GPU Process requires the Windows 7 Platform Update', u'type': u'env'}], u'name': u'GPU_PROCESS'}, {u'status': u'unavailable', u'description': u'WebRender', u'log': [{u'status': u'opt-in', u'message': u'WebRender is an opt-in feature', u'type': u'default'}, {u'status': u'unavailable', u'message': u"Build doesn't include WebRender", u'type': u'runtime'}], u'name': u'WEBRENDER'}, {u'status': u'available', u'description': u'Off Main Thread Painting', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'OMTP'}, {u'status': u'available', u'description': u'Advanced Layers', u'log': [{u'status': u'available', u'type': u'default'}, {u'status': u'available', u'message': u'Enabled for Windows 7 via user-preference', u'type': u'user'}], u'name': u'ADVANCED_LAYERS'}]}
  • info: {u'ApzWheelInput': 1, u'ApzDragInput': 1, u'ApzKeyboardInput': 1, u'ApzAutoscrollInput': 1, u'AzureFallbackCanvasBackend': u'cairo', u'AzureCanvasAccelerated': 0, u'AzureCanvasBackend': u'skia', u'AzureContentBackend': u'skia'}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • offMainThreadPaintEnabled: True
  • webgl1DriverExtensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_robust_resource_initialization GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object
  • webgl1Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_sRGB EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
  • webgl1Renderer: Google Inc. -- ANGLE (AMD Radeon R9 200 / HD 7900 Series Direct3D11 vs_5_0 ps_5_0)
  • webgl1Version: OpenGL ES 2.0 (ANGLE 2.1.0.db3422764a9b)
  • webgl1WSIInfo: EGL_VENDOR: Google Inc. (adapter LUID: 000000000000a007) EGL_VERSION: 1.4 (ANGLE 2.1.0.db3422764a9b) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_ANGLE_display_robust_resource_initialization
  • webgl2DriverExtensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_multiview GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_robust_resource_initialization GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object
  • webgl2Extensions: EXT_color_buffer_float EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
  • webgl2Renderer: Google Inc. -- ANGLE (AMD Radeon R9 200 / HD 7900 Series Direct3D11 vs_5_0 ps_5_0)
  • webgl2Version: OpenGL ES 3.0 (ANGLE 2.1.0.db3422764a9b)
  • webgl2WSIInfo: EGL_VENDOR: Google Inc. (adapter LUID: 000000000000a007) EGL_VERSION: 1.4 (ANGLE 2.1.0.db3422764a9b) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_ANGLE_display_robust_resource_initialization
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11
  • windowUsingAdvancedLayers: True

Okuthandwayo Okulungisiwe

Misc

  • Umsebenzisi JS: Cha
  • Ukufinyeleleka: Cha
WestEnd
  • Top 25 Contributor
60 izisombululo 5379 izimpendulo
Kuphostiwe

This seems to indicate it is corrupted or doesn't meet the FF57+ requirements to install properly. You should ask Mozilla debug support what else is causing the corrupt install.

This seems to indicate it is corrupted or doesn't meet the FF57+ requirements to install properly. You should ask Mozilla debug support what else is causing the corrupt install.

Umnikazi wombuzo

Where can I contact debug support?

Where can I contact debug support?
cor-el
  • Top 10 Contributor
  • Moderator
17472 izisombululo 157918 izimpendulo
Kuphostiwe

Is this about a Legacy extension or about a WebExtension?

What is the folder structure in the XPI (ZIP) archive?

The install.rdf file and the chrome.manifest file needs to be in the root level. If you packed a directory and not the individual files then the root level might be a folder.

Is this about a Legacy extension or about a WebExtension? What is the folder structure in the XPI (ZIP) archive? The install.rdf file and the chrome.manifest file needs to be in the root level. If you packed a directory and not the individual files then the root level might be a folder.

Umnikazi wombuzo

It's a WebExtension.

I've never actually heard of an install.rdf file. All I have other than scripts and images is manifest.json . I'm honestly working off of guesswork here because I couldn't find explicit instructions on how to do this - the closest I could find is this page, but it doesn't mention install.rdf .

The ZIP file contains the files directly, ie they're not in any subfolders within the ZIP.

Weirdly, I was able to package and install a different addon that I developed, using the same process.

It's a WebExtension. I've never actually heard of an install.rdf file. All I have other than scripts and images is manifest.json . I'm honestly working off of guesswork here because I couldn't find explicit instructions on how to do this - the closest I could find is [https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Package_your_extension_ this] page, but it doesn't mention install.rdf . The ZIP file contains the files directly, ie they're not in any subfolders within the ZIP. Weirdly, I was able to package and install a different addon that I developed, using the same process.

Isisombululo Esikhethiwe

I just solved my own problem.

It occurred to me that Firefox probably logs more details about the "addon was corrupt" error in the Browser console (Ctrl + J), so I opened that, and there it was:

1519080608004 addons.xpi WARN Invalid XPI: Error: Cannot find id for addon C:\Users\Jack\Documents\WebExtensions\NoHistory\NoHistory.xpi (resource://gre/modules/addons/XPIInstall.jsm:1603:17) JS Stack trace: loadManifest@XPIInstall.jsm:1603:17

So the problem was the lack of id in manifest.json . For anyone else with this problem, also remember that the id needs to be formatted like an e-mail address.

So in summary, the process is:

1. Grab all the files for your WebExtension and package them directly (not in a folder) in an uncompressed zip.

2. Replace the .zip extension with .xpi.

3. Drag the XPI into Firefox's about:addons page.

4. If an error appears, check the browser console (Ctrl + J). Maybe open the console first and then load the extension, just in case.

5. (EDIT) At least on Linux, I also had to go into about:config and change the xpinstall.signatures.required parameter to "false".

I just solved my own problem. It occurred to me that Firefox probably logs more details about the "addon was corrupt" error in the Browser console (Ctrl + J), so I opened that, and there it was: ''1519080608004 addons.xpi WARN Invalid XPI: Error: Cannot find id for addon C:\Users\Jack\Documents\WebExtensions\NoHistory\NoHistory.xpi (resource://gre/modules/addons/XPIInstall.jsm:1603:17) JS Stack trace: loadManifest@XPIInstall.jsm:1603:17'' So the problem was the lack of id in manifest.json . For anyone else with this problem, also remember that the id needs to be formatted like an e-mail address. So in summary, the process is: 1. Grab all the files for your WebExtension and package them directly (not in a folder) in an uncompressed zip. 2. Replace the .zip extension with .xpi. 3. Drag the XPI into Firefox's about:addons page. 4. If an error appears, check the browser console (Ctrl + J). Maybe open the console first and then load the extension, just in case. 5. (EDIT) At least on Linux, I also had to go into about:config and change the ''xpinstall.signatures.required'' parameter to "false".

Okulungisiwe ngu Gaiajack

James
  • Moderator
1596 izisombululo 11246 izimpendulo
Kuphostiwe

A forum to ask for Extensions help is in https://discourse.mozilla.org/c/add-ons and a secondary place is on the independent mozillaZine forum http://forums.mozillazine.org/viewforum.php?f=19 if you have an account there.

A forum to ask for Extensions help is in https://discourse.mozilla.org/c/add-ons and a secondary place is on the independent mozillaZine forum http://forums.mozillazine.org/viewforum.php?f=19 if you have an account there.
cor-el
  • Top 10 Contributor
  • Moderator
17472 izisombululo 157918 izimpendulo
Kuphostiwe
See also: *https://developer.chrome.com/extensions/manifest