gioxx / MarvellousSuspender

A chrome extension for suspending all tabs to free up memory, based on the original TGS 7.1.6, without tracking. Find more information about that on https://gioxx.org/tms
https://go.gioxx.org/download-tms
GNU General Public License v2.0
1.06k stars 87 forks source link

feature request - add policy feature from v7.1.8 #210

Open badrelmers opened 1 year ago

badrelmers commented 1 year ago

Hi, is it possible to add the changes added to v7.1.8 about the windows policy? https://github.com/greatsuspender/thegreatsuspender/issues/1174

here they explain what this change adds: https://github.com/aciidic/thegreatsuspender-notrack

Windows Group Policies / Windows Registry configuration values

Since extension version 7.1.8 it is possible to set the configuration using the system registy, which can be applied via group policies on Microsoft Windows. More Info

The whitelist consists of a list of domains seperated by a space character, do not include http:// or https:// Here's an example: domain1.com www.domain2.com sub.domain3.com

Configuration stored in registry can be either HKCU or HKLM at \Software\Policies\Google\Chrome\3rdparty\extensions\EXTENSION_ID\policy

Replace the EXTENSION_ID with the correct value

  • To enable function (true) use REG_DWORD set to 1
  • To disable function (false) use REG_DWORD set to 0
  • When using REG_SZ "quotes" are not required

The following settings can be defined:

  • SCREEN_CAPTURE (string, default: '0')
  • SCREEN_CAPTURE_FORCE (boolean, default: false)
  • SUSPEND_IN_PLACE_OF_DISCARD (boolean, default: false)
  • DISCARD_IN_PLACE_OF_SUSPEND (boolean, default: false)
  • USE_ALT_SCREEN_CAPTURE_LIB (boolean, default: false)
  • DISCARD_AFTER_SUSPEND (boolean, default: false)
  • IGNORE_WHEN_OFFLINE (boolean, default: false)
  • IGNORE_WHEN_CHARGING (boolean, default: false)
  • UNSUSPEND_ON_FOCUS (boolean, default: false)
  • IGNORE_PINNED (boolean, default: true)
  • IGNORE_FORMS (boolean, default: true)
  • IGNORE_AUDIO (boolean, default: true)
  • IGNORE_ACTIVE_TABS (boolean, default: true)
  • IGNORE_CACHE (boolean, default: false)
  • ADD_CONTEXT (boolean, default: true)
  • SYNC_SETTINGS (boolean, default: true)
  • ENABLE_CLEAN_SCREENCAPS (boolean, default: false)
  • SUSPEND_TIME (string (minutes), default: '60')
  • NO_NAG (boolean, default: false)
  • WHITELIST (string (one URL per line), default: '')
  • THEME (string, default: 'light')