Legger til AI-svar på Google Search (drevet av Google Gemma + GPT-4o!)
Dette er versjoner av dette scriptet hvor koden ble oppdatert. Vis alle versjoner.
Allowed un-inited alerts in googleGPTalert()
googleGPTalert()
Re-wrapped forbidden + maintenance alerts in googleGPTalert()
Moved fetchJSON() def to UI functions
fetchJSON()
Replaced all config.prefix w/ config.keyPrefix
config.prefix
config.keyPrefix
Renamed camelCase(input) to toCamelCase(str)
camelCase(input)
toCamelCase(str)
Updated config key prefix var name in (load|save)Setting()
(load|save)Setting()
Added hyphen-stripping to camelCase(input)
Loosened string equality comparisons
Refactored camelCase(input)
index
.flatMap()
()
Added config.appName
config.appName
Loosened string equality comparison
Clarified comment
Moved var/function inits up
Increased probability of KudoAI footer text shown
Added utm_ontent insetion to footerl links
utm_ontent
Relaced createSVGelem() w/ createSVGpath()
createSVGelem()
createSVGpath()
Excluded non-self GoogleGPT groups from footer
Made displayText optional in createAnchor()
displayText
createAnchor()
Added createAnchor()
Shortened arg nam in createSVGelem()
Added config.feedbackURL, shortened footer init
config.feedbackURL
Added 2nd dimensions to SVGs for wider compatibility
Implemented loops for setting 3+ attrs on elems
Added tooltip loading to footer text
Updated sidebar selector in hostContainer init
hostContainer
Added utm_source insertion to campaign destination URLs
Updated campaignsURL
campaignsURL
Added exclusion of self-groups in active campaign routine
... for other apps
Excluded GoogleGPT campaigns
Removed unused groupName
groupName
Revamped active text campaign routine
± Updated advertiser index JSON URL ± Shuffled advertiser list before selection
adsURL
textAdsURL
active
Moved ctaAnchor init into getShowReply(), added footerLink arg
ctaAnchor
getShowReply()
footerLink
... to googleGPTshow()
googleGPTshow()
Localized 'Share feedback' CTA
Added // @compatible waterfox
// @compatible waterfox
Darkened related query icons
Added // @compatible kiwi
// @compatible kiwi
Lightened related query icon light scheme color
Added related query icons + feedback footer
H-aligned mobile speech balloon tip
Reduced mobile v-margins
Replaced isDarkMode() in notify() w/ flag
isDarkMode()
notify()
Moved UI flag inits up, added isMobile
isMobile
Reduced mobile top margin
Added top margin in mobile view
Hard-added light background for mobile support
Hid WSB menu cmd + btn from mobile, re-ordered listener attachments
Adjusted chatbar size based on more conditions
± Moved chatbar sizing from googleGPTstyle to inline in googleGPTshow(answer) ± Moved hasSidebar to UI flag inits in stylize elements section ± Moved style tweaks section down
googleGPTstyle
googleGPTshow(answer)
hasSidebar
Updated Send button position based on Google sidebar
± Moved Send button positioning from googleGPTstyle to inline in googleGPTshow(answer) ± Renamed config.relatedQueriesDisabled to config.rqDisabled
config.relatedQueriesDisabled
config.rqDisabled
Updated wsbStlye + chatbar width
wsbStlye
Prepended const to answerPre init
const
answerPre
Show all script versions