Bu javascript kodu
document.addEventListener("DOMContentLoaded", function() {
let button = document.querySelector(".packDetailMore");
if (button) {
button.click(); // Sayfa yüklendiğinde butona otomatik tıkla
}
});
İlk baştakine yapıyor diğerlerine etki etmiyor.
Edit:
document.addEventListener("DOMContentLoaded", function() {
setTimeout(() => {
document.querySelectorAll(".packDetailMore").forEa ch(button => {
button.click();
});
}, 1000); // 1 saniye bekleyerek tıklar
});
Bu kod işe yaradı lazım olan kullanabilir.