Created
December 10, 2020 11:45
-
-
Save lcomino/08ac6cb40fb8089c4b1e3bd98e1c30e7 to your computer and use it in GitHub Desktop.
Get all AdSense Banners from a website
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
;(function(){ | |
let adunits = document.querySelectorAll('ins[data-ad-client]') | |
if(adunits && adunits.length > 0){ | |
console.log(adunits) | |
} | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment