X
Kliknite sem pre prechod na mobilnú verziu webu.

Fórum podpory

how to export safari history and then import into firefox?

Pridané

I have a valuable history of browsing in Safari that I would like to bring over to Firefox. The only solution I have been able to find after an hour of searching is this product; iMazing. It appears to do just what I need, by exporting the Safari Browsing History from the database to HTML which it says can then be Imported into Firefox. Sounds good, but I would prefer to not have to buy a 3rd party product. Any clues? Thank you.

I have a valuable history of browsing in Safari that I would like to bring over to Firefox. The only solution I have been able to find after an hour of searching is this product; iMazing. It appears to do just what I need, by exporting the Safari Browsing History from the database to HTML which it says can then be Imported into Firefox. Sounds good, but I would prefer to not have to buy a 3rd party product. Any clues? Thank you.
Citácia

Ďalšie informácie o systéme

Nainštalované zásuvné moduly

  • Shockwave Flash 32.0 r0

Aplikácie

  • Firefox 67.0.2
  • Identifikácia prehliadača: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0
  • URL adresa podpory: https://support.mozilla.org/1/firefox/67.0.2/Darwin/en-US/

Rozšírenia

  • 1Password extension (desktop app required) 4.7.4.90 (onepassword4@agilebits.com)
  • Clip to DEVONthink 1.4 (Clip-to-DEVONthink@devon-technologies.com)
  • TrafficLight 3.0.0 (trafficlight@bitdefender.com)

JavaScript

  • incrementalGCEnabled: True

Grafika

  • adapterDescription:
  • adapterDeviceID: 0x162b
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: 0x8086
  • contentUsesTiling: True
  • crashGuards: []
  • driverDate:
  • driverVersion:
  • 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'OpenGL Compositing', u'log': [{u'status': u'available', 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', u'description': u'WebRender qualified', u'log': [{u'status': u'available', u'type': u'default'}, {u'status': u'blocked', u'message': u'No qualified hardware', 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'TileHeight': 1024, u'ApzWheelInput': 1, u'ApzDragInput': 1, u'ApzKeyboardInput': 1, u'ApzAutoscrollInput': 1, u'AzureFallbackCanvasBackend': u'none', u'TileWidth': 1024, u'AzureCanvasBackend': u'skia', u'AzureContentBackend': u'skia'}
  • lowEndMachine: False
  • numAcceleratedWindows: 2
  • numTotalWindows: 2
  • offMainThreadPaintEnabled: True
  • offMainThreadPaintWorkerCount: 3
  • targetFrameRate: 60
  • usesTiling: True
  • webgl1DriverExtensions: GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
  • 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_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_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
  • webgl1Renderer: Intel Inc. -- Intel(R) Iris(TM) Graphics 6100
  • webgl1Version: 4.1 INTEL-12.9.22
  • webgl1WSIInfo: CGL
  • webgl2DriverExtensions: GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
  • webgl2Extensions: EXT_color_buffer_float EXT_disjoint_timer_query EXT_float_blend EXT_texture_compression_rgtc EXT_texture_filter_anisotropic OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
  • webgl2Renderer: Intel Inc. -- Intel(R) Iris(TM) Graphics 6100
  • webgl2Version: 4.1 INTEL-12.9.22
  • webgl2WSIInfo: CGL
  • windowLayerManagerRemote: True
  • windowLayerManagerType: OpenGL
  • windowUsingAdvancedLayers: False

Upravené nastavenia

Ostatné

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

Užitočné odpovede

Firefox does not have a feature to import history from an HTML file. It can import bookmarks from a specially formatted HTML file, but not history.

iMazing is for iOS, not MacOS. Is the history on your iPhone/iPad, or on your Mac?

I found an article explaining how to extract history from Safari's History.db file. It's very interesting to me, a person that often needs to look inside databases, but it doesn't exactly cut to the chase with solution for you:

http://2016.padjo.org/tutorials/sqlite-your-browser-history/

I tried to put that learning into effect in a web app that simply creates an HTML table of your entire history, but I don't have a file to test with, so it's a bit of an orphan for the time being. If you want to try it, feel free:

https://www.jeffersonscher.com/res/safarihistoryextractor.html

Expect slow rendering at best, and most likely complete failure.

Firefox does not have a feature to import history from an HTML file. It can import ''bookmarks'' from a specially formatted HTML file, but not history. iMazing is for iOS, not MacOS. Is the history on your iPhone/iPad, or on your Mac? I found an article explaining how to extract history from Safari's '''History.db''' file. It's very interesting to me, a person that often needs to look inside databases, but it doesn't exactly cut to the chase with solution for you: http://2016.padjo.org/tutorials/sqlite-your-browser-history/ I tried to put that learning into effect in a web app that simply creates an HTML table of your entire history, but I don't have a file to test with, so it's a bit of an orphan for the time being. If you want to try it, feel free: https://www.jeffersonscher.com/res/safarihistoryextractor.html Expect slow rendering at best, and most likely complete failure.
Pomohlo vám to? 1
Citácia
cor-el
  • Top 10 Contributor
  • Moderator
17530 riešení 158495 odpovedí

I think that the HTML doesn't need to be formatted. A simple file with only <A HREF> type links should be sufficient. I don't know how Safari stores its bookmarks. In Firefox you can do a Copy and Paste to copy selected history to bookmarks. I don't know if you can do similar in Safari and then export the bookmarks to an HTML file.

I think that the HTML doesn't need to be formatted. A simple file with only &lt;A HREF&gt; type links should be sufficient. I don't know how Safari stores its bookmarks. In Firefox you can do a Copy and Paste to copy selected history to bookmarks. I don't know if you can do similar in Safari and then export the bookmarks to an HTML file.
Pomohlo vám to? 0
Citácia

Autor otázky

Jefferson Scher, what a clear and helpful (and quick) response. I appreciate the lengths you went to, to understand my issue and to respond with such a useful briefing / set of directions.

I followed each step and was able to find and drag the History.db file as you indicated. It was 24 MB. I clicked after dragging to get it to apparently go off and create an .HTML file... but after 1 hour and 30 some minutes it does NOT seem to have come to an end. Where should I go look for the output .HTML file? I did not see a prompt, yet, to create the file.

I will leave this running overnight to see if it is simply slow.

Jefferson Scher, what a clear and helpful (and quick) response. I appreciate the lengths you went to, to understand my issue and to respond with such a useful briefing / set of directions. I followed each step and was able to find and drag the History.db file as you indicated. It was 24 MB. I clicked after dragging to get it to apparently go off and create an .HTML file... but after 1 hour and 30 some minutes it does NOT seem to have come to an end. Where should I go look for the output .HTML file? I did not see a prompt, yet, to create the file. I will leave this running overnight to see if it is simply slow.
Pomohlo vám to?
Citácia
cor-el
  • Top 10 Contributor
  • Moderator
17530 riešení 158495 odpovedí

You probably have a SQLite utility on your Mac that you can use. Such a utility can likely handle big databases more efficient.

You can use the query as posted on the web page or use the query Jefferson used on his page.

SELECT datetime(visit.visit_time + 978307200, 'unixepoch', 'localtime') as visited, visit.title, page.url
FROM history_visits visit INNER JOIN history_items page ON page.id = visit.history_item
ORDER BY visit.visit_time DESC, page.url
You probably have a SQLite utility on your Mac that you can use. Such a utility can likely handle big databases more efficient. You can use the query as posted on the web page or use the query Jefferson used on his page. <pre><nowiki>SELECT datetime(visit.visit_time + 978307200, 'unixepoch', 'localtime') as visited, visit.title, page.url FROM history_visits visit INNER JOIN history_items page ON page.id = visit.history_item ORDER BY visit.visit_time DESC, page.url</nowiki></pre>
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.