Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support to check other markers #23

Open
Mig1st4ck opened this issue Oct 4, 2011 · 2 comments
Open

add support to check other markers #23

Mig1st4ck opened this issue Oct 4, 2011 · 2 comments

Comments

@Mig1st4ck
Copy link

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.

@DeMarco12
Copy link

i don't know how?

@Mig1st4ck
Copy link
Author

What you mean?

Check this image.

GitHub Logo

I have 3 checkers for the same mail.

@Mig1st4ck Mig1st4ck reopened this Oct 18, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants