diff --git a/src/tab.js b/src/tab.js index 25037d5..44ababc 100644 --- a/src/tab.js +++ b/src/tab.js @@ -135,6 +135,11 @@ SideTab.prototype = { return; } this._iconView.style.backgroundImage = `url("${favIconUrl}")`; + var imgTest = document.createElement('img'); + imgTest.src = favIconUrl; + imgTest.onerror = () => { + this._iconView.style.backgroundImage = ""; + }; }, setLoading(isLoading) { toggleClass(this.view, "loading", isLoading);