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() {
389
389
)
390
390
return
391
391
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
+ // }
403
403
404
404
await Browser . runtime . sendMessage ( {
405
405
type : 'SET_CHATGPT_TAB' ,
You can’t perform that action at this time.
0 commit comments