Skip to content

Instantly share code, notes, and snippets.

@pungat
Created September 20, 2024 11:27
Show Gist options
  • Save pungat/e9e15bd228b00551ad0b54512fa40b96 to your computer and use it in GitHub Desktop.
Save pungat/e9e15bd228b00551ad0b54512fa40b96 to your computer and use it in GitHub Desktop.
Disable Autoplay on Browser

Disable Autoplay on Browser

Google Chrome or Opera

ref

How to:

  1. Right-click on Chrome shortcut and select Properties
  2. Go to Shortcut tab
  3. In the Target field, add flag after chrome.exe portion, outside the quotes. For example:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-features="PreloadMediaEngagementData, MediaEngagementBypassAutoplayPolicies"
  1. Click OK
  2. Open Chrome

Microsoft Edge
  1. Open Microsoft Edge
  2. In the address bar, type edge://flags and press Enter
  3. In the search box, type autoplay. You should find a single entry: Show block option in autoplay settings
  4. Use the dropdown next to it to change the setting to "Enabled"
  5. Click restart button for the changes to take effect.
  6. In the address bar, type edge://settings/content/mediaAutoplay and press Enter.
  7. Under Control if audio and video play automatically on sites section, set option to Block if available.
  8. Restart the browser for the changes to take full effect (optional).

Brave

https://community.brave.com/t/277662/2

Mozilla Firefox

https://support.mozilla.org/en-US/kb/block-autoplay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment