remove extra content script being injected that results in multiple messages
This commit is contained in:
parent
dba910d0b9
commit
923f6c67f8
|
@ -130,11 +130,6 @@ export default class AutofillService implements AutofillServiceInterface {
|
||||||
|
|
||||||
if (triggeringOnPageLoad && autoFillOnPageLoadIsEnabled) {
|
if (triggeringOnPageLoad && autoFillOnPageLoadIsEnabled) {
|
||||||
injectedScripts.push("autofiller.js");
|
injectedScripts.push("autofiller.js");
|
||||||
} else {
|
|
||||||
await this.scriptInjectorService.inject({
|
|
||||||
tabId: tab.id,
|
|
||||||
injectDetails: { file: "content/content-message-handler.js", runAt: "document_start" },
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
injectedScripts.push("notificationBar.js", "contextMenuHandler.js");
|
injectedScripts.push("notificationBar.js", "contextMenuHandler.js");
|
||||||
|
|
Loading…
Reference in New Issue