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

推荐订阅源

V
Visual Studio Blog
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
腾讯CDC
A
About on SuperTechFans
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
D
DataBreaches.Net
D
Docker
宝玉的分享
宝玉的分享
量子位
Microsoft Azure Blog
Microsoft Azure Blog
Martin Fowler
Martin Fowler
博客园 - 三生石上(FineUI控件)
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
V2EX
Last Week in AI
Last Week in AI
H
Help Net Security
Hugging Face - Blog
Hugging Face - Blog
M
MIT News - Artificial intelligence

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/