MailCheckerPlus icon indicating copy to clipboard operation
MailCheckerPlus copied to clipboard

add support to check other markers

Open Mig1st4ck opened this issue 13 years ago • 2 comments

Hi, i would like to thx for this extencion its great.

I have a lot of messages on gmail, and for that i have many filters that just ignore the inbox and go directly to a marker.

With the current setup, this extencion only allows the Inbox, important and All. Well for me this don't work: inbox is ignore like i told before important, this is very subjective since is google who manage this. (i like to keep in control) all, well this is just too many, i have some filters that is like spam, just for me to check from time to time.

So i was trying to add functionality to this extencion to help me track specific markers.

To workaround this i used the inbuild "Multi account" First add several new Accounts using #marker example: #inbox or #sent or #all or #big-name-with-spaces

Use the '-' to replace the empty spaces.

In the script 'mailaccount.class.js' Line: 24

   var inboxLabel = localStorage["gc_open_label"];
   var atomLabel = localStorage["gc_check_label"];

   if (settingsObj.domain != null) {
       if (settingsObj.domain.substr(0,1) == '#'){
          mailURL += "/mail/";
          atomLabel = settingsObj.domain.substr(1);
       } else {
          // This is a GAFYD account
          mailURL += "/a/" + settingsObj.domain + "/";
       }
   } else if (settingsObj.accountNr != null) {
      // This is a Google account with multiple sessions activated
      mailURL += "/mail/u/" + settingsObj.accountNr + "/";
   } else {
      // Standard one-session Gmail account
      mailURL += "/mail/";
   }

With this it will check all the "fake accounts" and place in the mail list a new account to each marker.

Very configurable.

Mig1st4ck avatar Oct 04 '11 21:10 Mig1st4ck

i don't know how?

DeMarco12 avatar Oct 09 '11 01:10 DeMarco12

What you mean?

Check this image.

GitHub Logo

I have 3 checkers for the same mail.

Mig1st4ck avatar Oct 10 '11 07:10 Mig1st4ck