Brave doesn't block scripts if website is installed as app, and no way to "uninstall"

Description of the issue:

I loaded up the youtube music website to play my music as i usually do. Brave correctly blocked the scripts and I didn’t see any adverts.

Then I decided to click the icon button in the right of the address bar to load the page as a webapp. Since I did this the ads aren’t blocked anymore, even if I load the webpage normally.

Steps to Reproduce (add as many as necessary): 1. 2. 3.

  • Go to music.youtube.com. In the brave shields, make sure that third party scripts are on so that they are blocked.

  • Play some music and see that ads do not appear.

  • Next click the little icon in the address bar that will run the website as a app.

  • Playing music in this new window will now show adverts.

  • Close that window.

  • Load music.youtube.com in a normal brave browser window

  • Adverts are still playing now.

Actual Result (gifs and screenshots are welcome!):

Adverts are playing even when Third Party Scripts were blocked previously.

Expected result:

Third party scripts should still be blocked when running as an app, or alternatively there should be some way to “Uninstall” installed apps so that the Third Party Scripts are correctly blocked again.

Reproduces how often:

Operating System and Brave Version(See the About Brave page in the main menu):

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Ubuntu 19.04"

Brave installed via Snap

$  snap info brave
name:      brave
summary:   Community-maintained unofficial Snap of Brave Browser
publisher: Brave Software (brave)
contact:   https://community.brave.com/
license:   unset
description: |
  We recommend downloading Brave using the instructions at
  https://brave-browser.readthedocs.io/en/latest/installing-brave.html instead. This Snap is
  community maintained and may not be on the latest Brave release.
commands:
  - brave
snap-id:      uE3hSmGE91m9MpbDEnUWi2vpeumH6gmv
tracking:     stable
refresh-date: yesterday at 13:32 GMT
channels:
  stable:    1.0.1 2019-12-02 (62) 175MB -
  candidate: ↑                           
  beta:      1.0.1 2019-12-02 (62) 175MB -
  edge:      ↑                           
installed:   1.0.1            (62) 175MB -

Version from within brave:

Version 1.0.1 Chromium: 78.0.3904.108 (Official Build) (64-bit)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.