Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion config/branding.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"companyName": "CyberDrain",
"companyURL": "https://cyberdrain.com/",
"productName": "Check",
"supportUrl": "https://support.cyberdrain.com",
"privacyPolicyUrl": "https://cyberdrain.com/privacy",
"aboutUrl": "",
"version": "1.1.0",
"description": "Protect against phishing attacks targeting Microsoft 365 login pages with enterprise-grade detection",
"branding": {
Expand Down
29 changes: 22 additions & 7 deletions config/managed_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,6 @@
"description": "Company name to display in the extension",
"type": "string",
"default": ""
},
"companyURL": {
"title": "Company URL",
"description": "Company URL used in the extension",
"type": "string",
"default": "https://cyberdrain.com/"
},
"productName": {
"title": "Product Name",
Expand All @@ -145,6 +139,27 @@
"format": "email",
"default": ""
},
"supportUrl": {
"title": "Support URL",
"description": "URL opened by the popup Support link",
"type": "string",
"format": "uri",
"default": ""
},
"privacyPolicyUrl": {
"title": "Privacy URL",
"description": "URL opened by the popup Privacy link",
"type": "string",
"format": "uri",
"default": ""
},
"aboutUrl": {
"title": "About URL",
"description": "URL opened by the popup About link",
"type": "string",
"format": "uri",
"default": ""
},
"primaryColor": {
"title": "Primary Color",
"description": "Primary theme color (hex code)",
Expand All @@ -162,4 +177,4 @@
}
}
}
}
}
37 changes: 27 additions & 10 deletions docs/settings/branding.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ If some settings do not appear on your version, it means your organization's IT
You can customize the following properties:

1. **Company Name** - Enter your organization's name. This appears in the extension interface and blocked page messages (displayed as "Protected by \[Company Name]").
2. **Company URL** - Your company website URL (e.g., `https://yourcompany.com`). Used in extension branding and contact information. _(Firefox: required, Chrome/Edge: optional)_
3. **Product Name** - What you want to call the extension (like "Contoso Security" instead of "Check"). This replaces the default "Check" branding throughout the interface.
4. **Support Email** - Where users should go for help. This email address is used in the "Contact Admin" button when phishing sites are blocked.
2. **Product Name** - What you want to call the extension (like "Contoso Security" instead of "Check"). This replaces the default "Check" branding throughout the interface.
3. **Support Email** - Where users should go for help. This email address is used in the "Contact Admin" button when phishing sites are blocked.
4. **Support URL** - URL opened by the popup **Support** link (for example, `https://support.yourcompany.com`).
5. **Privacy Policy URL** (`privacyPolicyUrl`) - URL opened by the popup **Privacy** link (for example, `https://yourcompany.com/privacy`).
6. **About URL** (`aboutUrl`) - URL opened by the popup **About** link. Leave empty to use the built-in extension About page.

## Visual Customization

Expand Down Expand Up @@ -60,6 +62,9 @@ The branding preview shows you exactly how your customizations will appear to us
* Logo (upload or provide URL)
* Primary Color
* Support Email
* Support URL
* Privacy Policy URL
* About URL
4. Click "Save"

Your branding will be immediately applied to all components.
Expand All @@ -78,7 +83,10 @@ For enterprise deployments using Windows Group Policy:
"companyName": "Your Company",
"logoUrl": "https://example.com/logo.png",
"primaryColor": "#FF5733",
"supportEmail": "security@example.com"
"supportEmail": "security@example.com",
"supportUrl": "https://support.example.com",
"privacyPolicyUrl": "https://example.com/privacy",
"aboutUrl": "https://example.com/about"
}
}
```
Expand Down Expand Up @@ -106,9 +114,11 @@ For Firefox deployments, configure branding through the `policies.json` file:
"check@cyberdrain.com": {
"customBranding": {
"companyName": "Your Company",
"companyURL": "https://yourcompany.com",
"productName": "Security Extension",
"supportEmail": "security@example.com",
"supportUrl": "https://support.example.com",
"privacyPolicyUrl": "https://example.com/privacy",
"aboutUrl": "https://example.com/about",
"primaryColor": "#FF5733",
"logoUrl": "https://example.com/logo.png"
}
Expand Down Expand Up @@ -137,7 +147,10 @@ For organizations using Microsoft Intune with Chrome/Edge:
"companyName": "Your Company",
"logoUrl": "https://example.com/logo.png",
"primaryColor": "#FF5733",
"supportEmail": "security@example.com"
"supportEmail": "security@example.com",
"supportUrl": "https://support.example.com",
"privacyPolicyUrl": "https://example.com/privacy",
"aboutUrl": "https://example.com/about"
}
}
```
Expand Down Expand Up @@ -201,7 +214,6 @@ Enterprise policies always take precedence over manual settings.

* Uses extension ID: `check@cyberdrain.com`
* Configuration is managed through `policies.json` file
* Supports additional `companyURL` property
* Policies file location varies by operating system

### Chrome & Edge
Expand Down Expand Up @@ -290,7 +302,10 @@ Logo URL: https://assets.globalmfg.com/security/gmi-logo-48.png
"productName": "Contoso Defender",
"logoUrl": "https://contoso.com/assets/logo.png",
"primaryColor": "#0078D4",
"supportEmail": "security@contoso.com"
"supportEmail": "security@contoso.com",
"supportUrl": "https://support.contoso.com",
"privacyPolicyUrl": "https://contoso.com/privacy",
"aboutUrl": "https://contoso.com/about"
}
}
```
Expand All @@ -305,11 +320,13 @@ Logo URL: https://assets.globalmfg.com/security/gmi-logo-48.png
"check@cyberdrain.com": {
"customBranding": {
"companyName": "Contoso Corporation",
"companyURL": "https://contoso.com",
"productName": "Contoso Defender",
"logoUrl": "https://contoso.com/assets/logo.png",
"primaryColor": "#0078D4",
"supportEmail": "security@contoso.com"
"supportEmail": "security@contoso.com",
"supportUrl": "https://support.contoso.com",
"privacyPolicyUrl": "https://contoso.com/privacy",
"aboutUrl": "https://contoso.com/about"
}
}
}
Expand Down
30 changes: 18 additions & 12 deletions enterprise/Check-Extension-Policy.reg
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ Windows Registry Editor Version 5.00
"enableDebugLogging"=dword:00000000

; Custom branding configuration
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\3rdparty\extensions\knepjpocdagponkonnbggpcnhnaikajg\policy\customBranding]
"companyName"="CyberDrain"
"productName"="Check"
"supportEmail"=""
"primaryColor"="#F77F00"
"logoUrl"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\3rdparty\extensions\knepjpocdagponkonnbggpcnhnaikajg\policy\customBranding]
"companyName"="CyberDrain"
"productName"="Check"
"supportEmail"=""
"supportUrl"=""
"privacyPolicyUrl"=""
"aboutUrl"=""
"primaryColor"="#F77F00"
"logoUrl"=""

; Optional: Prevent users from disabling the extension
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExtensionSettings]
Expand All @@ -53,12 +56,15 @@ Windows Registry Editor Version 5.00
"enableDebugLogging"=dword:00000000

; Custom branding configuration for Chrome
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\3rdparty\extensions\benimdeioplgkhanklclahllklceahbe\policy\customBranding]
"companyName"="CyberDrain"
"productName"="Check"
"supportEmail"=""
"primaryColor"="#F77F00"
"logoUrl"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\3rdparty\extensions\benimdeioplgkhanklclahllklceahbe\policy\customBranding]
"companyName"="CyberDrain"
"productName"="Check"
"supportEmail"=""
"supportUrl"=""
"privacyPolicyUrl"=""
"aboutUrl"=""
"primaryColor"="#F77F00"
"logoUrl"=""

; Optional: Prevent users from disabling the extension in Chrome
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionSettings]
Expand Down
10 changes: 7 additions & 3 deletions enterprise/Deploy-Windows-Chrome-and-Edge.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ $webhookEvents = @() # This will set the "Event Types" to send to the webhook; d

# Custom Branding Settings
$companyName = "CyberDrain" # This will set the "Company Name" option in the Custom Branding settings; default is "CyberDrain".
$companyURL = "https://cyberdrain.com" # This will set the Company URL option in the Custom Branding settings; default is "https://cyberdrain.com"; Must include the protocol (e.g., https://).
$productName = "Check - Phishing Protection" # This will set the "Product Name" option in the Custom Branding settings; default is "Check - Phishing Protection".
$supportEmail = "" # This will set the "Support Email" option in the Custom Branding settings; default is blank.
$supportUrl = "" # This will set the "Support URL" option in the Custom Branding settings; default is blank.
$privacyPolicyUrl = "" # This will set the "Privacy URL" option in the Custom Branding settings; default is blank.
$aboutUrl = "" # This will set the "About URL" option in the Custom Branding settings; default is blank.
$primaryColor = "#F77F00" # This will set the "Primary Color" option in the Custom Branding settings; default is "#F77F00"; must be a valid hex color code (e.g., #FFFFFF).
$logoUrl = "" # This will set the "Logo URL" option in the Custom Branding settings; default is blank. Must be a valid URL including the protocol (e.g., https://example.com/logo.png); protocol must be https; recommended size is 48x48 pixels with a maximum of 128x128.

Expand Down Expand Up @@ -90,9 +92,11 @@ function Configure-ExtensionSettings {

# Set custom branding settings
New-ItemProperty -Path $customBrandingKey -Name "companyName" -PropertyType String -Value $companyName -Force | Out-Null
New-ItemProperty -Path $customBrandingKey -Name "companyURL" -PropertyType String -Value $companyURL -Force | Out-Null
New-ItemProperty -Path $customBrandingKey -Name "productName" -PropertyType String -Value $productName -Force | Out-Null
New-ItemProperty -Path $customBrandingKey -Name "supportEmail" -PropertyType String -Value $supportEmail -Force | Out-Null
New-ItemProperty -Path $customBrandingKey -Name "supportUrl" -PropertyType String -Value $supportUrl -Force | Out-Null
New-ItemProperty -Path $customBrandingKey -Name "privacyPolicyUrl" -PropertyType String -Value $privacyPolicyUrl -Force | Out-Null
New-ItemProperty -Path $customBrandingKey -Name "aboutUrl" -PropertyType String -Value $aboutUrl -Force | Out-Null
New-ItemProperty -Path $customBrandingKey -Name "primaryColor" -PropertyType String -Value $primaryColor -Force | Out-Null
New-ItemProperty -Path $customBrandingKey -Name "logoUrl" -PropertyType String -Value $logoUrl -Force | Out-Null

Expand Down Expand Up @@ -145,4 +149,4 @@ function Configure-ExtensionSettings {

# Configure settings for Chrome and Edge
Configure-ExtensionSettings -ExtensionId $chromeExtensionId -UpdateUrl $chromeUpdateUrl -ManagedStorageKey $chromeManagedStorageKey -ExtensionSettingsKey $chromeExtensionSettingsKey
Configure-ExtensionSettings -ExtensionId $edgeExtensionId -UpdateUrl $edgeUpdateUrl -ManagedStorageKey $edgeManagedStorageKey -ExtensionSettingsKey $edgeExtensionSettingsKey
Configure-ExtensionSettings -ExtensionId $edgeExtensionId -UpdateUrl $edgeUpdateUrl -ManagedStorageKey $edgeManagedStorageKey -ExtensionSettingsKey $edgeExtensionSettingsKey
4 changes: 3 additions & 1 deletion enterprise/Remove-Windows-Chrome-and-Edge.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ function Remove-ExtensionSettings {
if (Test-Path $customBrandingKey) {
$brandingPropertiesToRemove = @(
"companyName",
"companyURL",
"productName",
"supportEmail",
"supportUrl",
"privacyPolicyUrl",
"aboutUrl",
"primaryColor",
"logoUrl"
)
Expand Down
1 change: 0 additions & 1 deletion enterprise/Test-Extension-Policy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ $testConfig = @{
# Custom branding test values
$testBranding = @{
companyName = "Test Company"
companyURL = "https://example.com"
productName = "Test Product"
supportEmail = "test@example.com"
primaryColor = "#FF6B00"
Expand Down
Loading
Loading