@@ -254,31 +254,33 @@ class InjectionTargetsOnWebsite {
254254 buttonsContainerId : 'deepseek-custom-buttons-container'
255255 } ,
256256 AIStudio : {
257- containers : [
258- // Primary selectors (ARIA-based)
259- 'section.chunk-editor-main' ,
260- 'footer' ,
261- 'ms-chunk-editor-menu' ,
262- // Fallback selectors (DOM path)
263- 'body > app-root > div > div > div.layout-wrapper > div > span > ms-prompt-switcher > ms-chunk-editor > section > footer'
264- ] ,
265- sendButtons : [
266- // Primary selectors (ARIA-based)
267- 'button.run-button[type="submit"]' ,
268- 'button[aria-label="Run"]' ,
269- 'run-button button[type="submit"]' ,
270- // Fallback selectors (DOM path)
271- 'footer > div.input-wrapper > div:nth-child(3) > run-button > button'
272- ] ,
273- editors : [
274- // Primary selectors (ARIA-based)
275- 'ms-autosize-textarea textarea[aria-label="User text input"]' ,
276- 'textarea.textarea.gmat-body-medium[aria-label="Type something"]' ,
277- // Fallback selectors (DOM path)
278- 'footer > div.input-wrapper > div.text-wrapper > ms-chunk-input > section > ms-text-chunk > ms-autosize-textarea'
279- ] ,
280- buttonsContainerId : 'aistudio-custom-buttons-container'
281- } ,
257+ containers : [
258+ 'div.prompt-input-wrapper' ,
259+ 'div.prompt-input-wrapper-container' ,
260+ 'section.text-and-attachments-wrapper' ,
261+ 'section.chunk-editor-main' ,
262+ 'footer' ,
263+ 'ms-chunk-editor-menu' ,
264+ 'body > app-root > div > div > div.layout-wrapper > div > span > ms-prompt-switcher > ms-chunk-editor > section > footer'
265+ ] ,
266+ sendButtons : [
267+ 'button.run-button[type="submit"]' ,
268+ 'button[aria-label="Run"]' ,
269+ 'run-button button[type="submit"]' ,
270+ 'button.run-button' ,
271+ 'footer > div.input-wrapper > div:nth-child(3) > run-button > button'
272+ ] ,
273+ editors : [
274+ 'textarea.textarea.gmat-body-medium[aria-label="Type something or pick one from prompt gallery"]' ,
275+ 'textarea.textarea.gmat-body-medium[aria-label="Type something"]' ,
276+ 'ms-autosize-textarea textarea.textarea.gmat-body-medium' ,
277+ 'ms-autosize-textarea.empty textarea.textarea' ,
278+ 'ms-autosize-textarea textarea[aria-label="User text input"]' ,
279+ 'textarea.textarea.gmat-body-medium[aria-label="Type something"]' ,
280+ 'footer > div.input-wrapper > div.text-wrapper > ms-chunk-input > section > ms-text-chunk > ms-autosize-textarea'
281+ ] ,
282+ buttonsContainerId : 'aistudio-custom-buttons-container'
283+ } ,
282284 Grok : {
283285 // Updated selectors for new Grok UI (April 2025)
284286 // Container: the chat form (unique structure)
0 commit comments