From 7aa14246815d9c531dc057220a66f0b22f1fa12d Mon Sep 17 00:00:00 2001 From: Miner49ur <101815367+Miner49ur@users.noreply.github.com> Date: Sun, 8 Sep 2024 17:35:42 -0400 Subject: [PATCH] fixed typo --- payloads/index.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/payloads/index.js b/payloads/index.js index cc2ae77..6c88bef 100644 --- a/payloads/index.js +++ b/payloads/index.js @@ -179,15 +179,6 @@ class DefaultExtensionCapabilities { // navButton.textContent = "Navigate"; const previewButton = document.createElement("button"); previewButton.textContent = "Preview"; - if (chrome.scripting) { - const runButton = document.createElement("button"); - runButton.textContent = "Run"; - runButton.onclick = function (ev) { - runCode(true, info.id); - } - - div.appendChild(runButton); - } // navButton.onclick = function (ev) { // const inp = div.querySelector("input");