Skip to content

Instantly share code, notes, and snippets.

@Developer-Incoming
Last active December 11, 2025 20:18
Show Gist options
  • Select an option

  • Save Developer-Incoming/9220ffb242bde7e424e370b05737a2ff to your computer and use it in GitHub Desktop.

Select an option

Save Developer-Incoming/9220ffb242bde7e424e370b05737a2ff to your computer and use it in GitHub Desktop.
KSU Auto Lecturer Rating
// Run in browser's console, and then simply check the agreement bias questions, and then you're ready to go.
document.querySelectorAll("div").forEach(div => {
const label = div.querySelector("label");
if (label && label.textContent.trim() === "موافق تماماً") div.querySelector('input[type="radio"]').checked = true;
});
@Developer-Incoming
Copy link
Author

If the above did not work, use this (they update back and forth):

Array.from(document.querySelectorAll('input[type="radio"]')).filter(radio => (radio.value - 56) % 100 === 0).forEach(x => x.click());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment