diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index e2ad6d6fe..fba772eb5 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -163,7 +163,8 @@ 'Reveal Spoilers': [false, 'Indicate spoilers if Remove Spoilers is enabled, or make the text appear hovered if Remove Spoiler is disabled.'], 'Show Support Message': [true, 'Warn if your browser is unsupported. appchan x may not operate correctly on unsupported browser versions.'], 'Normalize URL': [true, 'Rewrite the URL of the current page, removing stubs and changing /res/ to /thread/.'], - 'Announcement Hiding': [true, 'Enable announcements to be hidden.'] + 'Announcement Hiding': [true, 'Enable announcements to be hidden.'], + 'Disable Autoplaying Sounds': [false, 'Prevent sounds on the page from autoplaying.'] }, 'Linkification': { 'Linkify': [true, 'Convert text into links where applicable.'], diff --git a/builds/crx/script.js b/builds/crx/script.js index 0f207a06a..1cd662bd6 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -135,7 +135,8 @@ 'Reveal Spoilers': [false, 'Indicate spoilers if Remove Spoilers is enabled, or make the text appear hovered if Remove Spoiler is disabled.'], 'Show Support Message': [true, 'Warn if your browser is unsupported. appchan x may not operate correctly on unsupported browser versions.'], 'Normalize URL': [true, 'Rewrite the URL of the current page, removing stubs and changing /res/ to /thread/.'], - 'Announcement Hiding': [true, 'Enable announcements to be hidden.'] + 'Announcement Hiding': [true, 'Enable announcements to be hidden.'], + 'Disable Autoplaying Sounds': [false, 'Prevent sounds on the page from autoplaying.'] }, 'Linkification': { 'Linkify': [true, 'Convert text into links where applicable.'], diff --git a/src/General/Config.coffee b/src/General/Config.coffee index 0d90734b1..f6d80c977 100644 --- a/src/General/Config.coffee +++ b/src/General/Config.coffee @@ -94,6 +94,10 @@ Config = true 'Enable announcements to be hidden.' ] + 'Disable Autoplaying Sounds': [ + false + 'Prevent sounds on the page from autoplaying.' + ] 'Linkification': 'Linkify': [