From 0e0c4d6fb9c02da0f38f97cd188480e47b10ce23 Mon Sep 17 00:00:00 2001 From: hns258 Date: Thu, 22 Sep 2022 13:08:12 -0400 Subject: [PATCH] update `url' info to match Chrome doc's wording --- index.d.ts | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index ef37629..59783b3 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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 ``` { diff --git a/readme.md b/readme.md index f8931d5..9651baa 100644 --- a/readme.md +++ b/readme.md @@ -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