Open Leave Feedback for each item in an order in a new tab
(async function() {
// Get all "More actions" buttons (using their common class)
const moreButtons = Array.from(document.querySelectorAll('button.fake-menu-button__button'));
console.log(`Found ${moreButtons.length} "More actions" buttons.`);
for (const btn of moreButtons) {
// Click the button to open its dropdown