File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 3
3
// @description Adds the magic of AI to Amazon shopping
4
4
// @author KudoAI
5
5
// @namespace https://kudoai.com
6
- // @version 2025.3.19.4
6
+ // @version 2025.3.20
7
7
// @license MIT
8
8
// @icon https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon48.png?v=0fddfc7
9
9
// @icon 64 https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon64.png?v=0fddfc7
3092
3092
shareBtn . style . animation = 'spinY 1s linear infinite'
3093
3093
shareBtn . style . cursor = 'default' // remove finger
3094
3094
toggle . tooltip ( event ) // update tooltip
3095
- const msgs = [ ...prompts . stripAugments ( msgChain ) ]
3096
3095
xhr ( {
3097
3096
method : 'POST' , url : 'https://chat-share.kudoai.workers.dev' ,
3098
3097
headers : { 'Content-Type' : 'application/json' , 'Referer' : location . href } ,
3099
- data : JSON . stringify ( { messages : msgs } ) ,
3098
+ data : JSON . stringify ( { messages : [ ... prompts . stripAugments ( msgChain ) ] } ) ,
3100
3099
onload : resp => {
3101
3100
const shareURL = JSON . parse ( resp . responseText ) . url
3102
3101
show . reply . shareURL = shareURL ; modals . shareChat ( shareURL )
You can’t perform that action at this time.
0 commit comments