当浏览器警告弹出时是否可以播放声音?

当浏览器警告弹出时是否可以播放声音?

我希望我的 Windows 10 PC 在网站上出现浏览器警报弹出窗口时始终播放声音(当调用 javascript alert() 函数时,例如在此页面上https://www.javascripttutorial.net/javascript-bom/javascript-alert/)。

是否有可以启用该功能的 Windows 或浏览器设置?

答案1

您可以尝试使用 Audio() 函数。

function myFunction() {
  var beep = Audio('beep.mp3');
  beep.play();
  alert("Hello! I am an alert box!");
}

參考文獻:https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement

答案2

我最终编写并加载了我自己的 Chrome 扩展程序,它将 Javascript 代码注入到目标页面中,并覆盖 alert() 方法:

清单.json

{
    "name": "Alert-Beep",
    "manifest_version": 2,
    "version": "0.1",
    "description": "Beeps if alert() is called",
    "content_scripts": [
        {
            "matches": ["https://*/*", "http://*/*"],
            "js": ["alert-beep.js"]
        }
    ]
}

alert-beep.js

// based on https://stackoverflow.com/questions/51145353/intercept-request-and-modify-response
// sound from https://freesound.org/
// sound converted to base64 using https://dopiaza.org/tools/datauri/index.php
// testing at https://www.javascripttutorial.net/javascript-bom/javascript-alert/

const script = document.createElement('script');
//console.log("Started!");

script.innerHTML = `
const originalAlert = window.alert;

// billiard balls knock sound
var sound = new Audio("data:audio/wav;base64,UklGRn47AABXQVZFZm10IBAAAAABAAIARKwAABCxAgAEABAAZGF0YSA6AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAgABAAIAAQACAAIAAgABAAIAAgACAAIAAgACAAIAAgADAAIAAwADAAQAAgADAAIAAwAEAAQAAgAEAAIABAAEAAUAAwAEAAMABQADAAUABAAFAAUABgAEAAYABQAFAAUABgAFAAcABgAGAAcABwAEAAgABwAHAAYABwAHAAgABwAJAAgACQAGAAoABwAIAAsACwAHAAkACgAJAAoADQAKAAsACQAKAAoACwAIAA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/6//L//P/z//3/9P////P/AADz/wUA8v8DAPH/BgDw/wYA7/8GAPD/AwDx/wEA8v8DAPD/AgD0/wIA9f////n//v/6/////P/8//3//f/8//z/+v/6//j/+f/1//j/9f/4//P/+f/z//n/8v/9//b//v/0/wEA9v8DAPb/AwD1/wMA9P8CAPT/AgDx////7//+//L//f/z//3/9f/7//j/+//6//3/+f/8//j/+//6//n/+//6//b/+//2//n/+P/6//f/+//0//3/8//8//P//P/0//7/8P/+/+///v/v//7/8v////P/AQDx/wIA9f8CAPj/AQD0/wAA9v/+//f//P/2//r/8//5//T/+P/z//b/9f/2//P/9f/2//f/9//3//f/+f/4//r/+P/+//3/AAD8/wEA+v8AAPj/AQD5//3/9f/7//T/+f/z//n/9v/3//X/+P/y//j/8P/5/+3/9//w//f/7v/4/+//+P/x//f/8//5//T/+//2//v/9//+//3//v/9//7//f/+//3//P/8//3//P/8//r//P/5//z/+f/6//f/+//2//v/9v/4//X/+P/0//j/9P/4//P/9v/2//n/9v/3//j/+//4//n/+P/8//n/+//5//r/+f/8//b/+v/2//r/9P/6//X//P/0//r/9v/8//f//f/0//3/9f/8//T//P/0//z/9P/6//P/+v/1//j/8//4//T/9//2//n/8//4//b/+P/0//r/9//6//f/+v/5//n/+f/6//j/+f/6//r/+//5//j/+//4//r/+P/7//n//P/5//z/+P/7//j/+//3//n/9f/5//X/9//1//r/9v/5//j/+P/3//r/9v/5//r/+//5//v/9//8//X//P/2//r/9v/9//f//P/2//z/+P/8//b/+f/2//j/+P/4//n/9v/6//j/+v/3//r/9//6//j/+//2//n/+f/4//r/+f/8//f/+//2//3/9P/7//j//P/1//v/9//7//b//P/5//v/+P/7//f/+//3//n/9//6//b/+P/2//j/9v/4//j/+P/5//n/+f/4//r/+v/7//v/+f/8//j//P/5//z/9//9//f//P/z//3/8//7//P/+//z//r/9f/6//P/+P/1//n/9v/5//f/+P/3//r/+v/5//3/+v/9//v//v/7/////f/9//3//f/8//v//f/8//v/+f/9//f/+v/3//3/9f/6//X/+//0//r/9P/6//P/+P/2//n/9f/4//b/+f/5//r/+P/5//r//P/5//v/+v/7//z//f/7//v/+v/9//z//P/6//3/+//7//n//P/5//r/+v/7//n/+v/3//r/+P/7//j/+v/3//v/9//6//f/+v/3//r/+P/6//j/+//6//r/+v/6//r/+//6//r/+f/8//v/+v/8//z/+v/9//v//P/6//z/+v/7//j/+//3//v/+P/5//j//P/4//r/9//7//n//P/3//v/+f/8//j//P/4//z/+v/9//n//P/5//3/+//8//3//P/+//v//v/7//7/+//+//r//v/8//v/+//7//z/+v/8//n//P/4//z/9//8//b/+//3//z/9v/8//f//P/5//3/+f/9//n//f/7//z/+//9//3/+//9//3//f/7//7//P/+//z//f/6//3//P/8//r/+//8//v//P/5//z/+f/9//n//f/4//3/+P/9//n//P/5//z/+v/7//j/+//8//v/+P/5//v/+//6//v//P/6//z//f/8//v//f/9//3//f/8//7//P/+//z////8////+/////v////7////+//+//z//v/8//3//f/9//z//P/9//v//P/7//3/+//8//r//P/8//z//P/6//z//P/9//r//v/8//3/+v////v//v/7/////P////z//v/9/////P/+//z//v/8//3/+//9//3//f/7//z//f/9//z//f/8//3//v/+//7//f/+////AAD9//7///////7//v////3//v/9//7/+//+//z//v/7//3/+//+//v//v/7//3//P/+//r//f/8//7//P/+//z//v/+/////f/+///////+//7//v///////v/+/////v/9//7////8//7//v/+//z//v/9//7/+//+//3////7//7//P////3////8//////////3////+//7//v///////v/+///////9//7///////7//v/+//7//v////7//v/+///////9//7///////3//////////f//////AAD+//7//v8AAP/////+/////v///////////////v/////////+//////////7//////////v8AAP///v/9/wAA///+//7////+//////////7////+/wAA//////7/AAD+//////////3/AAAAAP7//v8AAP///v///////v/////////+//////8AAP7//////////v8AAP///v///wAA/v///wAA///+/wAA/////wAA///+/wAAAAD/////AAD+/wAAAAD///7/AAAAAAAA////////AAD///////8AAP7//////wAA/v/////////+////AAAAAP7///8BAAAA/v///wAA//8AAAAA/////wAAAAD//wAAAAD//wAAAAD/////AAAAAP//AAAAAP////8AAAEA///+/wAAAQAAAP7/AAAAAAAA/////wAAAAD/////AQAAAP7/AAABAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//AAABAAAA//8AAAAAAQAAAP////8BAAEA/////wEAAAAAAAAAAAD//wEAAAD/////AQD//wAAAAAAAP//AQAAAAAA//8BAAAAAAAAAAAA//8BAAEAAAD//wEAAAAAAAAAAQD//wAAAAABAAAAAAD//wAAAAABAAAA//8AAAEAAAD//wAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAP//AAABAAAAAAAAAAAAAAABAAEA/////wEAAQAAAP//AAAAAAEAAAAAAP//AAABAAAA//8AAAAAAAAAAAAA//8AAAEAAAD//wAAAAAAAAAAAAD//wAAAQABAP//AAABAAAAAAABAAAA//8AAAIAAAD//wAAAQAAAAEAAQAAAP//AQABAAEA//8AAAEAAQAAAAAAAAAAAAAAAQAAAP//AQABAAAAAAAAAAAAAQABAAAA//8BAAEAAAAAAAEAAAAAAAEAAAD//wEAAgAAAP//AQABAAEAAAAAAAAAAQABAAAA//8AAAEAAQD/////AQABAP////8BAAAA//8AAAAAAAAAAAAA//8BAAEAAAD//wAAAAAAAP//AAAAAAAA//8AAAEAAAD//wAAAAAAAAAAAAD//wAAAQAAAP//AAAAAAAAAAAAAP//AAABAAAA//8AAAAAAAAAAAAA/////wAAAQAAAP////8AAAEAAQD+////AgABAP////8BAAAA//8AAAEAAAD//wAAAAAAAAAAAAD//wAAAQAAAP////8AAAAAAAD/////AAABAP////8AAAAA//8AAAAA/////wEAAAD/////AAAAAAAA/////wAAAAD/////AAAAAP////8AAAAA/////wAAAAD//wAAAAD/////AAAAAAAA/////wAAAAD/////AQAAAP////8AAAAAAAD/////AAABAP////8AAAAA//8AAAAAAAD/////AAAAAP////8AAAEA/////wAAAAD//wAAAAAAAP////8AAAEAAAD/////AAAAAAAA////////AAAAAAAA//8AAAAAAAAAAAAA/////wAAAQD/////AAAAAP//AQAAAP////8BAAEAAAD//wAAAAABAP////8AAAEAAAAAAAAAAAD//wEAAAD/////AQAAAP//AAABAP//AAAAAAAA//8AAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAABAAAAAAAAAAEAAQAAAP//AAABAAEAAAD//wAAAQAAAP//AAAAAAAAAAABAAAA//8AAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//wAAAQAAAP//AAABAAAA//8AAAAAAAAAAP//AAABAAAA//8AAAAAAAAAAAAA//8AAAEAAAD//wAAAAAAAAAAAAD//wAAAQAAAP//AQABAP//AAABAAAA//8AAAAAAAAAAAAA//8AAAAAAAD//wAAAAAAAAAAAAAAAP//AAAAAAAAAAAAAP//AAABAAAA//8AAAEAAAD//wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAAAAAAA//8AAAAAAAD//wAA/////wAAAQD/////AQABAP//AAAAAAAAAAABAP////8AAAEA/////wAAAQAAAP////8AAAAAAAD/////AAABAAAA/////wAAAQAAAP////8BAAAA/////wEA/////wEAAQD+////AQAAAP//AAAAAP//AAABAAAA//8AAAAAAAAAAP////8AAAAAAAD/////AAABAP///v8AAAEA//8AAAAA//8AAAIA///+/wAAAQD//wAAAAD//wAAAQD/////AQAAAP//AAABAAAA/////wEAAQD/////AQAAAP//AAABAP//AAABAAAA//8AAAEAAAD//wAAAQAAAP7/AQACAP///v8BAAEA//8AAAEA//8AAAEAAAD//wAAAAAAAAAA/////wEAAAD+/wAAAQAAAP//AAAAAAAAAAD//wAAAQAAAP//AAAAAAAAAQAAAP//AAAAAAAAAAAAAP//AAABAP////8BAAAA//8AAAAAAAAAAAAA//8AAAAAAAD//wAA//8AAAEAAAD//wAAAAAAAAAAAAD//wAAAQAAAP////8AAAEAAAD/////AQAAAP//AAABAP////8AAAEA/////wAAAQAAAAAA//8AAAEAAAD//wAAAAAAAAAAAAD//wAAAAD//wAAAQAAAP//AAAAAAAAAAAAAP//AAAAAAAAAAD/////AAAAAAAAAAD/////AAABAP////8AAAAAAAAAAAAA//8AAAAAAAAAAAAAAAAAAAAAAAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAP////8BAAAA//8AAAEA/////wEAAQD+/wAAAQAAAAAAAABMSVNUTgAAAElORk9JQ1JECwAAADIwMTAtMTEtMDcAAElFTkcPAAAAdG9ueSBXaWxraW5zb24AAUlTRlQVAAAAU291bmQgRm9yZ2UgUHJvIDEwLjAAAkNEaWZEAAAARAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRGlmRAAAAEQAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQ0RpZkQAAABEAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==");
    //console.log("Override!");
    window.alert = (msg) => {
    sound.play();
        originalAlert("BZZT! "+msg);
    };
`;

document.documentElement.appendChild(script);

相关内容