Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

JSONP call to reddit.com being blocked by shields, but adblock library returns no matches #126

Open
Miyayes opened this issue Jul 19, 2018 · 0 comments

Comments

@Miyayes
Copy link

Miyayes commented Jul 19, 2018

Issue: Call to https://www.reddit.com/r/BATProject/new.json?jsonp=redditStream from another domain gets blocked by Brave shields (under "Ad or tracker blocked") even though there are no matches in the adblock library lists.

Steps to reproduce: Live website with this issue: http://www.blockchainworkshop.org/testbraveblock.html

According to adblock library lists, this should not be getting blocked (credit to Brian Bondy for the check):

https://easylist.to/easylist/easylist.txt...
https://easylist.to/easylist/easyprivacy.txt...
https://raw.githubusercontent.com/brave/adblock-lists/master/ublock-unbreak.txt...
https://raw.githubusercontent.com/brave/adblock-lists/master/brave-unbreak.txt...
https://raw.githubusercontent.com/brave/adblock-lists/master/coin-miners.txt...

params: https://www.reddit.com/r/BATProject/new.json?jsonp=redditStream 1 www.blockchainworkshop.org
{ matches: false }

Purpose of call: JSONP call for JSON representation of the BATProject subreddit. Cannot fetch .json directly for CORS reasons (website is currently just a page with no backend). "redditStream" parameter is just the name of the callback function meant to be executed once the above script gets called.

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

No branches or pull requests

1 participant