diff --git a/src/content.css b/src/content.css index 400bf4f..07ecf09 100644 --- a/src/content.css +++ b/src/content.css @@ -162,6 +162,9 @@ margin-top: 5px; margin-bottom: 5px; box-sizing: border-box; + outline: none; + border: 0px; + box-shadow: none; } .omni-extension ::placeholder { color: var(--placeholder); diff --git a/src/content.js b/src/content.js index 0e70ccd..1d0b928 100644 --- a/src/content.js +++ b/src/content.js @@ -25,7 +25,8 @@ $(document).ready(function(){ }); keys += ""; } - var img = "favicon"; + var onload = 'if ("naturalHeight" in this) {if (this.naturalHeight + this.naturalWidth === 0) {this.onerror();return;}} else if (this.width + this.height == 0) {this.onerror();return;}'; + var img = "favicon"; if (action.emoji) { img = ""+action.emojiChar+"" }