Auto-click checkboxes for "restore harvest"
By Matt Frisbie @mattfriz
Instructions for restoring harvests:
Step 1: Get to this view, showing all the plant checkboxes:
![](https://c1.ty-cdn.net/-/u/10e2auoxoz/3/w/qn/csk3cbwiarjjlk27xwodlfdte5ezs7.jpg)
Step 2: Open Chrome developer tools
Right click the page, select "Inspect", and then click the "Console" tab at the top
(https://developer.chrome.com/docs/devtools/open/)
You will see this:
![](https://c1.ty-cdn.net/-/u/10e2auoxoz/3/2/yp/p5rcsoxsqgwoycvdqz5xf4t6uvei2b.jpg)
Step 3: Paste the following code in there to autocheck all the checkboxes:
[...document.querySelectorAll('#restoreplants-harvest_form input[type="checkbox"]')].map(input => input.click())
Step 4: Hit enter to run the code. Done!
![](https://c1.ty-cdn.net/-/u/10e2auoxoz/4/v/fz/5idmcjt3eje5xt6s2gexnvdkqyowwj.jpg)