File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.10.16.1
6+ // @version 2025.10.16.2
77// @license MIT
88// @icon https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon48.png?v=8e8ed1c
99// @icon 64 https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon64.png?v=8e8ed1c
13281328 apiModal . querySelector ( 'h2' ) . style . justifySelf = 'center' // center title
13291329 const btnsDiv = apiModal . querySelector ( '.modal-buttons' )
13301330 btnsDiv . style . cssText = `margin: 0 !important ; ${ env . browser . isPhone ? ''
1331- : 'flex-wrap: wrap ; justify-content: center ; gap: 9px' } ` // gridify desktop btns
1331+ : 'flex-wrap: wrap ; justify-content: center ; gap: 9px' } ` // gridify wide view btns
13321332 btnsDiv . querySelectorAll ( 'button' ) . forEach ( ( btn , idx ) => {
13331333 if ( idx == 0 ) btn . style . display = 'none' // hide Dismiss button
13341334 else btn . classList . toggle ( 'primary-modal-btn' , // emphasize preferred API
You can’t perform that action at this time.
0 commit comments