English 中文(简体)
把一种习俗搜索引擎添加到hr
原标题:Adding a custom search engine to chrome

我刚刚开始撰写《展期》。 现在我点击了一个路障。 我的理解是,所有神学数据都储存在称为WEB DATA的KQite数据库中。

现在,根据对“总括”的一些投入,需要将一些记录列入本《综合贸易法》的表格。

你们是否知道,在幼苗开放时,如何以方案方式做到这一点? 因为我们可以选择——“并”;管理搜索引擎——“并”;在底层增加一个新的搜索引擎。 如何在幕后这样做?

提前感谢!

问题回答

As far as I know, You can t directly edit the file while chrome is running. Trying to do so with sqlite3.exe returns database is locked error.
see my answer here for more info on how to add a search engine

页: 1

第一,在谷歌中增加搜索提供者:

  • Right-click the address-bar and select "Edit search engines...";
  • In the page "chrome://settings/searchEngines", click "Add";
  • Enter search engine name, keyword and search URL (e.g. DuckDuckGo, duckduckgo.com, https://duckduckgo.com/?q=%s), click "Add";
  • Close Google Chrome;

开放视窗指挥部(cmd.exe)。 指挥类型如下:

sqlite3.exe "%LOCALAPPDATAGoogleChromeUser DataDefaultWeb Data"

(如“网络数据”是实际的qlite-database文档)

档案以斜体开启。 如今,以下指挥系统将搜索引擎出口到CSV-file:

sqlite> .headers on
sqlite> .mode csv
sqlite> .output C:/keywords_table.csv
sqlite> SELECT * FROM keywords;
sqlite> .quit

Open the the .CSV-file and notice the last line: 6,DuckDuckGo,duckduckgo.com,https://duckduckgo.com/favicon.ico,https://duckduckgo.com/?q={searchTerms},0,"",13173455944766115,0,"","",0,0,13173455944766115,2bb9a9bf-8921-421a-89b4-06deeaaf0742,[],"","","","","",0

Use the information from the .CSV-file to add the new search engine to Google Chrome (again from Windows Command Prompt):

sqlite3.exe "%LOCALAPPDATA%GoogleChromecontinuousUpdatesUser DataDefaultWeb Data" "INSERT INTO keywords VALUES(6, DuckDuckGo , duckduckgo.com , https://duckduckgo.com/favicon.ico , https://duckduckgo.com/?q={searchTerms} ,0,  ,13173455944766115,0,  ,  ,0,0,13173455944766115, 2bb9a9bf-8921-421a-89b4-06deeaaf0742 , [] ,  ,  ,  ,  ,  ,0);"

我用单一方略来取代所有双重报价的通知,并将所有直观价值放在单一方略中。

Start Google Chrome and check "chrome://settings/searchEngines" if the new search engine appears in the list "Default search engines" or "Other search engines"





相关问题
Redirect to cache URL in Chrome browser

self.location = cache: + self.location I want to redirect from "[URL]" to "cache:[URL]". I just want this code to work in Chrome browser.

我如何更新/重载 Chrome延?

I m在4号 Chrome(目前为4.0.249.0)中开发一个延伸点,显示用户在地位酒吧中的形象。 Ive设计了一个供用户使用的备选办法网页......

Setting Opacity in CSS For Chrome

I ve tried the following: (this is actually for fancybox, as the overlay does not show in chrome/safari: $("#fancy_overlay").css({<br /> background-color : opts....

Chrome Blocking Javascript, Google Wave, Google Gadgets

Project: Developing a gadget template for Google Wave which will allow my Flash movies to interact with the Wave api. I had to adapt the existing Flex application so that it would work with ...

image height using jquery in chrome problem

$( img ).height() returns 0 in chrome, but it returns the actual height in IE and firefox. Whats the actual method to get the height of the image in chrome?

jQuery block moving

I wanna move a div block to the top, so I coded like this: CSS part: .movingPart{ margin-top:80px; } jQuery part: $(document).ready(function() { $( #btn ).click(function() { $( .movingPart )....

Table cells bad rendering with Google Chrome/Webkit

On the following code, COL1A and COL3A are not 50% height with Chrome or Webkit. It works fine with IE7 and Firefox. <table border="1"> <tr> <td height="100%">COL 1A</td>...

热门标签