Skip to content

Commit a9b2a33

Browse files
committed
Shortened chatgpt.selectors ↞ [auto-sync from https://github.com/KudoAI/chatgpt.js]
1 parent 09084e9 commit a9b2a33

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

starters/chrome/extension/lib/chatgpt.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ const chatgpt = {
2525
selectors: {
2626
btns: {
2727
continue: 'button:has(svg[class*=rotate] > path[d^="M4.47189"])',
28-
createImage: 'button[data-testid="composer-create-image"]',
29-
deepResearch: 'button[data-testid="composer-deep-research"]',
28+
createImage: 'button[data-testid=composer-create-image]',
29+
deepResearch: 'button[data-testid=composer-deep-research]',
3030
login: 'button[data-testid*=login]',
3131
newChat: 'a[href="/"]:has(svg),' // Pencil button (when logged in)
3232
+ 'button:has([d^="M3.06957"])', // Cycle Arrows button (in temp chat logged out)
3333
regen: 'button[data-testid*=regenerate],' // oval button in place of chatbar on errors
3434
// 'Try Again' entry of model selector below msg
3535
+ 'div[role=menuitem] div:has(svg):has(path[d^="M3.06957"])',
3636
scroll: 'button:has(> svg > path[d^="M12 21C11.7348"])',
37-
search: 'button[data-testid="composer-button-search"]',
38-
reason: 'button[data-testid="composer-button-reason"]',
37+
search: 'button[data-testid=composer-button-search]',
38+
reason: 'button[data-testid=composer-button-reason]',
3939
send: 'button[data-testid=send-button]',
40-
sidebar: 'div[style*=\"-sidebar-width\"] button[data-testid=close-sidebar-button], div[style*=\"-sidebar-rail-width\"] button[aria-controls=stage-slideover-sidebar]',
40+
sidebar: 'div[style*=-sidebar-width] button[data-testid=close-sidebar-button], div[style*=-sidebar-rail-width] button[aria-controls=stage-slideover-sidebar]',
4141
stop: 'button[data-testid=stop-button]',
4242
upload: 'button:has(> svg > path[d^="M12 3C12.5523"])',
4343
voice: 'button[data-testid*=composer-speech-button]'

starters/chrome/extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "ChatGPT Extension",
44
"short_name": "ChatGPT 🧩",
55
"description": "A Chromium extension template to start using chatgpt.js like a boss!",
6-
"version": "2025.7.8",
6+
"version": "2025.7.23",
77
"author": "KudoAI",
88
"homepage_url": "https://github.com/KudoAI/chatgpt.js-chrome-starter",
99
"icons": { "16": "icons/icon16.png", "32": "icons/icon32.png", "64": "icons/icon64.png", "128": "icons/icon128.png" },

0 commit comments

Comments
 (0)