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.9.5.11
6+ // @version 2025.9.5.12
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
18621862 xhr ( {
18631863 method : 'GET' , url : shareURL ,
18641864 onload : ( { responseText } ) => {
1865- const html = responseText , dlLink = dom . create . anchor (
1866- URL . createObjectURL ( new Blob ( [ html ] , { type : 'text/html' } ) ) )
1867- dlLink . download /* filename */ = html . match ( / < t i t l e > ( [ ^ < ] + ) < \/ t i t l e > / i) [ 1 ] // page title
1865+ const dlLink = dom . create . anchor (
1866+ URL . createObjectURL ( new Blob ( [ responseText ] , { type : 'text/html' } ) ) )
1867+ dlLink . download /* filename */ = responseText . match ( / < t i t l e > ( [ ^ < ] + ) < \/ t i t l e > / i) [ 1 ]
18681868 . replace ( / \s * [ — | / ] + \s * / g, ' ' ) // convert symbols to space for hyphen-casing
18691869 . replace ( / \. { 2 , } / g, '' ) // strip ellipsis
18701870 . toLowerCase ( ) . trim ( ) . replace ( / \s + / g, '-' ) // hyphen-case
You can’t perform that action at this time.
0 commit comments