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

Reddit feed is blocked by tracking protection #24

Open
jeffthieleke-wf opened this issue Jun 2, 2018 · 5 comments
Open

Reddit feed is blocked by tracking protection #24

jeffthieleke-wf opened this issue Jun 2, 2018 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@jeffthieleke-wf
Copy link

When tracking protection is enabled (privacy.trackingprotection.enabled), Reddit RSS feeds fail to load:

https://www.reddit.com/r/all/.rss

The resource at “https://www.reddit.com/r/all/.rss?dpNoCache=1527968752532” was blocked because tracking protection is enabled.

I looked into this and other people have reported it in general (https://www.reddit.com/r/redditdev/comments/82b51f/firefox_tracking_protection_preventing_http_get/). I was hoping https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/mozSystem would bypass this, but I think it isn't allowed with the all urls permission.

So I just wanted to document this in case anyone else has ideas about resolving it.

@dauphine-dev dauphine-dev added the help wanted Extra attention is needed label Jun 13, 2018
@dauphine-dev
Copy link
Owner

I have created an wiki entry from this issue: Reddit RSS feeds fail to load

@linulin
Copy link

linulin commented Apr 3, 2019

Quick non-generic hack for those who just want to make it work with their favorite bridge - you need to add the dpNoCache parameter to the PARAMETERS definition of a bridge (e.g. /usr/share/rss-bridge/bridges/VkBridge.php), like this:

    const PARAMETERS = array(
        array(
            'u' => array(
                'name' => 'Group or user name',
                'required' => true
            ),
            'dpNoCache' => array(
                'name' => 'Browser tracking protection',
                'required' => false
            )
        )
    );

@dauphine-dev
Copy link
Owner

Hi @linulin
Thank you for your help, but I don't understand where and how use the PARAMETERS array.

An other thing dropfeeds do a 1st request with 'dpNoCache' parameter, and if this one failed the it does an other one without 'dpNoCache' parameter and this one fails too for reddit feeds with trackingprotection enabled.

In few words
https://www.reddit.com/r/all/.rss
gets
The resource at “https://www.reddit.com/r/all/.rss” was blocked because tracking protection is enabled.
too

@linulin
Copy link

linulin commented Apr 6, 2019

Oh, I'm sorry, I mixed different packages after finding this page through the dpNoCache search query. My previous comment applies to the rss-bridge package which I use as back-end for Drop Feeds to follow some non rss-friendly web sites, (and it does not even have a reddit bridge).

@dauphine-dev
Copy link
Owner

Thank to you any way, because now I know rss-bridge ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants