Skip to content

Commit 09084e9

Browse files
committed
Shortened chatgpt.selectors
1 parent 2763aff commit 09084e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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]'

0 commit comments

Comments
 (0)