Skip to content

Instantly share code, notes, and snippets.

@nathansmith
Last active July 16, 2019 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathansmith/090a0ef04b9f54fa39c0d3c3d7ea94ad to your computer and use it in GitHub Desktop.
Save nathansmith/090a0ef04b9f54fa39c0d3c3d7ea94ad to your computer and use it in GitHub Desktop.
/*
Paste this into the console on
crunchbase.com to remove the
extra overlay upsell stuff.
Example page:
https://www.crunchbase.com/search/funding_rounds/field/organizations/last_funding_type/invisionapp
*/
(function () {
const { forEach } = Array.prototype
const $ = str => {
return document.querySelectorAll('.' + str)
}
const cx = {
blur: 'blurred-row',
upsell: 'new-upsell-wrapper'
}
const rows = $(cx.blur)
const upsell = $(cx.upsell)
if (upsell.length) {
upsell[0].remove()
}
forEach.call(rows, item => {
item.classList.remove(cx.blur)
})
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment