add chrome url to exceptions
This commit is contained in:
2
click.js
2
click.js
@@ -1,7 +1,7 @@
|
||||
var sndsrc;
|
||||
var click = new Audio();
|
||||
chrome.webNavigation.onBeforeNavigate.addListener((details)=>{
|
||||
if (!details.url.startsWith("moz-extension://") && !details.url.startsWith("about:")) {
|
||||
if (!details.url.startsWith("moz-extension://") && !details.url.startsWith("about:") && !details.url.startsWith("chrome://")) {
|
||||
if (click.src) click.play();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user