From 0a7e36d20a351e3a084d33a375bae0c82aa66c72 Mon Sep 17 00:00:00 2001 From: edwingamboa Date: Fri, 31 May 2019 08:07:36 -0500 Subject: [PATCH] #4 Inner code of scripts from "scripts" is working --- lib/content_script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/content_script.js b/lib/content_script.js index 959e9db..30d1752 100644 --- a/lib/content_script.js +++ b/lib/content_script.js @@ -48,7 +48,7 @@ script.setAttribute(attrs[i].name, attrs[i].value); } } - script.innerHTML = htmlToElements(html).innerHTML || ''; + script.innerHTML = foreignScript.innerHTML || ''; document.head.appendChild(script); } }