X
點擊此處開啟此網站的行動版。

技術支援討論區

How can I disable search history without disabling any other histories?

已張貼

I recently noticed that my search history had a huge number of remembered queries. I don't really care to see previous searches in my list. Is there a way to configure Firefox to clear that without wiping out any of my other histories? I like having browser history and I don't want it to clear out my auto-complete stuff in forms, but I do want it to wipe out my search history. When looking at settings, it appears the Form and Search history are tied together. That doesn't make sense to me. Is there a flag in about:config I can toggle to just wipe out search history on browser restart, leaving the rest intact? I use the separate search box and have disabled the "awesome bar."

I recently noticed that my search history had a huge number of remembered queries. I don't really care to see previous searches in my list. Is there a way to configure Firefox to clear that without wiping out any of my other histories? I like having browser history and I don't want it to clear out my auto-complete stuff in forms, but I do want it to wipe out my search history. When looking at settings, it appears the Form and Search history are tied together. That doesn't make sense to me. Is there a flag in about:config I can toggle to just wipe out search history on browser restart, leaving the rest intact? I use the separate search box and have disabled the "awesome bar."

被選擇的解決方法

Wow, that extension looks overly complicated for what I want to accomplish. I did some digging into the sqlite files and found that this information is stored in the formhistory.sqlite file in my profile directory. I'm just writing a basic tool that will open that db file and wipe out the 'searchbar-history' items only.

從原來的回覆中察看解決方案 0

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 28.0 r0

應用程式

  • Firefox 60.0.1
  • 使用者代理:Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
  • 技術支援網址:https://support.mozilla.org/1/firefox/60.0.1/WINNT/en-US/

擴充套件

  • Cisco Webex Extension 1.1.0 (ciscowebexstart1@cisco.com)
  • Enhancer for YouTube™ 2.0.71 (enhancerforyoutube@maximerf.addons.mozilla.org)
  • MM3-ProxySwitch 2018.242 (ProxySwitch@MM3Tools.com)
  • New Tab Context 1.0 ({5bd762e6-b119-4729-8960-c39568601224})
  • ReloadMatic 1.7.0 (0.id@reloadmatic.webex)
  • uBlock Origin 1.16.10 (uBlock0@raymondhill.net)
  • User-Agent Switcher 0.2.4 ({75afe46a-7a50-4c6b-b866-c43a1075b071})
  • View Image 2 ({287dcf75-bec6-4eec-b4f6-71948a2eea29})
  • Open in Browser 2.6 (openinbrowser@www.spasche.net) (Inactive)

JavaScript

  • incrementalGCEnabled: True

圖形

  • adapterDescription: AMD Radeon(TM) HD8490
  • adapterDescription2:
  • adapterDeviceID: 0x6771
  • adapterDeviceID2:
  • adapterDrivers: atiu9p64 atiuxp64 atiuxp64 atiu9pag atiuxpag atiuxpag atiumdva atiumd6a atitmm64
  • adapterDrivers2:
  • adapterRAM: 1024
  • adapterRAM2:
  • adapterSubsysID: 21201028
  • adapterSubsysID2:
  • adapterVendorID: 0x1002
  • adapterVendorID2:
  • crashGuards: []
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.2.9200.22164
  • driverDate: 1-15-2013
  • driverDate2:
  • driverVersion: 12.100.0.0
  • driverVersion2:
  • featureLog: {u'fallbacks': [{u'message': u'Unsupported by driver', u'name': u'NO_CONSTANT_BUFFER_OFFSETTING'}], 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'available', u'description': u'Direct2D', u'log': [{u'status': u'available', u'type': u'default'}], 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'available', u'description': u'GPU Process', u'log': [{u'status': u'available', u'type': u'default'}], 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'AzureContentBackend (UI Process)': u'skia', u'AzureCanvasBackend (UI Process)': u'skia', u'ApzWheelInput': 1, u'ApzDragInput': 1, u'ApzKeyboardInput': 1, u'AzureFallbackCanvasBackend (UI Process)': u'cairo', u'ApzAutoscrollInput': 1, u'AzureCanvasAccelerated': 0, u'AzureCanvasBackend': u'Direct2D 1.1', u'AzureContentBackend': u'Direct2D 1.1'}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • offMainThreadPaintEnabled: True
  • offMainThreadPaintWorkerCount: 0
  • usesTiling: False
  • webgl1DriverExtensions: -
  • webgl1Extensions: -
  • webgl1Renderer: WebGL is currently disabled.
  • webgl1Version: -
  • webgl1WSIInfo: -
  • webgl2DriverExtensions: -
  • webgl2Extensions: -
  • webgl2Renderer: WebGL is currently disabled.
  • webgl2Version: -
  • webgl2WSIInfo: -
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11
  • windowUsingAdvancedLayers: True

修改過的偏好設定

其他

  • User JS: 否
  • 輔助功能: 否
cor-el
  • Top 10 Contributor
  • Moderator
17482 個解決方法 158023 個答案

Search history and saved form data are combined, so it isn't easy to remove only the search history.

You can look at this extension:

Search history and saved form data are combined, so it isn't easy to remove only the search history. You can look at this extension: *Form History Control<br>https://addons.mozilla.org/firefox/addon/form-history-control/

選擇的解決方法

Wow, that extension looks overly complicated for what I want to accomplish. I did some digging into the sqlite files and found that this information is stored in the formhistory.sqlite file in my profile directory. I'm just writing a basic tool that will open that db file and wipe out the 'searchbar-history' items only.

Wow, that extension looks overly complicated for what I want to accomplish. I did some digging into the sqlite files and found that this information is stored in the formhistory.sqlite file in my profile directory. I'm just writing a basic tool that will open that db file and wipe out the 'searchbar-history' items only.