FootPrints.autofill

autofill

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        FootPrints.autofill
// @version     1.1
// @include     https://support.iit.edu/*
// @namespace   https://greasyfork.org/users/932694
// @description autofill
// ==/UserScript==

//test push

//test update

var lastname = document.getElementsByName("last_name");


function changelastnamevalue(){

    lastname[0].value = "--"
};

function dolastnamebutton() {
    
    let btn = document.createElement("button");
    btn.innerHTML = "Click Me";
    btn.addEventListener("click", changelastnamevalue)

    var div_parent = lastname[0].parentElement;

    div_parent.appendChild(btn);
};

var intervalID = window.setInterval(
    dolastnamebutton,
    2000
);



(function(){
    dolastnamebutton();
});