惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
雷峰网
雷峰网
GbyAI
GbyAI
Hugging Face - Blog
Hugging Face - Blog
N
Netflix TechBlog - Medium
博客园 - 聂微东
Y
Y Combinator Blog
罗磊的独立博客
博客园_首页
小众软件
小众软件
有赞技术团队
有赞技术团队
爱范儿
爱范儿
F
Fortinet All Blogs
C
Check Point Blog
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
Apple Machine Learning Research
Apple Machine Learning Research
M
MIT News - Artificial intelligence
月光博客
月光博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
aimingoo的专栏
aimingoo的专栏

sakurawald's blog

fix-window-tearing-in-high-monitor-refresh-rate fix-nvidia-drm-issues fix-screen-brightness-too-low Fix sddm black screen issue comparing-emacs-and-idea-in-java-development-environment fix the cpu frequency throttle after bad charging how to fix corrupted packages in archlinux make persistent windows 11 usb sticker pin refresh rate of an android phone launch tor browser without tor network rescue a corrupted system after forced shutdown during system upgrade apple magic touch pad review guide to install qubes on qemu optimize minecraft server configuration tweak KDE preferences android emulator methods in linux expression evulation
how to let chrome browser auto clean datas on exit
2024-06-01 · via sakurawald's blog

Background

As we all know, the world’s biggest ad provider google refuse to provide an easy way to auto clean browser history. We can still set our custom policy to enable the hidden feature in chrome browser

Steps

Create our custom policy file

mkdir /etc/opt/chrome/policies/managed
cd /etc/opt/chrome/policies/managed
touch custom_policy.json

Edit the policy file

{
"ClearBrowsingDataOnExitList": [
 "browsing_history",
 "download_history",
 "cookies_and_other_site_data",
 "cached_images_and_files",
 "password_signin",
 "autofill",
 "site_settings",
 "hosted_app_data"
]
}

Test the policy file

Open chrome browser and enter chrome://policy

Reference

  1. https://www.chromium.org/administrators/linux-quick-start/