Skip to content

[Feature] Add option to ignore/bypass Chromium Enterprise Policies #213

@etnperlong

Description

@etnperlong

Verification Steps

  • I have carefully read the INI configuration file and understand the function of each configuration item.
  • I have not searched for the feature request I want to propose in the Issue Tracker and did not find it.
  • I am willing to create a pull request to implement the feature I proposed, otherwise I understand that the issue is likely to be closed.
  • I make sure to describe the feature in English.

Description

Hi,

Many thanks for developing such a useful tool that enables the bulky Chrome browser to be made portable 💖

Currently, when using Chromium-based browsers in certain environments. the browser might be managed by "Enterprise Policies." These policies are often enforced via the Windows Registry and restrict users from changing certain settings (e.g., extension installation, homepage, update settings). This conflicts with the goal of making the browser fully portable and user-controlled.

Image

I would like to request a new feature in chrome_plus that allows the browser to ignore these system-wide Registry Policies.

Ideally, this could be implemented by:

  • Adding a new option in the INI file (e.g., IgnoreEnterprisePolicies=1).
  • Hooking the relevant Registry Read functions (like RegQueryValueExW or similar APIs used by Chromium to read policies).
  • Intercepting calls to policy-related registry keys (e.g., Software\Policies\Google\Chrome or Software\Policies\Microsoft\Edge) and returning a "not found" status or empty values.

I have found a similar open-source project that achieves this: Chromium-Policy-Ignorer

However, that project works as an external loader/launcher that injects the code at startup. Since chrome_plus already utilises version.dll (or similar) for injection, integrating this functionality directly into chrome_plus would be much cleaner and wouldn't require an additional launcher executable.

The reference project (Chromium-Policy-Ignorer) is licensed under GPLv3. Since chrome_plus already has a robust hooking mechanism, I believe the logic for intercepting the registry calls could be adapted from there.

I really appreciate this project and use it daily. Unfortunately, I am not familiar with C++ development, so I cannot submit a Pull Request myself. However, I hope the reference project provided above helps reduce the implementation effort if you decide to add this feature.

Thanks for your hard work on this project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions