Adaugă răspunsuri AI la DuckDuckGo (alimentat de GPT-4o!)
Acestea sunt versiunile scriptului în care codul a fost actualizat. Arată toate versiunile.
Removed debug logs from modals.dragHandlers() to reduce verbosity ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
modals.dragHandlers()
Refactored siteAlert() to reduce modals.init() calls + eliminate modal ID inits ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
siteAlert()
modals.init()
Updated rising stars stylesheet src's to assets.aiwebextensions.com URLs ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Removed noUpdateModal init from updateCheck() for simplicity ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
noUpdateModal
updateCheck()
Changed app.urls.relatedApps key name to relatedExtensions ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
app.urls.relatedApps
relatedExtensions
Renamed moreChatGPTapps() to moreAIextensions() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
moreChatGPTapps()
moreAIextensions()
Added line break for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
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]
Removed test log ↞ [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
Bumped generate-ip to 2.4.4 ↞ [auto-sync from 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]
Arata toate versiunile scriptului