Comments (12)
@srirambv To enable Regional Ad Block, you need to set Brave's language to non-English using chrome://settings/languages. For instance, when I set my language to French, I see the following in chrome://adblock
Total Ads Blocked: 119
Regional Ad Block: Enabled
FRA: EasyList Liste FR
from brave-browser.
Yes, it looks like Windows is the special case where regional ad block can be fully controlled via the browser. On Mac and Linux, it relies on system level settings.
from brave-browser.
Merged here:
brave/brave-core@2242c6c
from brave-browser.
chrome://adblock
shows regional ad block disabled.
@bbondy expected until the adblock UI is ready?
from brave-browser.
That's all that's expected for now, thx for checking
from brave-browser.
Verification passed on
Brave | 0.55.5 Chromium: 70.0.3538.16 (Official Build) dev (64-bit) |
---|---|
Revision | 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306} |
OS | Windows 7 |
from brave-browser.
@emerick this doesn't work on Linux. It doesn't show an option to Set what language is used to display. Having only French as the browser language it still shows as disabled. I'll add a new issue specific to Linux.
from brave-browser.
@srirambv It seems that on Linux, this is controlled via the LANGUAGE
environment variable (see https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/D6Eoeh0G9Y4 for the gory details).
When launching on Linux like this, I saw the expected settings in chrome://adblock:
LANGUAGE=fr_FR ./brave
from brave-browser.
@emerick @bbondy I recently did country detection for Muon and noticed that the code you used @emerick doesn't always return country. For example, if you're in Columbia, I think it returns es-419
(Spanish spoken in Latin America / Caribbean)
Should regional adblocking be using language or country? Some locales returned (like fr-FR
) DO specify the country, so locale may be specific enough in most cases
from brave-browser.
I believe in a followup I changed it so that if the full string is not found, it uses just the smaller part without the dash.
from brave-browser.
Verified that changing setting noted here #41 (comment) does not work for macOS. However, if I change that setting, my region, and my language as per #1238 (comment) then I can see that Regional Adblock is enabled.
Verified with
Brave | 0.55.10 Chromium: 70.0.3538.22 (Official Build) beta(64-bit) |
---|---|
Revision | ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364-refs/branch-heads/3538@{#468} |
OS | Mac OS X |
from brave-browser.
Verification Passed on
Brave | 0.55.11 Chromium: 70.0.3538.35 (Official Build) beta (64-bit) |
---|---|
Revision | 28dcb499844fa40c28d5f62e337876cb936f79f5-refs/branch-heads/3538@{#678} |
OS | Linux |
from brave-browser.
Related Issues (20)
- consolidate `Relaunch` UX/behaviour under `brave://settings` HOT 1
- Set/Get Password for vpn account creation should be done in non-main thread on macOS
- Android Release Notes for `1.64.x - Release #4`
- can't enable `Enable Brave Wallet in Private Windows` toggle via `brave://settings/web3` HOT 3
- Crash when opening new split view while there're pinned tabs
- Reset settings does not reset Block cookies setting if it is set to Disabled
- [ads] Followup: Add debug info to help diagnose database migration/corruption issues
- Brave iOS
- [ads] Implement Griffin support for disabling viewed and clicked event debouncing
- News: disabling then re-enabling doesn't show any channels until NTP refresh HOT 3
- News: disabling then re-enabling recreates Top Sources subscription even if there are other subscriptions HOT 4
- Bad toolbar experience with Display Zoom, and implementing flag `#brave-horizontal-tabs-update` for iOS
- Test failure: PrintBrowserTest.PdfWindowDotPrint HOT 5
- wallet balance doesn't load shows infinite loading animation (getBalance error) HOT 1
- Using touchscreen to move tabs crashes Brave
- AI Chat: Use conversation API
- Replace weakptr with raw_ptr in OnTabDragEndedClosure
- Replace `base::FeatureList::IsEnabled(kSplitView)` with `SplitViewBrowserData::FromBrowser()` if possible
- Update IPFS Kubo to 0.28.0
- Test failure: SharedPinnedTabServiceBrowserTest.ActivatePinnedTab HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brave-browser.