Skip to content

Commit

Permalink
update `url' info to match Chrome doc's wording
Browse files Browse the repository at this point in the history
  • Loading branch information
hns258 committed Sep 22, 2022
1 parent 2653854 commit 0e0c4d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ declare namespace contextMenu {
This allows the use of a search engine besides Google (e.g., Bing and DuckDuckGo). The `title` and `url` of the desired search engine need to be provided. The `{searchEngine}` placeholder will be replaced by `title`.
@property {string} title - The title/name of the search engine.
@property {string} url - The URL of the search engine (with query syntax used in Chrome https://support.google.com/chrome/answer/95426#ts&zippy=%2Curl-with-s-in-place-of-query-field).
@property {string} url - The search engine's results "URL with `%s` in place of query" (syntax used in Chrome https://support.google.com/chrome/answer/95426#ts&zippy=%2Curl-with-s-in-place-of-query-field).
@example
```
{
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Properties:

`title` - string - The title/name of the search engine.

`url` - string - The URL of the search engine (with query syntax used in Chrome https://support.google.com/chrome/answer/95426#ts&zippy=%2Curl-with-s-in-place-of-query-field).
`url` - string - The search engine's results "URL with `%s` in place of query" (syntax used in Chrome https://support.google.com/chrome/answer/95426#ts&zippy=%2Curl-with-s-in-place-of-query-field).

Examples:
```js
Expand Down

0 comments on commit 0e0c4d6

Please sign in to comment.