what does this do exactly?
> what does this do exactly?
The command allows you to click all buttons in the page at once:
• The dollar sign is an alias for jQuery [1];
• The text between double quotes is a CSS selector;
• Select every DOM element with a “grid-coupon-clip-button” and “button” CSS class;
• The thing at the end is a JavaScript function call which triggers an “onclick” event [2];
- Select every button with a parent element that has the css class “grid-coupon-clip-button”
Though of course if Safeway's website does have a global `$` from jquery then that would take precedence.