Controls whether unload event handlers can be disabled.

Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)

Identyfikator zasady
ForcePermissionPolicyUnloadDefaultEnabled
Zakres
Konfiguracja komputera, Konfiguracja użytkownika
Obsługiwane w systemach
Microsoft Windows 7 or later
Źródło
Google Chrome Policy Templates (wersja 156.0.8078.80)
Kategoria
Google › Google Chrome

Opis

unload event handlers are being deprecated. Whether they fire depends on the unload Permissions-Policy. Currently, they are allowed by policy by default. In the future they will gradually move to being disallowed by default and sites must explicitly enable them using Permissions-Policy headers. This enterprise policy can be used to opt out of this gradual deprecation by forcing the default to remain as enabled.

Pages may depend on unload event handlers to save data or signal the end of a user session to the server. This is not recommended as it is unreliable and impacts performance by blocking use of BackForwardCache. Recommended alternatives exist, however the unload event has been used for a long time. Some applications may still rely on them.

If this policy is set to false or not set, then unload events handlers will be gradually deprecated in-line with the deprecation rollout and sites which do not set Permissions-Policy header will stop firing `unload` events.

If this policy is set to true then unload event handlers will continue to work by default.

NOTE: This policy had an incorrectly documented default of `true` in M117. The unload event did and will not change in M117, so this policy has no effect in that version.

Rejestr

KomputerHKEY_LOCAL_MACHINE
  • ForcePermissionPolicyUnloadDefaultEnabledREG_DWORD
UżytkownikHKEY_CURRENT_USER
  • ForcePermissionPolicyUnloadDefaultEnabledREG_DWORD

Inne zasady w tej samej kategorii

Zobacz wszystkie zasady w tej kategorii (235)