setInterval(function () {
t = $(".button").find(".Bu Haberi Ekle!");
if (!t[0]) {
window.scrollTo(0, $(document).height());
} else {
console.log(t.attr("class"));
t.trigger("click");
}
}, 1000)
91


örnek kod . ama çalışmıyor

<input name="buton_4" type="button" value="Bu Haberi Ekle!" class="button button-primary button-large" onclick="Gonder('form-4','eklemesaj-4','4');">