X
Kliknite sem pre prechod na mobilnú verziu webu.

Fórum podpory

Download txt html and other files no longer automatic and that setting is disabled

Pridané

From your help pages concerning file downloads 'Is Do this automatically for files like this from now on disabled? This can happen if the website's server incorrectly specifies the Internet Media type of the file. It also can happen if the server assigns "Content-Disposition: attachment" to the file. '

Then now apparently everyone who has .txt files set to be downloaded falls into one or the other of those two categories above, and every time I wish to download a .txt I have to go through this rigmarole to get it to download, and every time making such downloads automatic is disabled.

I want .txt files to download automatically, as they used to do. Firefox is behaving as if I am only ever going to download .txt files from this one site. The fact that one particular site may not be fulfilling every pettifogging detail of html protocol is NOT a valid reason for firefox to disable automatic downloads of .txt files from every web site.

From your help pages concerning file downloads 'Is Do this automatically for files like this from now on disabled? This can happen if the website's server incorrectly specifies the Internet Media type of the file. It also can happen if the server assigns "Content-Disposition: attachment" to the file. ' Then now apparently everyone who has .txt files set to be downloaded falls into one or the other of those two categories above, and every time I wish to download a .txt I have to go through this rigmarole to get it to download, and every time making such downloads automatic is disabled. I want .txt files to download automatically, as they used to do. Firefox is behaving as if I am only ever going to download .txt files from this one site. The fact that one particular site may not be fulfilling every pettifogging detail of html protocol is NOT a valid reason for firefox to disable automatic downloads of .txt files from every web site.

Vybrané riešenie

Thank you for the clear explanation of what is happening.

I get this problem at multiple sites, projectgutenberg, fadedpage, archiv etc which give a choice of options for downloading a file in various formats, mobi, epub, pdf, html, txt, zip etc.

The choices say "Download" and for most of them that is exactly what happens, but not for html and txt. They behave in one of the two ways you described.

Sure, I can download txt and html, but the process is not automatic as with other file types, and as a user who sees a computer as a device to automate tasks, it is very aggravating. But I guess calling it a rigmarole is a mite excessive.

Čítať túto odpoveď v kontexte 0
Citácia

Ďalšie informácie o systéme

Nainštalované zásuvné moduly

whatever comes automatically with firefox, I don't believe I have added any.

Aplikácie

  • Firefox 68.0.1
  • Identifikácia prehliadača: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
  • URL adresa podpory: https://support.mozilla.org/1/firefox/68.0.1/Linux/en-US/

Rozšírenia

  • Amazon.com 1.1 (amazondotcom@search.mozilla.org)
  • Bing 1.0 (bing@search.mozilla.org)
  • DuckDuckGo 1.0 (ddg@search.mozilla.org)
  • eBay 1.0 (ebay@search.mozilla.org)
  • Google 1.0 (google@search.mozilla.org)
  • Twitter 1.0 (twitter@search.mozilla.org)
  • Wikipedia (en) 1.0 (wikipedia@search.mozilla.org)

JavaScript

  • incrementalGCEnabled: True

Grafika

  • adapterDescription: Mesa DRI Intel(R) HD Graphics 400 (Braswell)
  • adapterDeviceID: 0x22b1
  • adapterDrivers:
  • adapterRAM: 1536MB
  • adapterVendorID: 0x8086
  • contentUsesTiling: False
  • crashGuards: []
  • driverDate:
  • driverVendor: mesa/i965
  • driverVersion: 19.1.3.0
  • featureLog: {u'fallbacks': [], u'features': [{u'status': u'blocked', u'description': u'Compositing', u'log': [{u'status': u'available', u'type': u'default'}, {u'status': u'blocked', u'message': u'Acceleration blocked by platform', u'type': u'env'}], u'name': u'HW_COMPOSITING'}, {u'status': u'unavailable', u'description': u'OpenGL Compositing', u'log': [{u'status': u'unavailable', u'message': u'Hardware compositing is disabled', u'type': u'default'}], u'name': u'OPENGL_COMPOSITING'}, {u'status': u'opt-in', 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'name': u'WEBRENDER'}, {u'status': u'blocked-vendor-unsupported', u'description': u'WebRender qualified', u'log': [{u'status': u'available', u'type': u'default'}, {u'status': u'blocked-vendor-unsupported', u'message': u'Unsupported vendor', u'type': u'env'}], u'name': u'WEBRENDER_QUALIFIED'}, {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'}]}
  • info: {u'ApzWheelInput': 1, u'ApzDragInput': 1, u'ApzKeyboardInput': 1, u'CairoUseXRender': 0, u'ApzAutoscrollInput': 1, u'AzureFallbackCanvasBackend': u'none', u'AzureCanvasBackend': u'skia', u'AzureContentBackend': u'skia'}
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: {u'key': u''}
  • numTotalWindows: 1
  • offMainThreadPaintEnabled: True
  • offMainThreadPaintWorkerCount: 1
  • targetFrameRate: 60
  • usesTiling: False
  • webgl1DriverExtensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_texture_barrier GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_query_buffer_object GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_indirect_parameters GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_INTEL_performance_query GL_ARB_ES3_1_compatibility GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_texture_barrier GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_parallel_shader_compile GL_ARB_shader_atomic_counter_ops GL_ARB_shader_ballot GL_ARB_shader_clock GL_EXT_shader_samples_identical GL_KHR_no_error GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_ARB_texture_filter_anisotropic GL_KHR_parallel_shader_compile GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_sRGB_R8 GL_NV_compute_shader_derivatives
  • webgl1Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_disjoint_timer_query EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic 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_etc 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: Intel Open Source Technology Center -- Mesa DRI Intel(R) HD Graphics 400 (Braswell)
  • webgl1Version: 3.0 Mesa 19.1.3
  • webgl1WSIInfo: GLX 1.4 GLX_VENDOR(client): Mesa Project and SGI GLX_VENDOR(server): SGI Extensions: GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync
  • webgl2DriverExtensions: GL_3DFX_texture_compression_FXT1 GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_gpu_shader_int64 GL_AMD_multi_draw_indirect GL_AMD_query_buffer_object GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_trinary_minmax GL_AMD_texture_texture4 GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_APPLE_object_purgeable GL_ARB_ES2_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shader_viewport_layer_array GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map_array GL_ARB_texture_filter_anisotropic GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ATI_blend_equation_separate GL_ATI_texture_float GL_EXT_abgr GL_EXT_blend_equation_separate GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_shader_integer_mix GL_EXT_shader_samples_identical GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_sRGB GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_IBM_multimode_draw_arrays GL_INTEL_performance_query GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_MESA_pack_invert GL_MESA_shader_integer_functions GL_MESA_texture_signed_rgba GL_NV_compute_shader_derivatives GL_NV_conditional_render GL_NV_depth_clamp GL_NV_packed_depth_stencil GL_NV_texture_barrier GL_OES_EGL_image GL_S3_s3tc
  • webgl2Extensions: EXT_color_buffer_float EXT_disjoint_timer_query EXT_float_blend EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic OES_texture_float_linear WEBGL_compressed_texture_etc WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
  • webgl2Renderer: Intel Open Source Technology Center -- Mesa DRI Intel(R) HD Graphics 400 (Braswell)
  • webgl2Version: 4.5 (Core Profile) Mesa 19.1.3
  • webgl2WSIInfo: GLX 1.4 GLX_VENDOR(client): Mesa Project and SGI GLX_VENDOR(server): SGI Extensions: GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Basic
  • windowProtocol: x11
  • windowUsingAdvancedLayers: False

Upravené nastavenia

Ostatné

  • User JS: Nie
  • Prístupnosť: Nie
jscher2000
  • Top 10 Contributor
8689 riešení 71031 odpovedí

What is the rigmarole --

Then now apparently everyone who has .txt files set to be downloaded falls into one or the other of those two categories above, and every time I wish to download a .txt I have to go through this rigmarole to get it to download, and every time making such downloads automatic is disabled.

Do you mean clicking Save in the Downloads dialog?

I want .txt files to download automatically, as they used to do. Firefox is behaving as if I am only ever going to download .txt files from this one site. The fact that one particular site may not be fulfilling every pettifogging detail of html protocol is NOT a valid reason for firefox to disable automatic downloads of .txt files from every web site.

Is this problem specific to one site?

If a file is sent with the Content-Type text/plain then Firefox will display it in a tab unless the server instructs otherwise, by setting Content-Disposition: attachment. If the server says the file should be downloaded, then Firefox should follow the setting on the Options page for Text documents.

On the other hand, if a file is sent with the generic Content-Type application/octet-stream then Firefox will never try to display it in a tab, but also won't allow you to store a specific action for it since this Content-Type is not linked to a particular file type.

Is it possible to use the workaround:

right-click the link to the file > Save Link As...

What is the rigmarole -- <blockquote> Then now apparently everyone who has .txt files set to be downloaded falls into one or the other of those two categories above, and '''every time I wish to download a .txt I have to go through this rigmarole''' to get it to download, and every time making such downloads automatic is disabled.</blockquote> Do you mean clicking Save in the Downloads dialog? <blockquote>I want .txt files to download automatically, as they used to do. Firefox is behaving as if I am only ever going to download .txt files from this one site. The fact that one particular site may not be fulfilling every pettifogging detail of html protocol is NOT a valid reason for firefox to disable automatic downloads of .txt files from every web site. </blockquote> Is this problem specific to one site? If a file is sent with the Content-Type '''text/plain''' then Firefox will display it in a tab unless the server instructs otherwise, by setting Content-Disposition: attachment. If the server says the file should be downloaded, then Firefox should follow the setting on the Options page for Text documents. On the other hand, if a file is sent with the generic Content-Type '''application/octet-stream''' then Firefox will never try to display it in a tab, but also won't allow you to store a specific action for it since this Content-Type is not linked to a particular file type. Is it possible to use the workaround: right-click the link to the file > Save Link As...
Pomohlo vám to?
Citácia

Vybrané riešenie

Thank you for the clear explanation of what is happening.

I get this problem at multiple sites, projectgutenberg, fadedpage, archiv etc which give a choice of options for downloading a file in various formats, mobi, epub, pdf, html, txt, zip etc.

The choices say "Download" and for most of them that is exactly what happens, but not for html and txt. They behave in one of the two ways you described.

Sure, I can download txt and html, but the process is not automatic as with other file types, and as a user who sees a computer as a device to automate tasks, it is very aggravating. But I guess calling it a rigmarole is a mite excessive.

Thank you for the clear explanation of what is happening. I get this problem at multiple sites, projectgutenberg, fadedpage, archiv etc which give a choice of options for downloading a file in various formats, mobi, epub, pdf, html, txt, zip etc. The choices say "Download" and for most of them that is exactly what happens, but not for html and txt. They behave in one of the two ways you described. Sure, I can download txt and html, but the process is not automatic as with other file types, and as a user who sees a computer as a device to automate tasks, it is very aggravating. But I guess calling it a rigmarole is a mite excessive.
Pomohlo vám to?
Citácia
cor-el
  • Top 10 Contributor
  • Moderator
17469 riešení 157871 odpovedí

With what content type are these files send?

With what content type are these files send? *https://developer.mozilla.org/en-US/Tools/Network_Monitor
Pomohlo vám to?
Citácia
jscher2000
  • Top 10 Contributor
8689 riešení 71031 odpovedí

gl00637@gmail.com said

I get this problem at multiple sites, projectgutenberg, fadedpage, archiv etc which give a choice of options for downloading a file in various formats, mobi, epub, pdf, html, txt, zip etc.

I tried this page as an example:

https://www.gutenberg.org/ebooks/19073

The "Plain Text UTF-8" returns a text/plain file that Firefox happily opens in a tab. I don't get a download dialog at all.

If I use the "More Files…" link then there are a couple .txt file links that return a text/plain file that Firefox also shows in a tab.

Since html and text are pretty fundamental to web browsing -- you very rarely want those files to download instead of displaying in a tab -- overriding the natural behavior would be somewhat risky.


One possible option would be to find an add-on that modifies the relevant links or creates new ones. I took a look at the simplest type of modification, which is to add the download attribute to the link to pop up a download dialog.

Adding the download attribute to the plain text link on the /ebooks/ page does not work:

<a href="//www.gutenberg.org/ebooks/19073.txt.utf-8" type="text/plain" class="link" title="Download" download="cocoa.txt">Plain Text UTF-8</a>

I think it's because there is a redirect from https to http, and that may be violating the "same-origin" restriction on the download attribute.

Perhaps that is why this also does not work:

<a href="http://www.gutenberg.org/ebooks/19073.txt.utf-8" type="text/plain" class="link" title="Download" download="cocoa.txt">Plain Text UTF-8</a>

If I change the URL to the ultimate destination under /cache/ using a relative URL so it is HTTPS, that works, but this information about the ultimate URL is not readily available to a script in the page:

<a href="/cache/epub/19073/pg19073.txt" type="text/plain" class="link" title="Download" download="cocoa.txt">Plain Text UTF-8</a>

If I click More Files... and look at the /files/ list, it seems we do not have to worry about a redirect. However, we also cannot see the book title here to construct a nice file name.

So /files/ isn't a good page to modify, but it gives us a better understanding of additional paths to the files on the server. If we can determine the pattern, we can inject a new link/button in the /ebooks/ page that has the exact behavior we want.

A fun project for someone. Or maybe an extension or userscript for this is already out there??

''gl00637@gmail.com [[#answer-1242605|said]]'' <blockquote> I get this problem at multiple sites, projectgutenberg, fadedpage, archiv etc which give a choice of options for downloading a file in various formats, mobi, epub, pdf, html, txt, zip etc. </blockquote> I tried this page as an example: https://www.gutenberg.org/ebooks/19073 The "Plain Text UTF-8" returns a text/plain file that Firefox happily opens in a tab. I don't get a download dialog at all. If I use the "More Files…" link then there are a couple .txt file links that return a text/plain file that Firefox also shows in a tab. Since html and text are pretty fundamental to web browsing -- you very rarely want those files to download instead of displaying in a tab -- overriding the natural behavior would be somewhat risky. ---- One possible option would be to find an add-on that modifies the relevant links or creates new ones. I took a look at the simplest type of modification, which is to add the '''download''' attribute to the link to pop up a download dialog. Adding the download attribute to the plain text link on the /ebooks/ page does not work: <a href="//www.gutenberg''.''org/ebooks/19073.txt.utf-8" type="text/plain" class="link" title="Download" '''download="cocoa.txt"'''>Plain Text UTF-8</a> I think it's because there is a redirect from https to http, and that may be violating the "same-origin" restriction on the download attribute. Perhaps that is why this also does not work: <a href="http://www.gutenberg''.''org/ebooks/19073.txt.utf-8" type="text/plain" class="link" title="Download" download="cocoa.txt">Plain Text UTF-8</a> If I change the URL to the ultimate destination under /cache/ using a relative URL so it is HTTPS, that works, but this information about the ultimate URL is not readily available to a script in the page: <a href="/cache/epub/19073/pg19073.txt" type="text/plain" class="link" title="Download" download="cocoa.txt">Plain Text UTF-8</a> If I click More Files... and look at the /files/ list, it seems we do not have to worry about a redirect. However, we also cannot see the book title here to construct a nice file name. So /files/ isn't a good page to modify, but it gives us a better understanding of additional paths to the files on the server. If we can determine the pattern, we can inject a new link/button in the /ebooks/ page that has the exact behavior we want. A fun project for someone. Or maybe an extension or userscript for this is already out there??
Pomohlo vám to?
Citácia

Autor otázky

jscher2000 said ... Since html and text are pretty fundamental to web browsing -- you very rarely want those files to download instead of displaying in a tab -- overriding the natural behavior would be somewhat risky. ...

Sorry, but I don't buy that argument at all. Much of Linux documentation is available as directly downloadable html files. The three sites I named are primarily or solely sites from which to download files. They invite me to download various file-types, not to view some of them in a browser instead.

If it is more reasonable to display txt and html in the browser, then for consistency firefox should also display the 'Download pdf' option on such sites. But no, pdfs download directly, therefore txt and html should do likewise.

It was kind of you to investigate the possibility of modifying firefox's behavior via external scripts, but I think that would be an option more laborious than simply living with the status quo. Firefox seems to get updated more often than any other app (apart from linux itself), and each such update would have the potential to break any script I might write.

''jscher2000 [[#answer-1242630|said]]'' ... Since html and text are pretty fundamental to web browsing -- you very rarely want those files to download instead of displaying in a tab -- overriding the natural behavior would be somewhat risky. ... Sorry, but I don't buy that argument at all. Much of Linux documentation is available as directly downloadable html files. The three sites I named are primarily or solely sites from which to '''download''' files. They invite me to '''download ''' various file-types, not to view some of them in a browser instead. If it is more reasonable to display txt and html in the browser, then for consistency firefox should also display the 'Download pdf' option on such sites. But no, pdfs download directly, therefore txt and html should do likewise. It was kind of you to investigate the possibility of modifying firefox's behavior via external scripts, but I think that would be an option more laborious than simply living with the status quo. Firefox seems to get updated more often than any other app (apart from linux itself), and each such update would have the potential to break any script I might write.
Pomohlo vám to?
Citácia
jscher2000
  • Top 10 Contributor
8689 riešení 71031 odpovedí

Well, if it gets too laborious, you have some options to consider.

Well, if it gets too laborious, you have some options to consider.
Pomohlo vám to?
Citácia
cor-el
  • Top 10 Contributor
  • Moderator
17469 riešení 157871 odpovedí

You can set browser.altClickSave to true on the about:config page and hold the alt key if you click the link, that should give you a download dialog. Otherwise use the right-click context menu.

You can set <b>browser.altClickSave</b> to true on the <b>about:config</b> page and hold the alt key if you click the link, that should give you a download dialog. Otherwise use the right-click context menu.
Pomohlo vám to?
Citácia
Ian S 0 riešení 4 odpovedí

I have a similar problem. I want to use macros (via iMacro) to automate download of text files from multiple pages. The start url is:

[https://www.clinicaltrialsregister.eu/ctr-search/search?query=birmingham&resultsstatus=trials-without-results&page=1

I can get the macro to work up till the point where I press "Download" but then up pops the dialogue box which of course interrupts the macro. What I want is for the text files to download automatically.

There is no opportunity in the Options screen to tell Firefox how to behave for text files.

I have tried editing handlers.json by adding a line as so: "extensions":["txt"]},"text/csv":{"action":0,

but this seems to be overwritten when I reload Firefox. Version 68.0.2, Windows 10 pro.

Any ideas?

I have a similar problem. I want to use macros (via iMacro) to automate download of text files from multiple pages. The start url is: [https://www.clinicaltrialsregister.eu/ctr-search/search?query=birmingham&resultsstatus=trials-without-results&page=1 I can get the macro to work up till the point where I press "Download" but then up pops the dialogue box which of course interrupts the macro. What I want is for the text files to download automatically. There is no opportunity in the Options screen to tell Firefox how to behave for text files. I have tried editing handlers.json by adding a line as so: "extensions":["txt"]},"text/csv":{"action":0, but this seems to be overwritten when I reload Firefox. Version 68.0.2, Windows 10 pro. Any ideas?
Pomohlo vám to?
Citácia
jscher2000
  • Top 10 Contributor
8689 riešení 71031 odpovedí

Užitočné odpovede

Hi Ian S, can your macro right-click a link, choose Save Link As..., and then submit the file browsing dialog?

If not, I think you are in the same situation and you either need to modify the link before clicking it or use an extension to modify how Firefox receives the file (add a Content-Disposition: attachment header).

Hi Ian S, can your macro right-click a link, choose Save Link As..., and then submit the file browsing dialog? If not, I think you are in the same situation and you either need to modify the link before clicking it or use an extension to modify how Firefox receives the file (add a '''Content-Disposition: attachment''' header).
Pomohlo vám to? 1
Citácia
Ian S 0 riešení 4 odpovedí

Many thanks for that. No, can't do that as the download is via a button and an event procedure (I assume) rather than a hyperlink.

Where would I put that string you suggest as that sounds as though it may be a good approach?

Many thanks for that. No, can't do that as the download is via a button and an event procedure (I assume) rather than a hyperlink. Where would I put that string you suggest as that sounds as though it may be a good approach?
Pomohlo vám to?
Citácia
Ian S 0 riešení 4 odpovedí

Ah, just realised you mean that needs to be in the target file (I think....). I don't have access to that.......

Ah, just realised you mean that needs to be in the target file (I think....). I don't have access to that.......
Pomohlo vám to?
Citácia
jscher2000
  • Top 10 Contributor
8689 riešení 71031 odpovedí

Užitočné odpovede

Ian S said

Many thanks for that. No, can't do that as the download is via a button and an event procedure (I assume) rather than a hyperlink. Where would I put that string you suggest as that sounds as though it may be a good approach?

The download attribute is for hyperlinks, so probably not useful in the case of a button, although I haven't tested.

The Content-Disposition header needs to be sent from the server or injected by an extension when Firefox is receiving the file from the server.

''Ian S [[#answer-1246615|said]]'' <blockquote> Many thanks for that. No, can't do that as the download is via a button and an event procedure (I assume) rather than a hyperlink. Where would I put that string you suggest as that sounds as though it may be a good approach? </blockquote> The download attribute is for hyperlinks, so probably not useful in the case of a button, although I haven't tested. The Content-Disposition header needs to be sent from the server or injected by an extension when Firefox is receiving the file from the server.
Pomohlo vám to? 1
Citácia
Ian S 0 riešení 4 odpovedí

Thanks again. I have to say I'm not really up to speed with the process....

I have no way of controlling what the server gives me so probably my only hope is the extension you suggest. Could you possibly outline what I would need to do (Firefox extension etc)?

Thanks again. I have to say I'm not really up to speed with the process.... I have no way of controlling what the server gives me so probably my only hope is the extension you suggest. Could you possibly outline what I would need to do (Firefox extension etc)?
Pomohlo vám to?
Citácia
jscher2000
  • Top 10 Contributor
8689 riešení 71031 odpovedí

Ian S said

Could you possibly outline what I would need to do (Firefox extension etc)?

Unfortunately, there doesn't appear to be a purpose-built extension to force a download of .txt files; generally it's the opposite (stripping off Content-Disposition: attachment so Firefox will display the file "inline").

There are extensions to add headers, but I haven't tried them myself. For example:

''Ian S [[#answer-1246800|said]]'' <blockquote> Could you possibly outline what I would need to do (Firefox extension etc)? </blockquote> Unfortunately, there doesn't appear to be a purpose-built extension to force a download of .txt files; generally it's the opposite (stripping off Content-Disposition: attachment so Firefox will display the file "inline"). There are extensions to add headers, but I haven't tried them myself. For example: * https://addons.mozilla.org/firefox/addon/header-editor/ * https://addons.mozilla.org/firefox/addon/modify-header-value/ * https://addons.mozilla.org/firefox/addon/simple-modify-header/
Pomohlo vám to?
Citácia
Položiť otázku

Ak chcete pridať odpoveď, musíte sa prihlásiť k svojmu účtu. Ak účet doteraz nemáte, položte novú otázku.