Firefox 栏可快速查找 API 文档
这个问题与这个问题相关 Google 快速找到所需页面的技巧
Firefox 可以发挥一些魔力并带来正是所需的页面。 例如,
java 6 SimpleDateFormat
ruby doc rexml
但有时它无法给出通常的谷歌结果:
ruby rexml
有时我希望它去不同的位置:
javascript array slice
I see
http://www.w3schools.com/jsref/jsref_slice_array.asp
but whould like it to be
https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array/slice
顺便说一句,它是如何工作的? 在哪里可以找到所有现有映射,以及如何添加/编辑它们? 如果它们可以作为文本文档查看/编辑,那就太酷了。
This question is related to this one
Tricks to Google for desired page quickly
Firefox can do some magic and bring exactly the required pages. E.g.
java 6 SimpleDateFormat
ruby doc rexml
But some times it fails giving a usual google results:
ruby rexml
And some times I whould like it to go to different a location:
javascript array slice
I see
http://www.w3schools.com/jsref/jsref_slice_array.asp
but whould like it to be
https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array/slice
How it works, btw? Where can I find all existing mappings, and how can I add/edit them? If they can be viewed/edited as text document, it whould be cool.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以添加 YubNub 作为搜索引擎(这是我的默认设置),然后将您选择的 api 文档作为 YubNub 命令,如果它还不存在。 我一直将它用于 Ruby,例如
rdoc String
You can add YubNub as a search engine, (It's my default) and then your api docs of choice as a YubNub command if it doesn't exist already. I use it for Ruby all the time, e.g.
rdoc String
您有多种选择:
使用右侧搜索框(其中有可用的搜索提供程序)。 MDC曾经有过这样的提供商,但是他们的搜索引擎很糟糕。 例如SO有这样的提供者。 它由右侧箭头上的蓝色阴影表示。
导航到特定搜索引擎,右键单击搜索字段并“为此搜索添加关键字”。 例如,您可以添加“js”。 以后您只需在地址栏中输入“js array slice”,FF 就会带您进入该特定搜索引擎的搜索结果页面。
如果该网站上没有搜索引擎,请使用 Google 自定义搜索,定义引擎根据您的喜好,然后按照第 2 点中的步骤进行操作。
如果要修改地址栏的内置搜索引擎,请打开一个新选项卡,转到 about:config,然后执行搜索“关键字.URL”。
You have several options:
Use the right-hand side search box where a search provider is available. MDC once had such a provider, but their search engine sucks big times. For example SO has such a provider. It's denoted by a shade of blue on the arrow right there.
Navigate to a particular search engine, right click the search field and "Add a Keyword for this Search". You may add "js" for example. In the future all you have to do is to type "js array slice" in the address bar and FF will bring you to the search results page of that particular search engine.
If there's no search engine on that site, use Google Custom Search, define engines as you like and then follow steps at point 2.
If you want to modify the built-in search engine for address bar, open a new tab, go to about:config and then search for "keyword.URL".
这些不是映射,而是 Google Lucky 搜索,不是吗?
These aren't mappings, it's a Google Lucky search, isn't it?