https://developer.mozilla.org/en-US/docs/Web/API/Document/co...
for anyone interested in the topic, https://www.usenix.org/system/files/conference/usenixsecurit... is a must read