diff --git a/4chan_x.js b/4chan_x.js index 353fb8225..c7bb600ca 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -1692,6 +1692,7 @@ favicon = $('link[rel="shortcut icon"]', d.head); clone = favicon.cloneNode(true); clone.href = href; + clone.setAttribute('type', 'image/x-icon'); return $.replace(favicon, clone); } }; diff --git a/script.coffee b/script.coffee index a6012e3ed..01a4d6914 100644 --- a/script.coffee +++ b/script.coffee @@ -1322,6 +1322,7 @@ Favicon = favicon = $ 'link[rel="shortcut icon"]', d.head clone = favicon.cloneNode true clone.href = href + clone.setAttribute 'type', 'image/x-icon' $.replace favicon, clone