19

Just in the past couple days I have started getting console errors in chrome on my website that I'm developing on my local machine. The error is "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'browsing-topics'.

From brief googling, it seems to have something to do with Google's privacy settings for their new topics ad tracking thing. I am not using any ad related scripts on my website, so I don't know why it just suddenly started appearing. Can someone tell me how to get this to go away?

Edit - I figured out that the chrome extension uBlock origin is causing the error. I'd still like to figure out how to make it go away rather than just disabling uBlock origin.

SpechtacularDave
  • 319
  • 1
  • 3
  • 7

3 Answers3

20

I disabled uBlock origin which removed the warning in the console

  • 3
    If I could I'd flag this as VLQ. – user16217248 Aug 11 '23 at 23:08
  • @user16217248 the answer [currently] has 15 up-votes. Seems like it helped at least 15 people. Maybe an explanation of how to disable uBlock origin could be added to the answer. – Abra Aug 19 '23 at 09:53
6

You can hide the message by focusing on the current context / iframe.

In the Chrome console, clicking the Settings icon and enabling "Selected context only" will only show console messages from the currently selected iframe, or the top window.

Console settings showing the "Selected context only" option

But beware: if you're debugging a page with iframes, and you want to see console messages from those iframes, then you'll need to keep in mind which context you have selected.

Here is where you select your context. It lists all iframes and extensions (I'm not sure if these run in iframes or not)

enter image description here

Matthias
  • 13,607
  • 9
  • 44
  • 60
3

According to the uBlock Origin issue report you can add the filter @@||localhost^$permissions=browsing-topics=() to your uBlock Origin filters to disable the messages. However it should have been fixed in uBlock Origin in this commit

Terion
  • 56
  • 1