this check is not needed and breaks QR thumbnails on Tampermonkey
This commit is contained in:
parent
50be3ab0bc
commit
a8dd2ea56a
@ -1,10 +1,8 @@
|
||||
Polyfill =
|
||||
init: ->
|
||||
<% if (type === 'crx') { %>
|
||||
@notificationPermission()
|
||||
@toBlob()
|
||||
@visibility()
|
||||
<% } %>
|
||||
notificationPermission: ->
|
||||
return if !window.Notification or 'permission' of Notification or !window.webkitNotifications
|
||||
Object.defineProperty Notification, 'permission',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user