beforeinstallprompt
prompt()
let installPromptEvent; window.addEventListener('beforeinstallprompt', (event) => { // Prevent Chrome <= 67 from automatically showing the prompt event.preventDefault(); // Stash the event so it can be triggered later. installPromptEvent = event; // Update UI notify the user they can add to home screen document.querySelector('#install-button').disabled = false; });
beforeinstallpromptevent
const request = new PaymentRequest([{ // Your custom payment method identifier comes here supportedMethods: 'https://bobpay.xyz/pay' }], { total: { label: 'total', amount: { value: '10', currency: 'USD' } } });
sandbox
iframe
freeze
resume
document.wasDiscarded
chrome://discards
overflow
overflow-x
overflow-y
object-position
perspective-origin
"top right 20%"
'x'
'dppx'
Gamepad.timestamp
DOMHighResTimeStamp
PerformanceTiming.navigationStart
innerHTML
Cmd-Tab
Alt-Tab
Esc
PointerEvents
fromElement
toElement
MouseEvent
PointerEvent
target
relatedTarget
TouchEvent
navigator.vibrate()
AudioParam.automationRate
AudioParam
BiquadFilterNode
importScripts
ServiceWorkerRegistration.updateViaCache
brightness()
document.createTouch()
Touch()
Document.selectedStylesheetSet
Document.preferredStylesheetSet