I am working on a script to pull up several different windows and cycle between them. At the end of each cycle the page is refreshed. I have ran into an issue with our mail inboxes that causes it to lock down the inboxes due to "suspicious" activity because of the refreshes. I'm wanting to add in a check to skip refreshing the inboxes, but to refresh everything else. The page title changes according to the amount of unread emails in the inboxes so it has to account for that.
The title for our inboxes reads like this.
Inbox (N unread) - inbox@company.com - Company Mail - Google Chrome
Inbox (N unread) - inbox2@company.com - Company Mail - Google Chrome
This is what I have. I know it doesn't work right, but I'm not sure what to do.
I think what I need to do is just not refresh any page that contains the title "Inbox". How would I accomplish this?