Skip to content

Instantly share code, notes, and snippets.

@maury91
Created February 10, 2019 01:13
Show Gist options
  • Save maury91/7fee276352fd7b18441323327c3eda5b to your computer and use it in GitHub Desktop.
Save maury91/7fee276352fd7b18441323327c3eda5b to your computer and use it in GitHub Desktop.
function isSponsored(elem) {
return elem && realText(elem).toLowerCase().startsWith('sponsored')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment