Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
59c74dd8ae
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      extension/core/content/content.js

+ 2 - 2
extension/core/content/content.js

@@ -34,8 +34,6 @@
 		sendResponse({});
 		if (message.processStart && !processing) {
 			processing = true;
-			fixInlineScripts();
-			fixHeadNoScripts();
 			processMessage(message)
 				.then(page => {
 					downloadPage(page);
@@ -51,6 +49,8 @@
 
 	async function processMessage(message) {
 		const options = await getOptions(message.options);
+		fixInlineScripts();
+		fixHeadNoScripts();
 		if (options.selected) {
 			selectSelectedContent();
 		}