Confirmed users
908
edits
(→Using custom API key: simplify API key instructions) |
(→Try Google Safe Browsing v4!: improve the instructions on how to enable V4) |
||
Line 32: | Line 32: | ||
# Rebuild and check if <tt>config.status</tt> has something like <tt>'MOZ_GOOGLE_API_KEY': b'AIzaSooxxxxoxoxoxoxooxx'</tt> | # Rebuild and check if <tt>config.status</tt> has something like <tt>'MOZ_GOOGLE_API_KEY': b'AIzaSooxxxxoxoxoxoxooxx'</tt> | ||
= Try Google Safe Browsing | = Try Google Safe Browsing V4! = | ||
To use Google Safe Browsing V4, set the following preferences: | |||
# <tt>urlclassifier.downloadAllowTable</tt> to <tt>goog-downloadwhite-proto</tt> | |||
# <tt>urlclassifier.downloadBlockTable</tt> to <tt>goog-badbinurl-proto</tt> | |||
# <tt>urlclassifier.phishTable</tt> to <tt>goog-phish-proto,test-phish-simple</tt> | |||
# <tt>urlclassifier.malwareTable</tt> to <tt>goog-malware-proto,goog-unwanted-proto,test-malware-simple,test-unwanted-simple</tt> | |||
To use both V4 and V2 at the same time: | |||
# <tt>urlclassifier.downloadAllowTable</tt> to <tt>goog-downloadwhite-proto,goog-downloadwhite-digest256</tt> | |||
# <tt>urlclassifier.downloadBlockTable</tt> to <tt>goog-badbinurl-proto,goog-badbinurl-shavar</tt> | |||
# | # <tt>urlclassifier.phishTable</tt> to <tt>goog-phish-proto,goog-phish-shavar,test-phish-simple</tt> | ||
# <tt>urlclassifier.malwareTable</tt> to <tt>goog-malware-proto,goog-unwanted-proto,goog-malware-shavar,goog-unwanted-shavar,test-malware-simple,test-unwanted-simple</tt> | |||
= Milestones = | = Milestones = |