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

Feedbro RSS Reader extensions can't load youtube RSS feeds if DuckDuckGo Privacy Extensions are enabled #1732

Closed
NinjaSciurus opened this issue Feb 21, 2023 · 3 comments
Labels

Comments

@NinjaSciurus
Copy link

Description

The Feedbro Reader is an RSS reader extension. All Youtube channel RSS feed requests issued by Feedbro are blocked by the DuckDuckGo Privacy Extension, they never even hit the network layer. Disabling the DuckDuckGo Privacy Essentials extensions immediately enables Feedbro to load youtube channel RSS feeds.

Steps to Reproduce

  1. Install and activate DuckDuckGo Privacy Extensions
  2. Install and activate Feedbro Reader extension
  3. Try to register a Youtube Channel's RSS feed url in Feedbro and use the "Load" button in the "Add a new feed" dialog to load the Channel title. An error message appears static that the url is invalid.
  4. Replay the XMLHttpRequest on the browser console in the tab with Feedbro loaded to create an entry in the F12 tools "Network" tab:
var j = new XMLHttpRequest()
j.open("GET", "https://www.youtube.com/feeds/videos.xml?channel_id=UC3XTzVzaHQEd30rQbuvCtTQ", true)
j.send()
  1. Observe the console result: GET https://www.youtube.com/feeds/videos.xml?channel_id=UC3XTzVzaHQEd30rQbuvCtTQ net::ERR_BLOCKED_BY_CLIENT

Expected behavior:
The youtube channel feed xml gets loaded via XMLHttpRequest and is usable by the Feedbro extension.

Actual behavior:
The XMLHttpRequest is blocked. Replaying the request on the browser console shows the error net::ERR_BLOCKED_BY_CLIENT

Versions

  • Extension: 2023-02-16
  • Browser: Microsoft Edge Version 109.0.1518.78 (Official build) (64-bit)
  • OS: Windows

Additional Information

The issue is repeatable every time, even after reinstallation of both (!) extensions, browser relaunch and computer reboot.

@sammacbeth
Copy link
Collaborator

Thanks for the report. I was able to reproduce the issue with the Manifest V3 version of our extension, but not with MV2. It therefore looks like the new Chrome APIs for blocking requests allow blocking of requests from other extensions (previously this wasn't possible), which is what is causing this issue.

To fix your issue for the time-being, could you try installing the version of the extension from the Chrome Web Store (instead of the Edge extension store), as that version still uses the old MV2 APIs. I'll also look into a fix on our end.

@NinjaSciurus
Copy link
Author

NinjaSciurus commented Feb 23, 2023 via email

@sammacbeth
Copy link
Collaborator

Update here: after filing w3c/webextensions#369, Chrome agreed that this is a bug with declarativeNetRequest, and they will fix the issue in Chrome. In the meantime, we mitigated the issue by disabling this blocking, so I think we can close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants