From 2b5f3843ab58cead1b97d5e9b5431a9951e1e8bd Mon Sep 17 00:00:00 2001 From: Henry Robalino Date: Thu, 30 Jan 2020 08:46:30 -0500 Subject: [PATCH] Added support to dismiss prices fluctuate popup --- ticketmasterbot.user.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ticketmasterbot.user.js b/ticketmasterbot.user.js index d7d5e5c..21107b9 100644 --- a/ticketmasterbot.user.js +++ b/ticketmasterbot.user.js @@ -37,10 +37,15 @@ function deleteAllCookies() { function SkipPopup() { var popupPresent = getElementByXpath('//button[@class = "modal-dialog__button landing-modal-footer__skip-button"]'); + var pricingFluctuatePopupPresent = getElementByXpath('//button[@class = "modal-dialog modal-dialog--center edp__modal-dialog pricing-landing__dialog"]'); if(popupPresent) { try{ popupPresent.click();}catch(ex){} } + if(pricingFluctuatePopupPresent) + { + try{ pricingFluctuatePopupPresent.click();}catch(ex){} + } } function CheckForFilterPanel(){