LorenzoBe / LeetPlug

This is a browser extension that is able to interact with LeetCode official site. The main goal is to be able to track the activities on each problem and all the related events: submissions, time spent coding the solution, repetitions of a problem.
https://leetplug.azurewebsites.net/
GNU General Public License v3.0
101 stars 8 forks source link

Solution is accepted but timer not stopped and it's seen as rejected #16

Open mytony opened 2 years ago

mytony commented 2 years ago

I found this bug is able to reproduce. If the code has some syntax issue and users press "Run Code", The "Run Code Result" window will show compiler error. Then fix the code and press "Submit". The solution is accepted by Leetcode. But the timer is still counting and the LeetPlug page shows the previous submit is a Rejected. If I cleared the compiler error by clicking "Run Code" first and submit the code, it then acts normal.