Skip to content

Commit

Permalink
Removed start button from popup
Browse files Browse the repository at this point in the history
  • Loading branch information
hori-hrzn committed Nov 25, 2023
1 parent 350f42c commit befd42a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
1 change: 0 additions & 1 deletion popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ <h3>List of quizs available:</h3>
<li><a target="_blank" href="https://www.wizard101.com/quiz/trivia/game/pirate101-valencia-trivia">10- Valencia</a></li>

</ul>
<button id="startButtonPopup" style="width: fit-content; align-self: center;">Start</button>
</div>
</body>
</html>
15 changes: 1 addition & 14 deletions popup.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
document.addEventListener("DOMContentLoaded",()=>{

const startButtonPopup = document.getElementById("startButtonPopup");

startButtonPopup.addEventListener('click',() => {
// if(!confirm("W101 Trivia Maker is going to start completing quizs for you. Are you signed up?")) return;

// chrome.runtime.sendMessage({action:"goToQuiz0"});

chrome.runtime.sendMessage({action: "answerQuiz"});

})


document.addEventListener("DOMContentLoaded",()=>{


})

0 comments on commit befd42a

Please sign in to comment.