chatgpt-google-extension
chatgpt-google-extension copied to clipboard
Only Enable ChatGPT when query ends with question mark
type
enhancement
description
Per request by #43 and #28 , and we do see ChatGPT is occasionally and increasingly out of quota,
,
as well as considering many users don't wanna send everything to ChatGPT,
this PR is to enable ChatGPT only when query ends with question mark. Currently it supports question marks of ASCII (English, and many languages that use this style), Chinese/Japanese, and Arabic style.
how
Checks if trimmed query ends with specific question marks.
test
Below is the manual test result to show it does support such question marks, and don't include ChatGPT result when the question mark is absent.