Adds AI answers to DuckDuckGo (powered by GPT-4o!)
These are versions of this script where the code was updated. Show all versions.
Disabled drag activation when clicking on interactive UI elems ↞ [auto-sync from adamlui/chatgpt-apps]
adamlui/chatgpt-apps
Added status icon to About modal's scheme row ↞ [auto-sync from adamlui/chatgpt-apps]
Made icons.widescreen.update() arg optional, shortened .create() + toggle.sidebar() ↞ [auto-sync from adamlui/chatgpt-apps]
icons.widescreen.update()
.create()
toggle.sidebar()
Made arg optional for icons.pin.update(), moved in .forEach() loop from toggle.sidebar() for arg-less call, shortened icons.pin.create() ↞ [auto-sync from adamlui/chatgpt-apps]
icons.pin.update()
.forEach()
icons.pin.create()
Renamed sidebar toggle icon IDs to more human readable ones ↞ [auto-sync from adamlui/chatgpt-apps]
Renamed #app-logo to use app-specific prefix ↞ [auto-sync from adamlui/chatgpt-apps]
#app-logo
Added optional target arg to app logo update method, shortened create method using new call ↞ [auto-sync from adamlui/chatgpt-apps]
Replaced base64 in icons.ddgpt.create() w/ // @resource load ↞ [auto-sync from adamlui/chatgpt-apps]
icons.ddgpt.create()
// @resource
Added logos.ddgpt methods ↞ [auto-sync from adamlui/chatgpt-apps]
logos.ddgpt
Shrank About modal ↞ [auto-sync from adamlui/chatgpt-apps]
Added button glow ↞ [auto-sync from adamlui/chatgpt-apps]
Added // @resource loading of logo b64 to update.appLogoSrc() ↞ [auto-sync from adamlui/chatgpt-apps]
update.appLogoSrc()
Enlarged About header logo ↞ [auto-sync from adamlui/chatgpt-apps]
Moved logo in About modal after close btn, centered/padded it ↞ [auto-sync from adamlui/chatgpt-apps]
Eliminated logo pre-load/update.titleAnchor() since src inline + added logo to About modal ↞ [auto-sync from adamlui/chatgpt-apps]
update.titleAnchor()
Reduced config.minFontSize to 11px ↞ [auto-sync from adamlui/chatgpt-apps]
config.minFontSize
Condensed/moved modals.settings.keyHandler up a level, moved document.onkeydown to near-end of main routine ↞ [auto-sync from adamlui/chatgpt-apps]
modals.settings.keyHandler
document.onkeydown
Moved dragHandlers into modals for improved maintainability ↞ [auto-sync from adamlui/chatgpt-apps]
dragHandlers
modals
Moved mousedown listener for dragging from body to modal.init(), shortened handler ↞ [auto-sync from adamlui/chatgpt-apps]
body
modal.init()
Made light scheme modal bg gradient more subtle ↞ [auto-sync from adamlui/chatgpt-apps]
Made dark scheme modal bg gradient more subtle ↞ [auto-sync from adamlui/chatgpt-apps]
Added white border to all dark scheme modals ↞ [auto-sync from adamlui/chatgpt-apps]
Added gradient bg to all modals ↞ [auto-sync from adamlui/chatgpt-apps]
Added starry bg to all modals ↞ [auto-sync from adamlui/chatgpt-apps]
Disabled mobile scrolling when swiping on modals ↞ [auto-sync from adamlui/chatgpt-apps]
Abstracted modals.settings.clickHandler() up one level to support re-use in future modals ↞ [auto-sync from adamlui/chatgpt-apps]
modals.settings.clickHandler()
Added modals.hide() to easily re-use custom animation styles in future modals ↞ [auto-sync from adamlui/chatgpt-apps]
modals.hide()
Extended modals.init() actions, replaced bg CSS selectors w/ general ones ↞ [auto-sync from adamlui/chatgpt-apps]
modals.init()
Slowed modal transitions, moved styles to more general selector ↞ [auto-sync from adamlui/chatgpt-apps]
Made Settings modal's About status label ticker-scrolling toggle w/ Foreground Animations toggle ↞ [auto-sync from adamlui/chatgpt-apps]
Made modals click-draggable ↞ [auto-sync from adamlui/chatgpt-apps]
Added chatgpt.js to About item in Settings + ticker scroll effect ↞ [auto-sync from adamlui/chatgpt-apps]
Merged toggle.animations.bg() + toggle.animations.fg() into toggle.animations(layer) ↞ [auto-sync from adamlui/chatgpt-apps]
toggle.animations.bg()
toggle.animations.fg()
toggle.animations(layer)
Fixed Auto scheme selection doesn't stick in memory or status label ↞ [auto-sync from adamlui/chatgpt-apps]
Added starry bg to Settings modal ↞ [auto-sync from adamlui/chatgpt-apps]
Abstracted fillStarryBG(targetNode) ↞ [auto-sync from adamlui/chatgpt-apps]
fillStarryBG(targetNode)
Corrected notification msg when picking Auto color scheme ↞ [auto-sync from adamlui/chatgpt-apps]
Merged one-off update.stars() into update.scheme() ↞ [auto-sync from adamlui/chatgpt-apps]
update.stars()
update.scheme()
Alphabetized update methods for readability ↞ [auto-sync from adamlui/chatgpt-apps]
update
Added update.scheme() for change listener + modals.scheme.show(), condensed code ↞ [auto-sync from adamlui/chatgpt-apps]
modals.scheme.show()
Moved content update functions into update obj for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Disabled text selection when dragging Font Size slider thumb ↞ [auto-sync from adamlui/chatgpt-apps]
Raised Wider Sidebar button in Firefox ↞ [auto-sync from adamlui/chatgpt-apps]
Added slight blue tint to dark scheme answer pre ↞ [auto-sync from adamlui/chatgpt-apps]
Re-padded chatbar buttons to look nicer ↞ [auto-sync from adamlui/chatgpt-apps]
Increased right-gap of Settings button ↞ [auto-sync from adamlui/chatgpt-apps]
Re-styled dark scheme answer bubble ↞ [auto-sync from adamlui/chatgpt-apps]
Tweaked related query bubble bg's to show bg dots most beautifully ↞ [auto-sync from adamlui/chatgpt-apps]
Lightened dark scheme corner btn hover dim ↞ [auto-sync from adamlui/chatgpt-apps]
Added option to disable foreground animations ↞ [auto-sync from adamlui/chatgpt-apps]
Show all script versions