point to this script's FAQ
This commit is contained in:
parent
f3026041b4
commit
5872940524
@ -459,11 +459,11 @@ Header =
|
|||||||
return
|
return
|
||||||
|
|
||||||
el = $.el 'span',
|
el = $.el 'span',
|
||||||
innerHTML: """
|
innerHTML: '''
|
||||||
Desktop notification permissions are not granted.
|
<%= meta.name %> needs your permission to show desktop notifications.
|
||||||
[<a href='https://github.com/MayhemYDG/4chan-x/wiki/FAQ#desktop-notifications' target=_blank>FAQ</a>]<br>
|
[<a href='https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions#why-is-4chan-x-asking-for-permission-to-show-desktop-notifications' target=_blank>FAQ</a>]<br>
|
||||||
<button>Authorize</button> or <button>Disable</button>
|
<button>Authorize</button> or <button>Disable</button>
|
||||||
"""
|
'''
|
||||||
[authorize, disable] = $$ 'button', el
|
[authorize, disable] = $$ 'button', el
|
||||||
$.on authorize, 'click', ->
|
$.on authorize, 'click', ->
|
||||||
Notification.requestPermission (status) ->
|
Notification.requestPermission (status) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user