Skip to content

Instantly share code, notes, and snippets.

@plantvsbirds
Last active April 29, 2018 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plantvsbirds/d280cd4680f0544c978389d4d3b24d62 to your computer and use it in GitHub Desktop.
Save plantvsbirds/d280cd4680f0544c978389d4d3b24d62 to your computer and use it in GitHub Desktop.
不同意「知乎隐私政策概要」并使用
(() => {
let modalNode = document.getElementsByClassName('PrivacyConfirm-modal')[0]
while (modalNode.parentNode !== document.body)
modalNode = modalNode.parentNode
modalNode.remove()
document.body.parentNode.style.overflow = ''
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment