rwerthman / ks_coupon_clicker

Google chrome extension that clicks on as many king soopers coupons as possible so you don't have to do it manually.
2 stars 0 forks source link

Load coupons for user #5

Open rwerthman opened 4 years ago

rwerthman commented 4 years ago

Load all of the coupons for a user onto the page instead of making the user scroll to the bottom of the page.

rwerthman commented 4 years ago

It looks like you can scroll to the bottom of the page window.scrollTo(0,document.body.scrollHeight); and then if you wait long enough all of the coupons are loaded.

So maybe scroll to the bottom wait 10 seconds then scroll to the top and start clicking coupons?