Bug fixes + improvements
![]() ![]() |
I've found the following bug in your Gmail POP3 Quick Checker and have created a new version of it. The Inbox / Starred / Sent Mail pages on which the link 'Refresh POP3 Accounts' appears don't always have an URL like this: http://mail.google.com/mail/#inbox, http://mail.google.com/mail/#starred, etc. These URLs http://mail.google.com/mail/?zx=16wi4tqvnrvcu&s..., http://mail.google.com/mail/?zx=16wi4tqvnrvcu&s..., or http://mail.google.com/mail/?shva=1#inbox or http://mail.google.com/mail/?ui=2#inbox are for example also possible, refreshing a POP3 account from a comparable URL fails. It should automatically go to the Accounts & Information page and click the refresh links, but it loads GMail again and only navigates to the Gmail Settings > General page. I have simplified the script too, a few things were done quite complicated... I have tested everything possible and everything still works. It seems like it's faster now, I might be wrong though... My version can be downloaded here: http://dl.getdropbox.com/u/1861906/GmailQuickPo...
CONTACT Please react on this thread. SCRIPT
|
![]() ![]() |
I have been experiencing the bug where Gmail reloads and goes to the Settings page quite a bit. I am glad if it is fixed. |
![]() ![]() |
I have updated to fix the navigation bug, but used different code however. |
![]() ![]() |
Well, you know more Javascript than I... I'm glad I've learned something :) ... Didn't know of top.location.hash .... Although my script works the same way, yours is easier to read ... |
![]() ![]() |
Works great now! CPU usage is fixed too. Thanks, Tim! Great work! |
![]() ![]() |
One of the reasons why I use Gmail :) I wanted to forward my previous Hotmail account to Gmail (for more than 30 days), hence I needed the Mail Fetcher. Despite I really like Gmail, I nearly gave up (because the mail fetcher was slow ... and not easy to refresh) ... After some searching I found this great tool. That's not all: now I know Userscripts.org and Greasemonkey too :) |
![]() ![]() |
Hey! The scripts works perfectly. I got only one issue: everytime I open Firefox, it asks me to update to a new version of the script. How do I disable that? It doesn't happen to other scripts I have here in my Greasemonkey. |
![]() ![]() |
@gbonato: I have created a version of Tim Smart's newest script, which doesn't update automatically;
http://dl.getdropbox.com/u/1861906/GmailQuickPo... Is this the right solution? |
![]() ![]() |
not working for me, where is the button? |
![]() ![]() |
Krzysiek wrote: The link appears next to 'Refresh' in the Inbox etc. If you still can't find it, let me know what browser you are using, and what language you use GMail in. |
![]() ![]() |
When I change gmail language to English I can see the link and it works, but when i have Gmail in Polish the "Refresh POP3 Accounts" doesn't show up. |
![]() ![]() |
Stopped working for me. I'm using Firefox and English for GMail. |
![]() ![]() |
How strange, if I refresh the page, the button shows up. However, for some reason, it doesn't show when I first load Gmail. |
![]() ![]() |
Krzysiek wrote: Yeah it only works for English GMail at present. You will have to edit the script to make it work. |
![]() ![]() |
This version is multilingual (works in every language): - down for maintenance - To test it I have navigated to every page with it in different languages... (PS. I just removed one line in Tim's script: ".//div[contains(.,'Refresh') and") |
![]() ![]() |
Floris wrote: Did it correctly check the POP3 accounts though? As it still has this line in it: var links = this.viewElement.ownerDocument.evaluate( ".//span[contains(.,'Check mail now')]", this.viewElement, null, 4, null );Which uses a English string. |
![]() ![]() |
That was an experiment and old version, I didn't have a lot of time to test this script ... Thanks for reporting that bug! Although I already encountered it and I was already experimenting with new ways to fix it :) |
![]() ![]() |
I'm still getting a quick flash of the Settings page when I refresh. Is this just my problem or is there a work around? |
![]() ![]() |
That's how the scripts works: it opens your settings page and clicks all the "Check mail now" (or whatever it in your language is) buttons. |
![]() ![]() |
oroboros74 wrote: Google hasn't offered a direct API to perform particular actions, so the only option I has was to automate mouse clicks. |


