-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use chromium version to determine AdBlock version #23
Comments
See also discussion from brave/brave-browser#7316. There is an example of minimum version querying on the autoupdating developer documentation:
|
Would it make sense for me to look into implementing this @jumde? We can get the browser version from |
@pes10k @antonok-edm do you still need this feature? @jumde suggested I ask you. |
@mherrmann this would be handy (though better to key off the brave version than the chromium version, if we need to fix something in a hot fix). This would be very handy because then we could have more flexibility in changing the structure of the adblock DAT files, which would make a number of things much more plesant. It would also be good to all us to key off the brave version when fetching HTTPSEverywhere data, for similar reasons |
For example ad-block is currently on format v4. That's where this 4 comes from in:
~/Library/Application\ Support/BraveSoftware/Brave-Browser-Beta/cffkpbalmllkdoenhmdmpbkajipdjfam/1.0.133/4/ABPFilterParserData.dat
The Brave Browser is smart enough to know to update the extension to v5 if it has client code from brave/ad-block that specifies the current version as v5 format.
The problem is, we need to go to version 5 format soon. This wouldn't be a problem for it landing in master only. But to do this we need to be able to keep old installs still working.
we'd want the ability to update extensions differently depending on the Chromium version in use.
So mainly we'd like to have the ability to have Chromium 73 and below use a differently packaged format v4 extension. And Chromium 74 and above use a differently packaged format v5 extension. Both would keep the same extension ID.
This would need changes for both
brave/brave-core-crx-packager
andbrave/go-update
. Mainly we'd just coordinate ad-block format updates on major chromium update releases so it works out nicely.The text was updated successfully, but these errors were encountered: