diff --git a/content/install-hook-userstyles.js b/content/install-hook-userstyles.js index e124f41a..d26a88af 100644 --- a/content/install-hook-userstyles.js +++ b/content/install-hook-userstyles.js @@ -346,7 +346,7 @@ })(); // run in page context -document.documentElement.appendChild(document.createElement('script')).text = `(${ +document.documentElement.appendChild(document.createElement('script')).text = '(' + ( EXTENSION_ORIGIN => { document.currentScript.remove(); @@ -466,7 +466,7 @@ document.documentElement.appendChild(document.createElement('script')).text = `( }); }; } -})('${chrome.runtime.getURL('').slice(0, -1)}')`; +) + `)('${chrome.runtime.getURL('').slice(0, -1)}')`; // TODO: remove the following statement when USO pagination is fixed if (location.search.includes('category=')) {