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

Amazon Order Confirmation Emails Disappear in Gmail #34

Open
zweidrache opened this issue May 11, 2024 · 2 comments
Open

Amazon Order Confirmation Emails Disappear in Gmail #34

zweidrache opened this issue May 11, 2024 · 2 comments

Comments

@zweidrache
Copy link

As stated in the title, ever since installing this blocklist many Amazon emails - especially order confirmation or delivery notices, etc - all load as blank white emails in Gmail. This happens both in the regular desktop view, fullscreen, and when attempting to print the email as a PDF for record-keeping. I have to disable Ublock entirely to get it back.

I opened up the uBlock Origin logger and believe it to be the result of the following line in the list but I'm not savvy enough with the extension to be able to verify 100%.

google.com,duckduckgo.com,bing.com##a[href*="play.ht"]:upward(div):style(opacity:0.00!important;)

I've attached a screenshot which has embedded the exact line from the logger that stood out; I didn't see any other lines highlighted by uBlock that seemed relevant. Interesting enough is that even with uBlock disabled and when I'm able to read the emails normally with all text present, that "play.ht" domain that is in the rule doesn't show up in the inspect window or page source (not any way I can locate it, anyway).

image

For a potential solution, rather than just removing the specific domain, would it be possible to exclude the rules from triggering inside the Gmail site altogether? Perhaps add some kind of visible flag or warning about the email potentially containing references or external sources that are caught by this blocklist, rather than outright just wiping the whole email from existence without any indication of why this was happening. Until I was reminded today that I even had this blocklist installed, and toggled my extensions, I thought google or amazon was messed up somehow and didn't think it was something specific to my browser.

@laylavish
Copy link
Owner

laylavish commented May 11, 2024

Okay, so I think I know why this is happening. It's a combination of the top level domain google.com & play.ht. play.ht is hitting things like play.htm/play.html which is causing this issue. Since Gmail (mail.google.com) uses top level domain google.com, it causes the blocklist to be active.

So there are three solutions:

  1. You can just hit uBlock Origin's power button while on Gmail and it will disable the blacklist ONLY on mail.google.com, restoring your results. While this is an okay solution, it is a bit cumbersome and isn't the "set it and forget it" experience that I'm after for.

  2. You can add mail.google.com#@#a[href*="play.ht"]:upward(div):style(opacity:0.00!important;) to your filters list. This would restore your results.

  3. Add two entries in the list for play.ht. One preceding with a period and one with a forward slash. Did some testing and it seems to work fine. I'll probably go with this one, and just in case add mail.google.com as an exception.

Sorry for the confusion! Will fix up shortly!

Okay, it's fixed! Update, and it should be resolved now.

@zweidrache
Copy link
Author

Okay, so I think I know why this is happening. It's a combination of the top level domain google.com & play.ht. play.ht is hitting things like play.htm/play.html which is causing this issue. Since Gmail (mail.google.com) uses top level domain google.com, it causes the blocklist to be active.

Hilariously, the email I got as the reply to this issue had the same thing happen, so it's not even parsing just URLs for hyperlinks and images but plaintext references. And I checked the other email and found out it's probably matching "display.html" which is in one of the standard URLs on those emails LOL

However I did just update and that did the trick, and I can now see the affected emails. Thanks!

You can just hit uBlock Origin's power button while on Gmail and it will disable the blacklist ONLY on mail.google.com, restoring your results. While this is an okay solution, it is a bit cumbersome and isn't the "set it and forget it" experience that I'm after for.

I won't do this, because I rely on uBlock intercepting when I click on links or images inside of my emails that may be used to track those clicks, which is a higher priority for me than the much much MUCH smaller chance of me getting an email that somehow has ties to a site that may or may not use AI images in some fashion. (And leads to false positives like this one.)

To that point, again, I don't think I would require protection inside Gmail in the way this blocklist offers, and if it can't be integrated into the list itself to exclude mail.google.com for all rules, is there some other way to keep the entire list from triggering only when I'm using Gmail? (Without disabling uBlock entirely for that site.)

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