Visually seperate solutions

This commit is contained in:
EthanHarv 2021-07-15 04:18:54 -05:00
parent 4a09ef35d6
commit d11b378670
4 changed files with 9 additions and 2 deletions

View file

@ -48,7 +48,7 @@ or use
git clone https://github.com/lebr0nli/slader-extension.git
2. Select the file **slader_bypass-0.6-fx.xpi** in **slader-extension-main**
2. Select the file **slader_bypass-0.7-fx.xpi** in **slader-extension-main**
3. Drag the file into the URL bar, click "add" when prompted

View file

@ -42,7 +42,14 @@ function processData(data){
var qDetails = JSON.parse(json[0]);
var solutions = (qDetails.question || qDetails.exercise).solutions;
// Display JSON data as answer
solutionNum = 0;
solutions.forEach(solution => {
solutionNum++;
expArea.appendChild(document.createElement('hr'));
var h1 = document.createElement('h1');
h1.textContent = 'Solution ' + solutionNum + ":";
expArea.appendChild(h1);
const numSteps = solution.steps.length;
solution.steps.forEach(step => {
const stepNum = step.stepNumber;

View file

@ -1,6 +1,6 @@
{
"name": "slader bypass",
"version": "0.6",
"version": "0.7",
"author":"Alan Li & Ethan Harvey",
"description": "Slader/Quizlet 5 solutions limit bypass",
"permissions": [