為 Google Search 添加 AI 答案(由 Google Gemma + GPT-4o 提供支援!)
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
Shortened <window|document>.location to location ↞ [auto-sync from adamlui/chatgpt-apps]
<window|document>.location
location
adamlui/chatgpt-apps
Moved config.userLocale init inside Object.assign() for simplicity ↞ [auto-sync from adamlui/chatgpt-apps]
config.userLocale
Object.assign()
Moved config.userLanguage init inside Object.assign() for simplicity ↞ [auto-sync from adamlui/chatgpt-apps]
config.userLanguage
Moved safeWindowOpen() inside modals, shortened name ↞ [auto-sync from adamlui/chatgpt-apps]
safeWindowOpen()
modals
Shortened app.urls.update init ↞ [auto-sync from adamlui/chatgpt-apps]
app.urls.update
Updated log highlighting to ignore lowercase state words ↞ [auto-sync from adamlui/chatgpt-apps]
Enclosed fail flags in detection logs in quotes for improved readability ↞ [auto-sync from adamlui/chatgpt-apps]
Shortened env.browser.isFirefox to env.browser.isFF ↞ [auto-sync from adamlui/chatgpt-apps]
env.browser.isFirefox
env.browser.isFF
Shortened env.userscriptManager to env.scriptManager ↞ [auto-sync from adamlui/chatgpt-apps]
env.userscriptManager
env.scriptManager
Merged getUserscriptManager() calls + browser into env for improved structure ↞ [auto-sync from adamlui/chatgpt-apps]
getUserscriptManager()
browser
env
Wrapped settings methods to align w/ my Chrome extensions for improved readability ↞ [auto-sync from adamlui/chatgpt-apps]
Set cursor to dragging during modal click-drag ↞ [auto-sync from adamlui/chatgpt-apps]
Moved XHR init before 1st use for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Moved style update methods inside update.style for readability ↞ [auto-sync from adamlui/chatgpt-apps]
update.style
Corrected param refs in schemeNotify() ↞ [auto-sync from adamlui/chatgpt-apps]
schemeNotify()
Moved browser/UI props into obj for readability/scalability ↞ [auto-sync from adamlui/chatgpt-apps]
Removed logging from reliable appAlert() for cleaner console ↞ [auto-sync from adamlui/chatgpt-apps]
appAlert()
Changed proxy 200 response failure log label in dataProcess.text() to more accurate 'Response text' ↞ [auto-sync from adamlui/chatgpt-apps]
dataProcess.text()
Changed non-200 response log in dataProcess.text() to show text ↞ [auto-sync from adamlui/chatgpt-apps]
Updated log.regEx refs ↞ [auto-sync from adamlui/chatgpt-apps]
log.regEx
Added coloring of state words in logs for improved readability
± Renamed log.regEx key names to more accurate ones ↞ [auto-sync from adamlui/chatgpt-apps]
Re-organized function defs for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Bumped chatgpt.js to 3.3.0 ↞ [auto-sync from adamlui/chatgpt-apps]
Replaced String.match() in dataProcess methods w/ faster RegExp.exec() ↞ [auto-sync from adamlui/chatgpt-apps]
String.match()
dataProcess
RegExp.exec()
Moved factory function defs up to support early calls ↞ [auto-sync from adamlui/chatgpt-apps]
Moved factory functions into create obj for improved structure ↞ [auto-sync from adamlui/chatgpt-apps]
create
Disabled button animations when FG Animations setting disabled ↞ [auto-sync from adamlui/chatgpt-apps]
Refactored exposed timing vals of show.copyBtns() to local consts for clarity ↞ [auto-sync from adamlui/chatgpt-apps]
show.copyBtns()
Condensed browser flags init ↞ [auto-sync from adamlui/chatgpt-apps]
Corrected alertP.id init ↞ [auto-sync from adamlui/chatgpt-apps]
alertP.id
Added mouse down/up styles to corner buttons
± Re-ordered/named CSS props for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Enlarged log app name prefix font size in FF ↞ [auto-sync from adamlui/chatgpt-apps]
Bumped chatgpt.js to 3.2.1 ↞ [auto-sync from adamlui/chatgpt-apps]
Abstracted URLs into app.urls for improved maintainability ↞ [auto-sync from adamlui/chatgpt-apps]
app.urls
Corrected failMatch init syntax ↞ [auto-sync from adamlui/chatgpt-apps]
failMatch
Removed/corrected buttons in Feedback modal from erroneously created DDGPT ones ↞ [auto-sync from adamlui/chatgpt-apps]
Added logging of exact fail flag if matched to dataProcess methods
± Changed log.info() to log.debug() for cleaner console when Debug Mode off ± Changed log labels 'Response' to more specific 'Response text' ↞ [auto-sync from adamlui/chatgpt-apps]
log.info()
log.debug()
Moved get.userscriptManager() def back out to hoist for early config init ↞ [auto-sync from adamlui/chatgpt-apps]
get.userscriptManager()
config
Wrapped session functions in session for readability, shortened names ↞ [auto-sync from adamlui/chatgpt-apps]
session
Moved getUserscriptManager() into get + alphabetized methods for readability ↞ [auto-sync from adamlui/chatgpt-apps]
get
Added Debug Mode, improved logging
± Limited logging to errors when Debug Mode off ± Expanded log methods to accept unlimited args ± Added coloring to log methods
Disabled ESLint for no-unused-vars in func sig for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Condensed log method defs using loop ↞ [auto-sync from adamlui/chatgpt-apps]
Added log.caller resets to log methods for unprefixed logs ↞ [auto-sync from adamlui/chatgpt-apps]
log.caller
Moved log caller prefix separator inits from callers to log methods for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Added background/colors to log prefixes ↞ [auto-sync from adamlui/chatgpt-apps]
Renamed log.prefix to log.caller since app name/symbol is prefix too ↞ [auto-sync from adamlui/chatgpt-apps]
log.prefix
Moved browser flags into obj for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Separated static app data from config for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Shortened notif init in notify() ↞ [auto-sync from adamlui/chatgpt-apps]
notif
notify()
顯示所有腳本版本