Skip to content

Commit 8a88d60

Browse files
committed
Reset firefox's history every time it exits
1 parent 329ede5 commit 8a88d60

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

src/interceptors/fresh-firefox.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,21 @@ export class FreshFirefox implements Interceptor {
9797
"datareporting.policy.dataSubmissionEnabled": false,
9898
"datareporting.policy.dataSubmissionPolicyAccepted": false,
9999
"datareporting.policy.dataSubmissionPolicyBypassNotification": true,
100-
"trailhead.firstrun.didSeeAboutWelcome": true
100+
"trailhead.firstrun.didSeeAboutWelcome": true,
101+
102+
// Refresh all state on shutdown:
103+
"privacy.history.custom": true,
104+
"privacy.sanitize.sanitizeOnShutdown": true,
105+
"privacy.clearOnShutdown.cache": true,
106+
"privacy.clearOnShutdown.cookies": true,
107+
"privacy.clearOnShutdown.downloads": true,
108+
"privacy.clearOnShutdown.formdata": true,
109+
"privacy.clearOnShutdown.history": true,
110+
"privacy.clearOnShutdown.offlineApps": true,
111+
"privacy.clearOnShutdown.sessions": true,
112+
"privacy.clearOnShutdown.siteSettings": true,
113+
// Must be false, or 1st startup 2nd start opens a blank page, not the target URL:
114+
"privacy.clearOnShutdown.openWindows": false
101115
}
102116
)
103117
}, this.config.configPath);

0 commit comments

Comments
 (0)