A browser extension can't prevent its own removal, but your browser can. ThirstOff creates a small policy file that you install yourself with administrator rights. Chrome, Edge or Brave then keep ThirstOff installed and switched on. The extension itself changes nothing on your system, and the feature is free.
What you need
Windows or macOS, an administrator account, and Chrome, Edge or Brave with ThirstOff installed from that browser's own store (Brave uses the Chrome Web Store). Other browsers and other browser profiles are not covered.
How to lock the uninstall
1
Allow ThirstOff in private windows first. The Lock uninstall notice then appears at the top of the popup and the settings.
2
Click Download file. If your browser warns about the file, choose Keep.
3
Windows: open “ThirstOff-Uninstall-Lock.reg” from your Downloads folder, confirm the Registry Editor prompts with Yes, then click OK.
4
macOS: open the .mobileconfig file, go to System Settings → General → Device Management, double-click the ThirstOff profile, click Install…, confirm the notice and enter your Mac password.
5
Quit the browser completely and open it again. The notice disappears by itself once the lock is active.
How to remove the uninstall lock
The lock is a browser policy, so it is removed the same way it was added: with administrator rights on the computer. ThirstOff can then be removed or switched off again in the browser.
1
Windows: open the Registry Editor (regedit) as administrator and go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist. For Edge the path ends in Microsoft\Edge\ExtensionInstallForcelist, for Brave in BraveSoftware\Brave\ExtensionInstallForcelist. Delete the value named 84731.
2
macOS: open System Settings → General → Device Management, select the profile “ThirstOff – [your browser]”, click Remove and confirm with an administrator password.
3
Quit the browser completely and open it again. ThirstOff is now a normal extension that can be removed or switched off.
Frequently asked questions
Does this work with Firefox?
No. The uninstall lock is available for Chrome, Edge and Brave on Windows and macOS.
Does it also lock my settings?
No, it only keeps the extension installed and switched on. To protect your settings, set up a password or timed lock as well.
Why do I have to allow private windows first?
The Lock uninstall notice appears once ThirstOff is allowed in private windows. Without that permission, private windows are not protected at all, so it is worth turning on anyway.