소스 검색

ignore errors

Gildas 4 년 전
부모
커밋
29295f8b87
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      extension/core/content/content-bootstrap.js

+ 2 - 2
extension/core/content/content-bootstrap.js

@@ -96,8 +96,8 @@ function init() {
 	if (previousLocationHref != location.href && !singlefile.pageInfo.processing) {
 		pageAutoSaved = false;
 		previousLocationHref = location.href;
-		browser.runtime.sendMessage({ method: "tabs.init", savedPageDetected: detectSavedPage(document) });
-		browser.runtime.sendMessage({ method: "ui.processInit" });
+		browser.runtime.sendMessage({ method: "tabs.init", savedPageDetected: detectSavedPage(document) }).catch(() => { });
+		browser.runtime.sendMessage({ method: "ui.processInit" }).catch(() => { });;
 	}
 }