Skip to content

Instantly share code, notes, and snippets.

@rupertbg
Last active February 25, 2017 01:47
Show Gist options
  • Save rupertbg/22d2fb8295b4ff473163a24097b41b9b to your computer and use it in GitHub Desktop.
Save rupertbg/22d2fb8295b4ff473163a24097b41b9b to your computer and use it in GitHub Desktop.
View full LinkedIn profile, without logging in, when 'advocate-modal' is restricting page scroll. Run in browser console.
document.getElementsByClassName('advocate-modal-visible')[0].classList.remove('advocate-modal-visible'); document.getElementById('advocate-modal')[0].style.display = "none";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment