acc8bf1b0d00837f449a75d9e6141c95f6c0d2ae
[kill9.git] / guides / firefox / spyware.md
1 # Remove Firefox spyware
2
3 Firefox is a great browser (Not to say the best), nevertheless it has some spyware feature. But they can be removed:
4
5 I assume you are using GNU/Linux BTW.
6
7 By doing this guide you'll lose everything you've installed on firefox (Bookmarks, extensions, history...)
8
9 Go to ~/.mozilla/firefox You'll find some .default folders. One
10 contains a "times.json" file and the other is full of shit. Delete every content on the folder full of shit
11
12 create a file called user.js and put this:
13
14 ~~~
15 user_pref("network.connectivity-service.enabled", false);
16 user_pref("browser.startup.homepage", "about:blank");
17 user_pref("browser.newtabpage.enabled", false);
18 user_pref("browser.newtab.preload", false);
19 user_pref("browser.search.geoip.url", "");
20 user_pref("app.update.enabled", false);
21 user_pref("extensions.update.enabled", false);
22 user_pref("app.update.auto", false);
23 user_pref("extensions.update.autoUpdateDefault", false);
24 user_pref("app.update.service.enabled", false);
25 user_pref("app.update.staging.enabled", false);
26 user_pref("app.update.silent", false);
27 user_pref("extensions.getAddons.cache.enabled", false);
28 user_pref("lightweightThemes.update.enabled", false);
29 user_pref("browser.search.update", false);
30 user_pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
31 user_pref("dom.ipc.plugins.reportCrashURL", false);
32 user_pref("extensions.getAddons.showPane", false);
33 user_pref("extensions.webservice.discoverURL", "");
34 user_pref("toolkit.telemetry.unified", false);
35 user_pref("toolkit.telemetry.enabled", false);
36 user_pref("toolkit.telemetry.server", "data:,");
37 user_pref("toolkit.telemetry.archive.enabled", false);
38 user_pref("toolkit.telemetry.cachedClientID", "");
39 user_pref("toolkit.telemetry.newProfilePing.enabled", false);
40 user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
41 user_pref("toolkit.telemetry.updatePing.enabled", false);
42 user_pref("toolkit.telemetry.bhrPing.enabled", false);
43 user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
44 user_pref("toolkit.telemetry.hybridContent.enabled", false);
45 user_pref("datareporting.healthreport.uploadEnabled", false);
46 user_pref("datareporting.policy.dataSubmissionEnabled", false);
47 user_pref("breakpad.reportURL", "");
48 user_pref("browser.tabs.crashReporting.sendReport", false);
49 user_pref("browser.crashReports.unsubmittedCheck.enabled", false);
50 user_pref("browser.crashReports.unsubmittedCheck.autoSubmit", false);
51 user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
52 user_pref("browser.aboutHomeSnippets.updateUrl", "data:,");
53 user_pref("browser.chrome.errorReporter.enabled", false);
54 user_pref("browser.chrome.errorReporter.submitUrl", "");
55 user_pref("extensions.blocklist.enabled", false);
56 user_pref("extensions.blocklist.url", "");
57 user_pref("services.blocklist.update_enabled", false);
58 user_pref("services.blocklist.onecrl.collection", "");
59 user_pref("services.blocklist.addons.collection", "");
60 user_pref("services.blocklist.plugins.collection", "");
61 user_pref("services.blocklist.gfx.collection", "");
62 user_pref("browser.safebrowsing.malware.enabled", false);
63 user_pref("browser.safebrowsing.phishing.enabled", false);
64 user_pref("browser.safebrowsing.downloads.enabled", false);
65 user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
66 user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false);
67 user_pref("browser.safebrowsing.downloads.remote.block_dangerous", false);
68 user_pref("browser.safebrowsing.downloads.remote.block_dangerous_host", false);
69 user_pref("browser.safebrowsing.provider.google.updateURL", "");
70 user_pref("browser.safebrowsing.provider.google.gethashURL", "");
71 user_pref("browser.safebrowsing.provider.google4.updateURL", "");
72 user_pref("browser.safebrowsing.provider.google4.gethashURL", "");
73 user_pref("browser.safebrowsing.downloads.remote.enabled", false);
74 user_pref("browser.safebrowsing.downloads.remote.url", "");
75 user_pref("browser.safebrowsing.provider.google.reportURL", "");
76 user_pref("browser.safebrowsing.reportPhishURL", "");
77 user_pref("browser.safebrowsing.provider.google4.reportURL", "");
78 user_pref("browser.safebrowsing.provider.google.reportMalwareMistakeURL", "");
79 user_pref("browser.safebrowsing.provider.google.reportPhishMistakeURL", "");
80 user_pref("browser.safebrowsing.provider.google4.reportMalwareMistakeURL", "");
81 user_pref("browser.safebrowsing.provider.google4.reportPhishMistakeURL", "");
82 user_pref("browser.safebrowsing.allowOverride", false);
83 user_pref("browser.safebrowsing.provider.google4.dataSharing.enabled", false);
84 user_pref("browser.safebrowsing.provider.google4.dataSharingURL", "");
85 user_pref("browser.safebrowsing.blockedURIs.enabled", false);
86 user_pref("browser.safebrowsing.provider.mozilla.gethashURL", "");
87 user_pref("browser.safebrowsing.provider.mozilla.updateURL", "");
88 user_pref("network.allow-experiments", false);
89 user_pref("app.normandy.enabled", false);
90 user_pref("app.normandy.api_url", "");
91 user_pref("app.shield.optoutstudies.enabled", false);
92 user_pref("shield.savant.enabled", false);
93 user_pref("extensions.systemAddon.update.enabled", false);
94 user_pref("extensions.systemAddon.update.url", "");
95 user_pref("browser.ping-centre.telemetry", false);
96 user_pref("extensions.pocket.enabled", false);
97 user_pref("browser.library.activity-stream.enabled", false);
98 user_pref("extensions.screenshots.disabled", true);
99 user_pref("extensions.screenshots.upload-disabled", true);
100 user_pref("browser.onboarding.enabled", false);
101 user_pref("extensions.formautofill.addresses.enabled", false);
102 user_pref("extensions.formautofill.available", "off");
103 user_pref("extensions.formautofill.creditCards.enabled", false);
104 user_pref("extensions.formautofill.heuristics.enabled", false);
105 user_pref("extensions.webcompat-reporter.enabled", false);
106 user_pref("network.prefetch-next", false);
107 user_pref("network.dns.disablePrefetch", true);
108 user_pref("network.dns.disablePrefetchFromHTTPS", true);
109 user_pref("network.predictor.enabled", false);
110 user_pref("captivedetect.canonicalURL", "");
111 user_pref("network.captive-portal-service.enabled", false);
112 user_pref("browser.send_pings", false);
113 user_pref("browser.send_pings.require_same_host", true);
114 user_pref("network.protocol-handler.external.ms-windows-store", false);
115 user_pref("network.predictor.enable-prefetch", false);
116 user_pref("network.trr.mode", 0);
117 user_pref("network.trr.bootstrapAddress", "");
118 user_pref("network.trr.uri", "");
119 user_pref("network.file.disable_unc_paths", true);
120 user_pref("browser.search.suggest.enabled", false);
121 user_pref("browser.urlbar.suggest.searches", false);
122 user_pref("browser.urlbar.userMadeSearchSuggestionsChoice", true);
123 user_pref("browser.urlbar.usepreloadedtopurls.enabled", false);
124 user_pref("browser.urlbar.speculativeConnect.enabled", false);
125 user_pref("security.ssl.errorReporting.automatic", false);
126 user_pref("security.ssl.errorReporting.enabled", false);
127 user_pref("security.ssl.errorReporting.url", "");
128 user_pref("dom.push.enabled", false);
129 user_pref("dom.push.connection.enabled", false);
130 user_pref("dom.push.serverURL", "");
131 user_pref("dom.push.userAgentID", "");
132 user_pref("beacon.enabled", false);
133 user_pref("browser.uitour.enabled", false);
134 user_pref("browser.uitour.url", "");
135 user_pref("permissions.manager.defaultsUrl", "");
136 user_pref("webchannel.allowObject.urlWhitelist", "");
137 user_pref("browser.startup.homepage_override.mstone", "ignore");
138 user_pref("startup.homepage_welcome_url", "");
139 user_pref("startup.homepage_welcome_url.additional", "");
140 user_pref("startup.homepage_override_url", "");
141 user_pref("media.gmp-gmpopenh264.autoupdate", false);
142 user_pref("browser.shell.shortcutFavicons", false);
143 user_pref("media.gmp-eme-adobe.autoupdate", false);
144 user_pref("media.gmp-manager.url", "data:text/plain,");
145 user_pref("media.gmp-manager.url.override", "data:text/plain,");
146 user_pref("media.gmp-manager.updateEnabled", false);
147 user_pref("media.gmp-widevinecdm.autoupdate", false);
148 user_pref("devtools.webide.autoinstallADBHelper", false);
149 ~~~
150
151 Save the file and oper firefox. There you go.