Добавляет ответы ИИ в Google Search (на базе Google Gemma + GPT-4o!)
Ниже показаны версии этого скрипта, в которых изменялся код. Показать все версии.
Limited lines to 120 chars max for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Eliminated register options init from menu.register() for simplicity + disabled script title tooltips on About/Settings in TM 5.0+ ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
menu.register()
Moved config.userLocale to env.userLocale for improved structure ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
config.userLocale
env.userLocale
Removed no-longer used config.userLanguage ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
config.userLanguage
Merged settings controls init into settings init section for simplicity ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Split config/settings inits into 2 lines for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
config
settings
Moved app.msgs init/localization up for improved structure ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
app.msgs
Moved xhr init to top for improved structure ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
xhr
Moved env init 1st for consistency across my userscripts ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
env
Improved top init section comments for clarity ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Moved config.userLanguage to env.browser.language for improved structure ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
env.browser.language
Condensed style assignments ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Removed trailing whitespace ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Removed base arg from parseInt()s that don't need them ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
parseInt()
Improved readability of streamingSupported key names ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
streamingSupported
Added tooltips to toolbar menu items for Tampermonkey 5.0+ users ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Renamed settings.props to more semantic settings.controls ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
settings.props
settings.controls
Moved app.settings to settings.props for improved structure ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
app.settings
Condensed style init/assignments ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Bumped app.latestAssetCommitHash ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
app.latestAssetCommitHash
Trigger messages.json sync ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Loosened comparison operators for smaller filesize ↞ [auto-sync from adamlui/ai-web-extensions]
adamlui/ai-web-extensions
Mitigated super-linear backtracking in regex ↞ [auto-sync from adamlui/ai-web-extensions]
Escaped curly braces in regex to widen browser support ↞ [auto-sync from adamlui/ai-web-extensions]
Shortened regex ↞ [auto-sync from adamlui/ai-web-extensions]
Renamed styledState in notify() to styledStateSpan for readability ↞ [auto-sync from adamlui/ai-web-extensions]
styledState
notify()
styledStateSpan
Added ease transition to box-shadow on app div hover ↞ [auto-sync from adamlui/ai-web-extensions]
Condensed node clearing ↞ [auto-sync from adamlui/ai-web-extensions]
Added inset shadow to light scheme chatbar ↞ [auto-sync from adamlui/ai-web-extensions]
Shortened safeWinOpen() ↞ [auto-sync from adamlui/ai-web-extensions]
safeWinOpen()
Added auto-reload on update ↞ [auto-sync from adamlui/ai-web-extensions]
Bumped app.latestAsetCommitHash ↞ [auto-sync from adamlui/ai-web-extensions]
app.latestAsetCommitHash
Replaced document.onkeydown to dismiss modals w/ .addEventListener() to accommodate potential other listeners ↞ [auto-sync from adamlui/ai-web-extensions]
document.onkeydown
.addEventListener()
Updated ai-apps to ai-web-extensions everywhere ↞ [auto-sync from adamlui/ai-web-extensions]
ai-apps
ai-web-extensions
Added missing ) ↞ [auto-sync from adamlui/ai-apps]
)
adamlui/ai-apps
Narrowed scope of @connect URLs for improved privacy/security ↞ [auto-sync from adamlui/userscripts]
@connect
adamlui/userscripts
Changed env.scriptManager val when GM_info.scriptHandler undefined to more readable unknown ↞ [auto-sync from adamlui/ai-apps]
env.scriptManager
GM_info.scriptHandler
unknown
Updated apis.AIchatOS.expectedOrigin.url ↞ [auto-sync from adamlui/ai-apps]
apis.AIchatOS.expectedOrigin.url
Fixed dataProcess.stream() renders JSON sometimes ↞ [auto-sync from adamlui/ai-apps]
dataProcess.stream()
Bumped chatgpt.js to 3.3.5 ↞ [auto-sync from adamlui/ai-apps]
Removed dead Free Chat API ↞ [auto-sync from adamlui/ai-apps]
Added skip API if streaming JSON ↞ [auto-sync from adamlui/ai-apps]
Added 'Method Not Allowed' to Free Chat API fail flags ↞ [auto-sync from adamlui/ai-apps]
Changed chatgpt-apps to ai-apps everywhere ↞ [auto-sync from adamlui/ai-apps]
chatgpt-apps
Removed disabled deepseek-llm-67b-chat from Free Chat API availModels ↞ [auto-sync from adamlui/chatgpt-apps]
deepseek-llm-67b-chat
availModels
adamlui/chatgpt-apps
Removed unneeded organization_restricted fail flag from Free Chat API since invalid_request_error also triggers ↞ [auto-sync from adamlui/chatgpt-apps]
organization_restricted
invalid_request_error
Added organization_restricted to Free Chat API fail flags ↞ [auto-sync from adamlui/chatgpt-apps]
Tweaked rqPrompt to bypass new Free Chat API detection ↞ [auto-sync from adamlui/chatgpt-apps]
rqPrompt
Added 'Model disabled' to Free Chat API fail flags ↞ [auto-sync from adamlui/chatgpt-apps]
Deduplicated log.debug in dataProcess.text() ↞ [auto-sync from adamlui/chatgpt-apps]
log.debug
dataProcess.text()
Показать все версии скрипта