diff --git a/src/js/contentscript.js b/src/js/contentscript.js index 14b6dac82..75b269fc0 100644 --- a/src/js/contentscript.js +++ b/src/js/contentscript.js @@ -467,7 +467,7 @@ vAPI.injectScriptlet = function(doc, text) { if ( !doc ) { return; } let script, url; try { - const blob = new self.Blob([ text ], { type: 'text/javascript' }); + const blob = new self.Blob([ text ], { type: 'text/javascript; charset=utf-8' }); url = self.URL.createObjectURL(blob); script = doc.createElement('script'); script.async = false;