Created
January 13, 2024 14:48
-
-
Save vicdum/46cd9e4a86b11620051399b76390b61b to your computer and use it in GitHub Desktop.
ATACS Otomatik Değerlendirme Anketi İşaretleyicinatör
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Atacs Anketişaretleyicinatör | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-01-13 | |
// @description try to take over the world! | |
// @author vicdum | |
// @match https://atacs.atilim.edu.tr/Degerlendirme/FormDoldur?dersHarId=* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=edu.tr | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var inputList = document.querySelectorAll('input[type="radio"][value="2"]'); | |
inputList.forEach(function(input) { | |
input.checked = true; | |
}); | |
anketi_kaydet(); | |
var evetButton = document.querySelector('.swal2-confirm'); | |
if (evetButton) { | |
evetButton.click(); | |
} | |
var geriDonButonu = document.querySelector('.pull-left a[href="/Degerlendirme/DersList"]'); | |
if (geriDonButonu) { | |
geriDonButonu.click(); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment