Created
November 30, 2014 21:15
-
-
Save L1fescape/75d2fb6a9dc91c8b4549 to your computer and use it in GitHub Desktop.
Remove all elements matching a selector from the page in dev tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tags = $$('some selector'); | |
for( var i = 0, len = tags.length; i < len; i++){ | |
tags[i].parentNode.removeChild(tags[i]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment