Google Chrome从扩展程序访问搜索引擎设置 [英] Google Chrome access search engine settings from extension

查看:107
本文介绍了Google Chrome从扩展程序访问搜索引擎设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从Chrome扩展程序访问搜索引擎设置,以便使用搜索引擎列表填充上下文菜单。
扩展名操作如下:

用户选择文本,打开子菜单搜索{选择} ...的上下文菜单,并获取引擎列表,点击需要的引擎并转到相关搜索网址

I need access to search engines settings from Chrome extension to populate context menu with search engines list. Extension operate as follows:
User select text, opens context menu with submenu "Search {selection} by ..." and get list of engines, click needed engine and go to relevant search url

推荐答案

您最好的选择是手动建立一个显示给用户的大量搜索引擎。没有收集当前安装的搜索引擎的实用方法。

Your best option is going to manually build an extensive list of search engines that are displayed to the user. There is no pragmatic method of collecting currently installed search engines.

这篇关于Google Chrome从扩展程序访问搜索引擎设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆