我想提供搜索引擎结果的链接,但我希望它们在您选择的浏览器中显示在您选择的搜索引擎中。我怎么能这样做?
而不是:
<a href="https://encrypted.google.com/#q=what%20does%20the%20fox%20say">what
does the fox say?</a>
或:
<a href="https://duckduckgo.com/?q=what+does+the+fox+say&t=canonical">what
does the fox say?</a>
我想写一些类似的东西:
<a href="search:what+does+the+fox+say">what does the fox say?</a>
答案 0 :(得分:0)
似乎没有HTML或JavaScript标准可以涵盖这一点。
older question about PHP建议根据具体情况向用户提供下拉菜单。 (感谢Chris指针。)