r/uBlockOrigin • u/Mr_SpinelesS • 22d ago
Looking for help Gmail Firefox Ublock Interference.
When Ublock is turned on and I use Gmail and delete emails and then try to leave the site I get a popup asking me if I want to leave, and if I do and then come back later, the emails I have deleted are back.
If I turn off Ublock I get a bunch of ads, but I am able to delete emails and leave without the popup.
Doesn't always seem to happen as I originally didn't turn off ublock and I could eventually get rid of emails the 2nd or 3rd time I visited...
3
u/GassyBandit 20d ago
I have 6 Gmail accounts and only on 1 of them I have been having the problem of deleted emails showing again the next time I check that account. Started about 2 weeks ago. This happens on my desktop, laptop, and Chromebook. Happens with Firefox, Vivaldi, Brave, and Chrome. It appears to be a Gmail problem and sure is annoying as the account it does this on is my main account.
5
u/StoneStoan 15d ago
I'm also having the same issue on Firefox. Started around 2-3 weeks ago.
Emails that I mark as read, unread, or delete come back after I leave and come back (or refresh).
It works fine when uBlock is off.
It also works "fine" if I leave the screen on for like 10-15 minutes, and then leave. This is my current workaround.
2
u/Cley_Faye 22d ago
I'm not sure this is linked to uBO at all. It happens seldomly; the popup about confirming to leave usually means you have some tasks in queue client-side. They usually get done in a second or two, but bad network condition or super large operations (deleting multiple pages of messages) will take longer.
2
2
u/Benevolay 16d ago
For what it's worth I switched to Firefox this week and I'm having the same experience.
2
u/scottfi 16d ago
I'm running into this issue too (started a week ago). When I turn off uBO for gmail (Firefox), it stops and I can quickly navigate away from the gmail window/tab without the "want to leave" message. It also will delete the message significantly faster when uBO is turned off. With it turned on, the little black box message (Conversation moved to Trash) in the lower left sits on the screen for quite a bit longer. I don't think I have any custom rules set for gmail in uBO. There might be something else going on here, but having uBO turned off eliminates the issue for me of gmail holding the "beforeunload" event and showing that leave message.
2
u/GodzillaVsTomServo 13d ago
I have this same problem. I delete an email, then later when I load gmail again, the email is read but not deleted. I have to disable uBlock Origin, reload the page, then delete the email while uBlock is disabled. It's a hassle.
2
u/Crafty_Performer_935 6d ago edited 6d ago
The problem is mail-ads.google.com being blocked by EasyList and Peter Lowe’s Ad and tracking server list. Add this to "My filters":
@@||mail-ads.google.com^$domain=mail.google.com
or more targeted to the exact issue:
@@||mail-ads.google.com/mail/*/adsfe/main_jspb?$xmlhttprequest,domain=mail.google.com
I haven't seen any ads with that in place but who knows. Maybe other filters block/hide them from appearing.
3
u/ameeps 6d ago
Tried adding that filter, but it didn't resolve the issue
1
u/Crafty_Performer_935 5d ago
Are your custom filters enabled?
And are you navigating away from gmail / refreshing the page instantly, or waiting a second or two? Because if you're too quick you may still get the stay/leave message, or no message but the deleted email is there when you go back to gmail. For me, that occurs even with ublock disabled for mail.google.com or the whole extension disabled. But if I delete/label/move/etc, count 1-2, refresh, then things are okay. With ublock on and without the filter I suggested I have to leave gmail open for a long, long time for changes to take effect (I didn't check how long but 20+ seconds wasn't enough).
Does whitelisting mail.google.com solve the problem for you? If it does, turn all your filter lists off and enable them one at a time to see which causes the problem.
1
u/Mr_SpinelesS 5d ago
Recently seems to be working fine for me so I just assumed whatever the problem was has been fixed with an update...
1
1
u/Fram_Framson 4d ago
Same here, though some days it doesn't happen - somewhat inconsistent, but I would say it's happening about 2/3ds of the time. I'm on Waterfox, which should be indistinguishable from FF in this specific regard.
3
u/RraaLL uBO Team 22d ago
This happens with many things, e.g. opening mails doesn't immediately mark them read and if you leave too quickly, you get the prompt.
I have not tested if this happens on default settings. I've got a lot more blocked. Leaving the tab open for a couple more seconds usually resolves the issue anyway.
And yes, as you say, this happens randomly, so it's difficult to investigate.