Skip to content

Commit 97a58d9

Browse files
committed
Init config.anchored to true for increased compatibility w/ JS resources ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/amazongpt]
1 parent 030f76a commit 97a58d9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

chatgpt/amazongpt/amazongpt.user.js

Lines changed: 3 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.6.1
6+
// @version 2025.9.7
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
@@ -206,7 +206,7 @@
206206
apis.AIchatOS.userID = '#/chat/' + Date.now()
207207

208208
// Init SETTINGS
209-
window.config = {}
209+
window.config = { anchored: true }
210210
window.settings = {
211211
load(...keys) {
212212
keys.flat().forEach(key =>
@@ -397,7 +397,7 @@
397397
: `1px solid #${ env.ui.app.scheme == 'light' ? 'dadce0' : '3b3b3b' }`};
398398
--app-gradient-bg: linear-gradient(180deg, ${
399399
env.ui.app.scheme == 'dark' ? '#99a8a6 -245px, black 185px' : '#b6ebff -163px, white 65px' }) ;
400-
--app-anchored-shadow: 0 15px 52px rgb(0,0,${ env.ui.app.scheme == 'light' ? '7,0.06' : '11,0.22' }) ;
400+
--app-anchored-shadow: 0 15px 52px anchoredrgb(0,0,${ env.ui.app.scheme == 'light' ? '7,0.06' : '11,0.22' }) ;
401401
--app-transition: opacity 0.5s ease, transform 0.5s ease, /* for 1st fade-in */
402402
bottom 0.1s cubic-bezier(0,0,0.2,1), /* smoothen Anchor Y min/restore */
403403
width 0.167s cubic-bezier(0,0,0.2,1) ; /* smoothen Anchor X expand/shrink */

0 commit comments

Comments
 (0)