10

有没有办法在 Firefox 中获得一个 MSDN 搜索栏,它会自动完成 .Net 类和成员名称(最好还有 Win32 API 方法)并将我直接带到 MSDN 页面?

带有 Shift+Enter 的 Google 工具栏(我感觉很幸运)通常会直接转到 .Net 类的 msdn 页面,但它没有针对性的自动完成功能。另外,由于我懒得打字site:msdn.microsoft.com,它并不总是带我去 MSDN。(例如,Graphics

4

4 回答 4

7

有几个可用的msdn 搜索提供程序。

于 2010-01-07T18:41:58.830 回答
5

这个搜索插件(来自 flyfishr64 链接的列表)运行良好(建议和一切)。

于 2010-01-07T18:50:30.730 回答
3

您可以使用以下网址为书签页面创建带有通配符%s和关键字的书签:msdn

http://social.msdn.microsoft.com/search/en-us/?query=%s

现在在地址栏中,当我输入“msdn StringBuilder”时,它会将我带到这个结果页面:http ://social.msdn.microsoft.com/search/en-us/?query=StringBuilder

我对stackoverflow关键字和http://stackoverflow.com/questions/tagged/%s网址做了同样的事情。

编辑:正如@AgentConundrum 指出的那样,使用http://www.google.com/search?hl=en&safe=off&q=%s%20site:msdn.microsoft.comurl 会将 Google 搜索限制在该msdn.microsoft.com站点。

于 2010-01-07T18:51:41.370 回答
1

I ended up editing this search plugin from Shog9's answer and changing the search URL to Google's I'm Feeling Lucky.

Here's the XML:

<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
    <!-- Created on Thu, 07 Jan 2010 15:11:13 GMT -->
    <ShortName>MSDN</ShortName>
    <Description>Search MSDN documentation</Description>
    <Url type="text/html" method="get" template="http://www.google.com/search?hl=en&amp;q={searchTerms}+site%3Amsdn.microsoft.com&amp;btnI=I"/>
    <Url type="application/x-suggestions+json" template="http://services.social.microsoft.com/search//Data/AutoCompleteTerms?t={searchTerms}&amp;b=Msdn&amp;l=en-US&amp;m=10&amp;rf=oss10"/>
    <Image width="16" height="16">http://mycroft.mozdev.org/updateos.php/id0/msdn_schnore.ico</Image>
    <Developer>Schabse Laks</Developer>
    <InputEncoding>UTF-8</InputEncoding>
    <moz:SearchForm>http://social.msdn.microsoft.com/Search/en-US/</moz:SearchForm>
    <Url type="application/opensearchdescription+xml" rel="self" template="http://mycroft.mozdev.org/updateos.php/id0/msdn_schnore.xml"/>
</OpenSearchDescription>
于 2010-01-07T19:57:03.387 回答