diff --git a/browser/resources/settings/BUILD.gn b/browser/resources/settings/BUILD.gn index 7daaa9386624..a3daa95f1efe 100644 --- a/browser/resources/settings/BUILD.gn +++ b/browser/resources/settings/BUILD.gn @@ -113,6 +113,7 @@ preprocess_if_expr("preprocess") { "brave_overrides/settings_menu.js", "brave_overrides/settings_section.js", "brave_overrides/settings_ui.js", + "brave_overrides/site_details.js", "brave_overrides/site_settings_page.js", "brave_overrides/sync_account_control.js", "brave_overrides/sync_controls.js", diff --git a/browser/resources/settings/brave_overrides/index.js b/browser/resources/settings/brave_overrides/index.js index 420c34bc2951..3cb2c2f13d5d 100644 --- a/browser/resources/settings/brave_overrides/index.js +++ b/browser/resources/settings/brave_overrides/index.js @@ -11,6 +11,7 @@ import './config.js' import { ContentSettingsTypes } from '../site_settings/constants.js' +ContentSettingsTypes.AUTOPLAY = 'autoplay', ContentSettingsTypes.ETHEREUM = 'ethereum' import './about_page.js' import './appearance_page.js' @@ -33,6 +34,7 @@ import './security_page.js' import './settings_menu.js' import './settings_section.js' import './settings_ui.js' +import './site_details.js' import './site_settings_page.js' import './sync_account_control.js' import './sync_controls.js' diff --git a/browser/resources/settings/brave_overrides/privacy_page.js b/browser/resources/settings/brave_overrides/privacy_page.js index c891a5717344..ba268b9987f3 100644 --- a/browser/resources/settings/brave_overrides/privacy_page.js +++ b/browser/resources/settings/brave_overrides/privacy_page.js @@ -12,18 +12,33 @@ RegisterPolymerTemplateModifications({ if (!pages) { console.error(`[Brave Settings Overrides] Couldn't find privacy_page #pages`) } else { + pages.insertAdjacentHTML('beforeend', ` + + `) const isNativeBraveWalletEnabled = loadTimeData.getBoolean('isNativeBraveWalletFeatureEnabled') if (isNativeBraveWalletEnabled) { pages.insertAdjacentHTML('beforeend', ` - -+ -