Thêm câu trả lời của ChatGPT vào thanh bên của Brave Search (được cung cấp bởi GPT-4!)
Đây là phiên bản của script này, nơi mã nguồn đã được cập nhật. Hiện tất cả các phiên bản.
Appended commit hashes to icon meta URLs to preserve assets ↞ [auto-sync from KudoAI/bravegpt]
KudoAI/bravegpt
Bumped chatgpt.js to 2.9.2 ↞ [auto-sync from KudoAI/bravegpt]
Updated // @supportURL ↞ [auto-sync from KudoAI/bravegpt]
// @supportURL
Updated latest asset commit hash in config.assetHostURL ↞ [auto-sync from KudoAI/bravegpt]
config.assetHostURL
Bumped chatgpt.js to 2.8.0 ↞ [auto-sync from KudoAI/bravegpt]
Bumped chatgpt.js to 2.7.1 ↞ [auto-sync from KudoAI/bravegpt]
Inserted latest locale commit hash to config.assetHostURL to preserve potentially deleted msg keys ↞ [auto-sync from KudoAI/bravegpt]
Bumped chatgpt.js to 2.7.0 + generate-ip to 2.4.1 ↞ [auto-sync from KudoAI/bravegpt]
Added doc URL as header comment ↞ [auto-sync from KudoAI/bravegpt]
Updated chat.openai.com URLs to chatgpt.com ↞ [auto-sync from adamlui/chatgpt-apps]
adamlui/chatgpt-apps
Bumped chatgpt.js to 2.6.10 ↞ [auto-sync from KudoAI/bravegpt]
Added 'Send reply' tooltip removal on click-sends
Renamed rqEventHandler() to more parallel handleRQevent()
rqEventHandler()
handleRQevent()
Fixed chatbar always auto-focuses on 1st load
Excluded related query submissions from triggering chatbar auto-focus
Added auto-focus chatbar on 2nd+ loads
Updated ChatGPT session endpoint URL
Replaced raw.githubusercontent.com URLs w/ cdn.jsdelivr.net ones ↞ [auto-sync from KudoAI/bravegpt]
Updated raw.githubusercontent.com config.assetHostURL to cdn.jsdelivr.net one ↞ [auto-sync from KudoAI/bravegpt]
Bumped chatgpt.js to 2.6.9 + generate-ip to 2.2.12 ↞ [auto-sync from KudoAI/bravegpt]
Loosened comparison operators for smaller filesize ↞ [auto-sync from KudoAI/bravegpt]
Replaced using alt as fallback for header logo src w/ appLogoImg.onerror
appLogoImg.onerror
... to hide ugly broken image icon in Chromium browsers ↞ [auto-sync from KudoAI/bravegpt]
Shortened .kudo-ai class name to .kudoai
.kudo-ai
.kudoai
Eliminated isChromium for simplicity ↞ [auto-sync from KudoAI/bravegpt]
isChromium
Refactored msg fetcher for readability + if en/messages.json ever goes missing
const messages
msgs
Extended overflow fixing to all ancestors to fight recent/future UI changes ↞ [auto-sync from KudoAI/bravegpt]
Removed Sticky Sidebar mode for incompatibility w/ new layout ↞ [auto-sync from KudoAI/bravegpt]
Separated 1st line of code from updateAppStyle() signature for readability ↞ [auto-sync from KudoAI/bravegpt]
updateAppStyle()
Condensed updateAppStyle() for brevity ↞ [auto-sync from KudoAI/bravegpt]
Bumped generate-ip to 2.2.10 ↞ [auto-sync from KudoAI/bravegpt]
Added logo/style scheme auto-update on Brave Search scheme changes
... since Brave Search fails to consistently auto-reload pages on changes ↞ [auto-sync from KudoAI/bravegpt]
Replaced deprecated var(--search-text-06) light-mode .feedback text color w/ #aaa ↞ [auto-sync from KudoAI/bravegpt]
var(--search-text-06)
.feedback
#aaa
Updated logo to match new Brave one ↞ [auto-sync from KudoAI/bravegpt]
Shrank logo ↞ [auto-sync from KudoAI/bravegpt]
Added border ↞ [auto-sync from KudoAI/bravegpt]
Bumped generate-ip to 2.2.4 ↞ [auto-sync from KudoAI/bravegpt]
Bumped generate-ip to 2.2.3 ↞ [auto-sync from KudoAI/bravegpt]
Bumped generate-ip to 2.2.1 ↞ [auto-sync from KudoAI/bravegpt]
Bumped chatgpt.js to 2.6.8 ↞ [auto-sync from KudoAI/bravegpt]
Added 'ipv4' to globals ↞ [auto-sync from KudoAI/bravegpt]
'ipv4'
globals
Updated KaTeX SRI hash ↞ [auto-sync from KudoAI/bravegpt]
Bumped KaTeX to 0.16.10 ↞ [auto-sync from KudoAI/bravegpt]
Replaced '(c)' w/ '©' ↞ [auto-sync from adamlui/chatgpt-apps]
Bumped chatgpt.js to 2.6.7 ↞ [auto-sync from KudoAI/bravegpt]
Added hyphens to script name regex in config.updateURL ↞ [auto-sync from KudoAI/bravegpt]
config.updateURL
Further reduced potential for backtracking in config.updateURL regex ↞ [auto-sync from KudoAI/bravegpt]
Improved regex
± Eliminated potential for exponential/polynomial backracking in msgHref.replace regex by increasing specificity in capturing groups
msgHref.replace
Increased specificity in regex group to eliminate potential for polynomial backtracking ↞ [auto-sync from KudoAI/bravegpt]
Removed title attr's from Sticky/Wider Sidebar button spans
... to disable browser-native tooltips
updateSSBsvg()
Updated text-to-speech routine
replyDialect.rate
GM.xmlHttpRequest()
Hiển thị mọi phiên bản của script