Skip to content

Commit 5c795a3

Browse files
authored
Merge pull request #12 from sauravhathi/feature
Feature
2 parents 80fbc12 + e729f26 commit 5c795a3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const attempt = (ans_key, time) => {
2929

3030
toast("Started attempting the test");
3131
async function attemptQuestion() {
32-
document.querySelector(`#${ans[i]}_${i + 1}`).click();
32+
document.querySelector(`input[type="radio"][name="radio_${i + 1}"][value="${ans[i].toLowerCase()}"]`).click();
3333
document.querySelector("#main_div > div.tableWidthPercent > div.onlineTestLeftDiv > div.qnav > span.saveNextButton > a").click();
3434
i++;
3535

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Hitbullseye Automate Tool",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"homepage_url": "https://github.com/sauravhathi/Hitbullseye-Automate-Tool",
55
"description": "Attempt all the questions in a test on hitbullseye.com with a single click.",
66
"author": "Saurav Hathi",
@@ -23,7 +23,7 @@
2323
{
2424
"matches": ["https://*.hitbullseye.com/*"],
2525
"css": ["./popup/popup.css"],
26-
"js": ["content.js", "getQuestions.js", "toast.js"]
26+
"js": ["content.js", "toast.js"]
2727
}
2828
]
2929
}

popup/popup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</div>
2424
<div class="input_group">
2525
<label class="ex-label" for="time">Time</label>
26-
<input type="range" id="time" min="0.5" max="10" value="0.5" step="0.5" />
26+
<input type="range" id="time" min="0.1" max="10" value="0.1" step="0.1" />
2727
<span id="time_value">0</span>
2828
</div>
2929
<div class="btn-group">

0 commit comments

Comments
 (0)