开发者

firefox opera custom search engine and mod_rewrite sites

开发者 https://www.devze.com 2023-03-18 16:30 出处:网络
In 开发者_StackOverflowfirefox and opera one can create a custom search engine but it passes along the search as a standard get or post variable. Is there anyway to embed that search term in the url f

In 开发者_StackOverflowfirefox and opera one can create a custom search engine but it passes along the search as a standard get or post variable. Is there anyway to embed that search term in the url for sites that use pretty urls.

Example I search github 1411 and it sends me to github.com/myusername/myproject/ticket-1411

or even better two parameters I search github compare 1411 sends me to github.com/myusername/myproject/compare/ticket-1411


Use the github domain as the search URL and %s to substitute the number at the end:

http://www.github.com/myusername/myproject/ticket-%s

Search for 1411 to test the custom search.

0

精彩评论

暂无评论...
验证码 换一张
取 消