Description of the issue:
I’m developing a web app, and fetching partial html for dynamic page navigation using javascript fetch
(when javascript is enabled).
Brave seems to be blocking a url with the term advertisements
in the episode slug, even though the page has nothing to do with serving ads! The page is not blocked when navigating to it directly in the browser, just when using fetch
. The content-type returned is text/html; charset=utf-8
in case that’s relevant.
Fetch fails with net::ERR_BLOCKED_BY_CLIENT
, Brave shows “1 cross-site tracker blocked”. The fetches are done back to the same origin as the document location so that really makes no sense.
Is there something I can do while writing the webapp to make sure calls back to my same origin always succeed?
Exact URL of the website in question:
http://<localhost or custom domain>/episode/advertisements-<hexstring>.html
Did the issue present with default Shields settings? (yes/no)
Yes
Does the site function as expected when Shields are turned off?
Yes
Is there a specific Shields configuration that causes the site to break? If so, tell us that configuration. (yes/no):
Unknown, it fails with standard settings
Does the site work as expected when using Chrome?
Yes
Brave version (check About Brave
):
Version 1.23.75 Chromium: 90.0.4430.93 (Official Build) (x86_64) ](https://brave.com/latest/)