Skip to content

Commit

Permalink
Updated View Changes link in modals.update.available to use `app.sl…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Jan 19, 2025
1 parent 80d317e commit af5c1ef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chatgpt/amazongpt/amazongpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @description Adds the magic of AI to Amazon shopping
// @author KudoAI
// @namespace https://kudoai.com
// @version 2025.1.19.1
// @version 2025.1.19.2
// @license MIT
// @icon https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon48.png?v=0fddfc7
// @icon64 https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon64.png?v=0fddfc7
Expand Down Expand Up @@ -1254,8 +1254,7 @@
`${app.msgs.alert_newerVer} ${app.name} ` // msg
+ `(v${app.latestVer}) ${app.msgs.alert_isAvail}! `
+ '<a target="_blank" rel="noopener" style="font-size: 1.1rem" href="'
+ app.urls.update.replace(/.+\/([^/]+)meta\.js/,
`${app.urls.gitHub}/commits/main/greasemonkey/$1user.js`)
+ `${app.urls.gitHub}/commits/main/greasemonkey/${app.slug}user.js`
+ `">${app.msgs.link_viewChanges}</a>`,
function update() { // button
GM_openInTab(app.urls.update.replace('meta.js', 'user.js') + '?t=' + Date.now(),
Expand Down

0 comments on commit af5c1ef

Please sign in to comment.