Struct apple_bundle::info_plist::app_execution::SafariContentScript [−][src]
pub struct SafariContentScript {
pub allowed_url_patterns: Option<Vec<String>>,
pub excluded_url_patterns: Option<Vec<String>>,
pub script: Option<String>,
}Expand description
Safari Content Script
Fields
allowed_url_patterns: Option<Vec<String>>The webpages that the script can be injected into.
Availability
- macOS 10.11.5+
Framework
- Safari Services
excluded_url_patterns: Option<Vec<String>>The webpages that the script can’t be injected into.
Availability
- macOS 10.11.5+
Framework
- Safari Services
script: Option<String>The path to the content script, relative to the Resources folder in the app extension’s bundle.
Availability
- macOS 10.11.5+
Framework
- Safari Services
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SafariContentScriptimpl Send for SafariContentScriptimpl Sync for SafariContentScriptimpl Unpin for SafariContentScriptimpl UnwindSafe for SafariContentScriptBlanket Implementations
Mutably borrows from an owned value. Read more