File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -389,17 +389,17 @@ async function prepareForForegroundRequests() {
389389 )
390390 return
391391
392- if ( location . pathname === '/' ) {
393- const input = document . querySelector ( '#prompt-textarea' )
394- if ( input ) {
395- input . textContent = ' '
396- input . dispatchEvent ( new Event ( 'input' , { bubbles : true } ) )
397- setTimeout ( ( ) => {
398- input . textContent = ''
399- input . dispatchEvent ( new Event ( 'input' , { bubbles : true } ) )
400- } , 300 )
401- }
402- }
392+ // if (location.pathname === '/') {
393+ // const input = document.querySelector('#prompt-textarea')
394+ // if (input) {
395+ // input.textContent = ' '
396+ // input.dispatchEvent(new Event('input', { bubbles: true }))
397+ // setTimeout(() => {
398+ // input.textContent = ''
399+ // input.dispatchEvent(new Event('input', { bubbles: true }))
400+ // }, 300)
401+ // }
402+ // }
403403
404404 await Browser . runtime . sendMessage ( {
405405 type : 'SET_CHATGPT_TAB' ,
You can’t perform that action at this time.
0 commit comments