gregsadetsky / chrome-dont-add-custom-search-engines

Google Chrome extension that stops sites from adding custom search engines
https://chrome.google.com/webstore/detail/dont-add-custom-search-en/dnodlcololidkjgbpeoleabmkocdhacc
Other
118 stars 12 forks source link

Uncaught TypeError: Cannot read properties of undefined (reading 'removeEventListener') #41

Closed Incog5 closed 1 year ago

Incog5 commented 1 year ago

In the extension errors panel chrome://extensions/?errors=keaedgeohkihipgjbbijdldkiaodgopm

getting this error:

Uncaught TypeError: Cannot read properties of undefined (reading 'removeEventListener')]

Context https://www.youtube.com/

Stack Trace content.js:10 (anonymous function)

// called when the user clicks an element of the form (any field or button). // The parameter passed is the event object. function clickApply(e) { if(DEBUG) console.info({'form onclick':e}); // remove onclick. One fix only e.srcElement.form.removeEventListener("click", clickApply); <------ Line 10 applyFix(e.srcElement.form); } //clickApply

cxw42 commented 1 year ago

Is this still happening? I am not able to repro on Chromium 113

Incog5 commented 1 year ago

Haven't seen it in a while, closed.