inbasic / ignotifier

Multiple account Gmail notifier (without storing passwords)
https://webextension.org/listing/gmail-notifier.html
Other
396 stars 116 forks source link

LMB click opens wrong address for me #30

Closed Drugoy closed 11 years ago

Drugoy commented 11 years ago

https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&continue=http://mail.google.com/mail/&scc=1&ltmpl=default&ltmplcache=2 instead of https://mail.google.com/mail/u/0/

Drugoy commented 11 years ago

I am using a single google account, and the bug that happens to me is probably caused by multi-login detection.

inbasic commented 11 years ago

When GMN cannot find any logged-in account then it opens the log-in page. The first link here "should not" ask for your credentials if you are already logged-in. Is this is a new issue related to my recent update?

Can you open "https://mail.google.com/mail/u/0/feed/atom" page without having to enter your credentials?

Note: To stop GMN to check for multiple accounts, modify Gmail feeds box in options window and restart your browser.

Drugoy commented 11 years ago
  1. I don't know, I'm using latest version and I don't know how it was on previous versions, as at that time I was using old version of multifox add-on that had no blacklist and as you are already aware - multifox forges cookies' urls, so until I blacklisted google.com - your extension didn't work for me.
  2. Yes, I can.
  3. Your extension is restartless, why would that action require a browser restart?
inbasic commented 11 years ago

So this is another compatibility issue with multifox extension.

Right now GMN is only able to check emails that are logged-in in the default profile as #1 issue is still unresolved. So if for instance you have a window assigned to profile #2 in which the same Gmail account is not logged-in there, then Gmail notifier still alerts you for the new emails of the default profile, but when it tries to open your inbox in the active window, Gmail redirects you to the log-in page as you are not logged-in for that particular email address in the current profile.

The reason why you need to restart is for the sake of using the lowest possible memory as GMN creates some of its objects at the extension initialization, you may reinstall the extension instead of restarting Firefox if you prefer.

Drugoy commented 11 years ago

This is not another compatibility issue with multifox extension: when I said I blacklisted google.com I meant that multifox won't handle cookies related to that site anymore, and I've checked that - it doesn't forge them anymore.

I have only 1 profile, so what you supposed - may be right or wrong, which I don't know, but it has nothing to do with my case.

Drugoy commented 11 years ago

It seems like it's more of an issue with cookies: I try to stop google tracking me (I don't want google to bind my mail account to my search queries), so I generally allow cookies only for session, except specific sites that I put as "allow" exceptions, and I have "allow" rules only for some google's subdomains, instead of google.com

After I click your add-on's toolbar button and I actually log-in again as the page prompts - next time I don't get prompted to log in again.

So I think this issue is about correcting address from using google domain to specific google sub-domain.

inbasic commented 11 years ago

I am not sure how to proceed this bug, any suggestion?

Drugoy commented 11 years ago

You could just change all google.com links to mail.google.com