/* * Copyright (c) 2021 ETH Zürich, Educational Development and Technology (LET) * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ namespace SafeExamBrowser.Settings.Browser { /// /// Defines all policies for browser window popups. /// public enum PopupPolicy { /// /// Allows all popups. /// Allow, /// /// Allows only popups which target the same host as the window from which they originate. /// AllowSameHost, /// /// Allows only popups which target the same host as the window from which they originate and opens every request directly in the respective window. /// AllowSameHostAndWindow, /// /// Allows all popups but opens every request directly in the window from which it originates. /// AllowSameWindow, /// /// Blocks all popups. /// Block } }