drop-feeds icon indicating copy to clipboard operation
drop-feeds copied to clipboard

Reddit feed is blocked by tracking protection

Open jeffthieleke-wf opened this issue 6 years ago • 5 comments

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.

jeffthieleke-wf avatar Jun 02 '18 19:06 jeffthieleke-wf

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

dauphine-dev avatar Oct 29 '18 17:10 dauphine-dev

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
            )
        )
    );

linulin avatar Apr 03 '19 23:04 linulin

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

dauphine-dev avatar Apr 04 '19 08:04 dauphine-dev

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).

linulin avatar Apr 06 '19 09:04 linulin

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

dauphine-dev avatar Apr 06 '19 10:04 dauphine-dev