Skip to content

Commit d74ec0b

Browse files
committed
Condensed update.replyPrefix() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/amazongpt]
1 parent 441f63a commit d74ec0b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

chatgpt/amazongpt/amazongpt.user.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @description Add AI chat & product/category summaries to Amazon shopping, powered by the latest LLMs like GPT-4o!
44
// @author KudoAI
55
// @namespace https://kudoai.com
6-
// @version 2025.9.15.1
6+
// @version 2025.9.16
77
// @license MIT
88
// @icon https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon48.png?v=8e8ed1c
99
// @icon64 https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon64.png?v=8e8ed1c
@@ -703,8 +703,7 @@
703703
},
704704

705705
replyPrefix() {
706-
const firstP = app.div.querySelector('pre p')
707-
if (!firstP) return
706+
const firstP = app.div.querySelector('pre p') ; if (!firstP) return
708707
const prefixNeeded = env.ui.app.scheme == 'dark'
709708
&& !config.bgAnimationsDisabled && !/shuffle|summarize/.test(get.reply.src)
710709
const prefixExists = firstP.textContent.startsWith('>> ')

0 commit comments

Comments
 (0)