Skip to content

krishanthan4/chrome_under_control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Chrome & Brave Under Control

A lightweight Linux utility that applies system-wide browser restrictions for Google Chrome and Brave Browser.
It disables Incognito Mode, Guest Mode, and Profile Creation, making it ideal for controlled or shared environments.


Description

This project includes two shell scripts:

  • chrome_control.sh — Applies restrictions to Google Chrome
  • brave_control.sh — Applies restrictions to Brave Browser

Both scripts configure browser enterprise policies on Linux systems. Once applied, users are prevented from:

  • Opening Incognito (or Private) windows
  • Creating or adding new browser profiles
  • Using Guest Mode

These restrictions help enforce accountability and consistent usage policies across devices.


Why Should You Use This?

You may need to control browser behavior in environments such as:

Educational Environments

Prevent misuse of private browsing and ensure students use approved profiles.

Office / Enterprise

Maintain accountability, logging, and compliance by enforcing non-private usage.

Home / Shared Computers

Parents can ensure visibility over browsing activity by disabling private modes.

Kiosks / Public Workstations

Prevent users from creating temporary profiles or bypassing settings.

If you want predictable, controlled browser usage, these scripts provide an easy and reliable solution.


Supported Operating Systems

These scripts work on:

  • Debian-based Linux distributions
  • Ubuntu-based Linux distributions

(Both require sudo privileges to apply system policies.)


Quick Start Guide

1. Clone the Repository

git clone https://github.com/krishanthan4/chrome_under_control.git
cd chrome_under_control

2. Run Browser Controls

  • For Google Chrome:
sudo bash chrome_control.sh
  • For Brave Browser:
sudo bash brave_control.sh

Screenshots

127bd1adf5e374afb3efa5a75342d70f

disabled incognito mode

1123

disabled guest mode

213

Contributing

Contributions are welcome.

To contribute:

  • Fork this repository
  • Create a new feature branch
  • Commit your changes
  • Open a pull request with a clear explanation
  • Issues and suggestions are also encouraged.

About

this script can disable incognito mode ,block adding profiles and disable guest mode in chrome browser , Linux

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages