Skip to content

Commit d4a95c7

Browse files
committed
Added exit on account-related pages ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/amazongpt]
1 parent 466e628 commit d4a95c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

chatgpt/amazongpt/amazongpt.user.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @description Adds the magic of AI to Amazon shopping
44
// @author KudoAI
55
// @namespace https://kudoai.com
6-
// @version 2025.3.8.1
6+
// @version 2025.3.8.2
77
// @license MIT
88
// @icon https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon48.png?v=0fddfc7
99
// @icon64 https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon64.png?v=0fddfc7
@@ -3150,6 +3150,8 @@
31503150
return log.debug('Exited from Captcha page')
31513151
else if (document.querySelector('a > img[src*="/error"]'))
31523152
return log.debug('Exited from 404 page')
3153+
else if (location.pathname.startsWith('/ap/'))
3154+
return log.debug('Exited from account-related page')
31533155

31543156
// Create/ID/classify/listenerize/stylize APP container
31553157
const appDiv = dom.create.elem('div', { id: app.slug, class: 'anchored fade-in' })

0 commit comments

Comments
 (0)