Last active
March 9, 2022 18:16
-
-
Save baptiste-roullin/b103a031ee019df97de92a80c79d8337 to your computer and use it in GitHub Desktop.
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
const all = document.querySelectorAll('*') | |
for (var i = all.length - 1; i >= 0; i--) { | |
const after = window.getComputedStyle(all[i], ':after').content | |
const before = window.getComputedStyle(all[i], ':before').content | |
if (after !== 'none' && after !== '\"\"') {console.log(after)} | |
if (before !== 'none' && before !== '\"\"') {console.log(before)} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment