13
edits
(fix inversion malwareTable / phishTable) |
(→Try it on!: improve explanation on how to activate v4) |
||
| Line 20: | Line 20: | ||
# Rebuild and check if config.status has something like 'MOZ_GOOGLE_API_KEY': b'AIzaSooxxxxoxoxoxoxooxx' | # Rebuild and check if config.status has something like 'MOZ_GOOGLE_API_KEY': b'AIzaSooxxxxoxoxoxoxooxx' | ||
= Try | = Try Google Safe Browsing v4! = | ||
v4 tables are suffixed by "-proto", to indicate that the table should be updated and completed via protobuf: goog-phish-proto, goog-unwanted-proto and goog-malware-proto. | |||
# '''urlclassifier.phishTable''' to ''' | To use Google Safe Browsing v4, change preferences as follows: | ||
# '''urlclassifier.malwareTable''' to '''goog-malware | |||
# '''urlclassifier.phishTable''' to '''goog-phish-proto''' | |||
# '''urlclassifier.malwareTable''' to '''goog-malware-proto''' | |||
# '''browser.safebrowsing.provider.google4.gethashURL''' to '''https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_API_KEY%''' | # '''browser.safebrowsing.provider.google4.gethashURL''' to '''https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_API_KEY%''' | ||
# '''browser.safebrowsing.temporary.take_v4_completion_result''' to '''true''' | # '''browser.safebrowsing.temporary.take_v4_completion_result''' to '''true''' | ||
If you want to get rid of v2 | To use v4 while v2 is still up and running, set the names of both v2 and v4 tables: | ||
# '''urlclassifier.phishTable''' to '''goog-phish-proto,goog-phish-shavar''' | |||
# '''urlclassifier.malwareTable''' to '''goog-malware-proto,goog-malware-shavar''' | |||
If you want to completely get rid of v2, you could also set the following preferences to empty string | |||
# '''browser.safebrowsing.provider.google.lists''' to '''""''' | # '''browser.safebrowsing.provider.google.lists''' to '''""''' | ||
then you are ready to go! | then you are ready to go! | ||
edits