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%"
'dppx'
'x'
Gamepad.timestamp
DOMHighResTimeStamp
PerformanceTiming.navigationStart
innerHTML
Cmd-Tab
Alt-Tab
Esc
fromElement
toElement
PointerEvents
MouseEvent
PointerEvent
target
relatedTarget
TouchEvent
navigator.vibrate()
AudioParam.automationRate
AudioParam
BiquadFilterNode
importScripts
ServiceWorkerRegistration.updateViaCache
brightness()
Touch()
document.createTouch()
Document.selectedStylesheetSet
Document.preferredStylesheetSet