Moving bypasses folder deeper

This commit is contained in:
Karim shoair
2024-11-06 12:19:26 +02:00
parent 6cf506cb22
commit 10bcdfb596
7 changed files with 0 additions and 0 deletions
@@ -0,0 +1,5 @@
// Bypasses `notificationIsDenied` test in creepsjs's 'Like Headless' sections
const isSecure = document.location.protocol.startsWith('https')
if (isSecure){
Object.defineProperty(Notification, 'permission', {get: () => 'default'})
}