top of page

Bjs.com

Are you tired of clipping all of the coupons for BJ's. Me too, so I created a simple script to help me get all of the rewards as possible.




function clickButton() {
  // Get the button element
  var button = document.querySelector('button.mt-2.btn.gray-btn.next-prev.widthHeight');

  // Click on the button
  button.click();

  // Increment the counter
  counter++;

  // If the counter has reached 70, clear the interval to stop the button from being clicked any further
  if (counter === 5) {
    clearInterval(intervalId);
  }
}

var counter = 0;
var intervalId = setInterval(clickButton, 4000); // Run the clickButton function every 4 seconds (4000 milliseconds)



3 views0 comments

Recent Posts

See All

Salesforce Certificate Order

We need 3 Certifcates 1.SSL Certificate. 2.CA Intermediate Certiticate. 3.Root Certifcate. If you dont got the root certitifcate from the provider,you can download it from the provider website/home pa

Comments


bottom of page