iOS, when block scripts is enabled but some sites are whitelisted, those sites sometimes have it disabled anyway when navigated to directly (e.g. typing URL into address bar)

,

Troubleshooting technical issues is much easier when both the user and support agent practice clear communication. For this reason, we have provided the template below for you to fill out with information about your issue. Please provide as much detail as possible so we can most efficiently resolve your problem.


Description of the issue:
On Version 1.69.2 (172), iPhone 13, iOS 18.0.1 (this also happened on 18.0), when “Block scripts” is enabled in shields and privacy, JavaScript is disabled for all sites, except for ones which have the feature turned off via the brave logo menu in the top right. On android this worked fine, but in iOS this sometimes fails. When I go to a website with JavaScript enabled from the new tab page, it will sometimes not load JavaScript anyway, and I have to reload the page or create the tab again. However, this doesn’t happen if I navigate to a page through a clickable link, for example I have both duckduckgo and youtube set to have JavaScript allowed, if I search youtube in duckduckgo, it will sometimes not have JavaScript loaded, then if I click on the YouTube link, javascript will always load on YouTube.

How can this issue be reproduced?

  1. Enable “Block scripts” in settings - shields & privacy
  2. Go to any website and turn the feature off for that site in the brave menu
  3. Close and reopen, go to the URL of the website straight from the address bar

Expected result:

Expected with bug: JavaScript sometimes doesn’t load.
Expected without bug: JavaScript loads on sites specified.

Brave Version( check About Brave): 1.69.2 (172)

Mobile Device details iPhone 13, iOS 18.0.1

Additional Information: Also occurred on iOS 18.0, unsure if occurred on past versions of Brave

Oops. You use iOS, and the following tip is not helpful - re iOS platform.

Let us say that your website of interest, is:

  • https://www.website_of_interest.com

In a New Window, go to:

  • brave://settings/cookies

Scroll down that settings page, to Sites that can always use cookies

Click the Add button

Enter [*.]website_of_interest.com as the site . . . but do not Enable the following:

  • Current Private session only
  • Including third-party cookies on this site

Click the Add button

Next, go to:

  • brave://settings/content/javascript

Scroll down that javascript settings page to Allowed to use javascript

Click the Add button

Enter [*.]website_of_interest.com as the site . . . but do not Enable the following:

  • Current Private session only

Click the Add button

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