Block Ads & Trackers

You have the power to scrape only the content of the targeted website, no ads, no trackers.

This feature allows you to easily block ads and trackers, such that HTML you are scraping won't include these elements. Moreover, this features can also speed up the reesponse time. To enable the ads blocker feature, simply add block_adds=1 to your request.

When block_ads=1, you can also set the trackers blocking feature, by adding block_trackers=1.

Note that block_ads only works when render_js=1 and block_trackers only works when block_ads=1.

Your full GET request should then be sent to the following address:

https://api.webscrapingapi.com/v1?api_key=<YOUR_API_KEY>&url=<TARGETED_URL>&render_js=1&block_ads=1&block_trackers=1

Block Resources Integration Examples

curl --request GET --url "https://api.webscrapingapi.com/v1?api_key=<YOUR_API_KEY>&url=https://adblock-tester.com/&render_js=1&block_ads=1&wait_for=20000&block_trackers=1"

Important! The url parameter has to be encoded. ( i.e. &url=https%3A%2F%2Fwww.webscrapingapi.com%2F )

Response Example
<!DOCTYPE html>
<html lang="en" class="night-mode-off">

<head>
	<title>AdBlock Tester: test your AdBlock extensions</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="/src.5b3618ca.css">
	<script type="text/javascript" src="//an.yandex.ru/system/context.js" async=""></script>
	<script src="/head.inject.baedb670.js"></script>
	<link rel="stylesheet" href="/src.675dd785.css">
	<style id="svelte-nb3l02-style">
		.night-mode.svelte-nb3l02,
		label.svelte-nb3l02 {
			display: flex;
			justify-content: flex-end;
			align-items: center;
			-webkit-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none
		}

		label.svelte-nb3l02 {
			cursor: pointer
		}

		.text.svelte-nb3l02 {
			padding: 0 1rem;
			font-size: 1rem;
			line-height: 1
		}

		@media(max-width:768px) {
			.text.svelte-nb3l02 {
				font-size: .9rem
			}
		}

		.switcher.svelte-1t0grtm.svelte-1t0grtm {
			--switcher-height: 1.5rem;
			--switcher-width: calc(var(--switcher-height)*1.8);
			--switcher-space: 3px;
			--switcher-bullet-height: calc(var(--switcher-height) - var(--switcher-space)*2)
		}

		[data-small=true].svelte-1t0grtm.svelte-1t0grtm {
			--switcher-height: 1.25rem;
			--switcher-space: 2.5px
		}

		@media(max-width:768px) {
			.switcher.svelte-1t0grtm.svelte-1t0grtm {
				--switcher-height: 1.25rem;
				--switcher-space: 2.5px
			}

			[data-small=true].svelte-1t0grtm.svelte-1t0grtm {
				--switcher-height: 1rem;
				--switcher-space: 2px
			}
		}

		.switcher.svelte-1t0grtm.svelte-1t0grtm {
			display: block;
			position: relative;
			z-index: 100;
			width: var(--switcher-width);
			height: var(--switcher-height);
			-webkit-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none;
			cursor: pointer
		}

		.switcher.svelte-1t0grtm input.svelte-1t0grtm {
			display: none
		}

		.slider.svelte-1t0grtm.svelte-1t0grtm {
			position: absolute;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
			background-color: var(--text-color);
			transition: background-color var(--speed-quick) ease
		}

		.slider.svelte-1t0grtm.svelte-1t0grtm:before {
			position: absolute;
			bottom: var(--switcher-space);
			left: var(--switcher-space);
			width: var(--switcher-bullet-height);
			height: var(--switcher-bullet-height);
			background-color: var(--bg-color);
			content: "";
			transition: background-color var(--speed-quick) ease, transform var(--speed-quick) ease
		}

		input:checked+.slider.svelte-1t0grtm.svelte-1t0grtm {
			background-color: var(--color-green)
		}

		input:checked+.slider.svelte-1t0grtm.svelte-1t0grtm:before {
			transform: translateX(var(--switcher-bullet-height))
		}

		.slider.round.svelte-1t0grtm.svelte-1t0grtm {
			border-radius: var(--switcher-height)
		}

		.slider.round.svelte-1t0grtm.svelte-1t0grtm:before {
			border-radius: 50%
		}

		.title.svelte-1rso0mc {
			display: flex;
			align-items: center;
			margin-top: 3rem;
			margin-bottom: 1.5rem
		}

		@media(min-width:768px) {
			.title.svelte-1rso0mc {
				flex-wrap: wrap;
				margin-top: 2rem
			}
		}

		h1.svelte-1rso0mc {
			margin: 0 .25em 0 0;
			line-height: 1
		}

		@media(max-width:768px) {
			h1.svelte-1rso0mc {
				line-height: .8
			}
		}

		.heading-text.svelte-1rso0mc,
		.heading-version.svelte-1rso0mc {
			line-height: 1
		}

		img.svelte-1rso0mc {
			flex-shrink: 0;
			margin-right: .5rem;
			height: 6rem;
			transform: translateY(-5%)
		}

		@media(max-width:768px) {
			img.svelte-1rso0mc {
				height: 4rem;
				font-size: 4rem;
				margin-right: 1rem
			}
		}

		.warning.svelte-1rso0mc {
			margin: 2rem 0 0;
			padding-left: 1.5rem;
			border-left: .3em solid var(--color-orange)
		}

		@media(max-width:768px) {
			.warning.svelte-1rso0mc {
				margin: 1.5rem 0
			}
		}

		.section-container.svelte-auebxm {
			margin-top: 3rem
		}

		@media(max-width:768px) {
			.section-container.svelte-auebxm {
				margin-right: calc(var(--body-hmargin)*-1);
				margin-left: calc(var(--body-hmargin)*-1)
			}
		}

		@media(min-width:768px) {
			.section-container.svelte-auebxm {
				max-width: 100%;
				display: inline-flex;
				flex-direction: column
			}
		}

		.check-list.svelte-auebxm {
			padding-left: 0;
			list-style-type: none;
			margin: 0
		}

		.section.svelte-t54epl.svelte-t54epl {
			background: #fff;
			box-shadow: 0 0 .5rem rgba(0, 0, 0, .05);
			margin-bottom: 1rem
		}

		.night-mode-on .section.svelte-t54epl.svelte-t54epl {
			background: rgba(0, 0, 0, .1)
		}

		.block.svelte-t54epl.svelte-t54epl {
			padding: 1.5rem 2rem;
			transition: background var(--speed-quick) ease, opacity var(--speed-quick) ease
		}

		.block.inactive.svelte-t54epl.svelte-t54epl {
			opacity: .5
		}

		@media(max-width:768px) {
			.block.svelte-t54epl.svelte-t54epl {
				padding-right: var(--body-hmargin);
				padding-left: var(--body-hmargin)
			}
		}

		.service.svelte-t54epl.svelte-t54epl {
			margin-top: 2rem;
			padding: 0 0 0 2rem
		}

		@media(max-width:768px) {
			.service.svelte-t54epl.svelte-t54epl {
				padding-left: 1rem
			}
		}

		.description.svelte-t54epl.svelte-t54epl {
			margin-bottom: 1rem
		}

		.content.svelte-t54epl.svelte-t54epl {
			margin-top: 1rem
		}

		.title.svelte-t54epl.svelte-t54epl {
			display: flex;
			align-items: flex-end;
			flex-wrap: wrap;
			margin-top: -1rem
		}

		@media(max-width:768px) {
			.title.svelte-t54epl.svelte-t54epl {
				align-items: center
			}
		}

		.service.svelte-t54epl .title.svelte-t54epl {
			flex-wrap: nowrap
		}

		.heading.svelte-t54epl.svelte-t54epl {
			margin: 0;
			line-height: 1
		}

		@media(max-width:768px) {
			.heading.svelte-t54epl.svelte-t54epl {
				order: 1;
				width: 100%
			}
		}

		.heading.svelte-t54epl label.svelte-t54epl {
			-webkit-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none;
			cursor: pointer
		}

		h2.heading.svelte-t54epl.svelte-t54epl {
			line-height: .8
		}

		.service.svelte-t54epl .heading.svelte-t54epl {
			margin-bottom: 0
		}

		@media(max-width:768px) {
			.section.svelte-t54epl .switcher.svelte-t54epl {
				order: 2
			}
		}

		@media(max-width:768px) {
			.service.svelte-t54epl .switcher.svelte-t54epl {
				order: 0
			}
		}

		.badge.svelte-t54epl.svelte-t54epl {
			font-size: 0
		}

		@media(max-width:768px) {
			.badge.svelte-t54epl.svelte-t54epl {
				order: 3
			}
		}

		.toggler.svelte-t54epl.svelte-t54epl {
			line-height: 1.3;
			color: inherit;
			margin: 0;
			padding: 0;
			border: 0;
			border-bottom: 1px dashed;
			background: transparent;
			font-size: .8em;
			cursor: pointer;
			transition: color var(--speed-quick) ease, opacity var(--speed-quick) ease
		}

		@media(max-width:768px) {
			.toggler.svelte-t54epl.svelte-t54epl {
				order: 4
			}
		}

		.toggler.svelte-t54epl.svelte-t54epl:active,
		.toggler.svelte-t54epl.svelte-t54epl:hover {
			color: var(--color-orange);
			opacity: 1
		}

		.badge.svelte-t54epl.svelte-t54epl,
		.heading.svelte-t54epl.svelte-t54epl,
		.switcher.svelte-t54epl.svelte-t54epl {
			margin-right: 1rem
		}

		.badge.svelte-t54epl.svelte-t54epl,
		.heading.svelte-t54epl.svelte-t54epl,
		.switcher.svelte-t54epl.svelte-t54epl,
		.toggler.svelte-t54epl.svelte-t54epl {
			margin-top: 1rem
		}

		.badge.svelte-1l9rbnq {
			display: inline-block;
			padding: .2em .5em .25em;
			border-radius: 4px;
			background-color: var(--color-gray);
			color: var(--bg-color);
			vertical-align: middle;
			white-space: nowrap;
			font-weight: 400;
			font-weight: 700;
			font-size: .8rem;
			line-height: 1;
			opacity: 1;
			transition: color var(--speed-quick) ease, background-color var(--speed-quick) ease
		}

		.badge[data-priority=critical].svelte-1l9rbnq {
			background-color: var(--color-red)
		}

		.badge[data-priority=high].svelte-1l9rbnq {
			background-color: var(--color-pumpkin)
		}

		.badge[data-priority=medium].svelte-1l9rbnq {
			background-color: var(--color-orange)
		}

		.badge[data-priority=low].svelte-1l9rbnq {
			background-color: var(--color-green)
		}

		.badge[data-priority=trivial].svelte-1l9rbnq {
			background-color: var(--color-blue)
		}

		.includeWrapper.svelte-700pcr {
			margin-top: 1rem;
			padding: 1rem;
			background: -webkit-repeating-linear-gradient(315deg, var(--little-shadow), var(--little-shadow) 10px, transparent 0, transparent 20px);
			background: repeating-linear-gradient(135deg, var(--little-shadow), var(--little-shadow) 10px, transparent 0, transparent 20px)
		}

		.warning.svelte-700pcr {
			margin-top: 1rem;
			padding-left: 1rem;
			max-width: 100%
		}

		.buttons.svelte-700pcr {
			display: flex;
			margin-top: 1rem
		}

		.button.svelte-700pcr {
			position: relative;
			padding: .5rem 1.5rem;
			border-radius: .2rem;
			font: inherit;
			border: 0;
			cursor: pointer;
			line-height: 1.1;
			letter-spacing: .1px;
			color: var(--bg-color);
			overflow: hidden;
			background: transparent;
			font-weight: 500;
			opacity: .85
		}

		.button.accept.svelte-700pcr {
			font-weight: 600
		}

		.button.svelte-700pcr:active,
		.button.svelte-700pcr:focus,
		.button.svelte-700pcr:hover {
			opacity: 1
		}

		.button.svelte-700pcr:active {
			transform: translateY(.1rem)
		}

		.button+.button.svelte-700pcr {
			margin-left: 1rem
		}

		.button.accept.svelte-700pcr {
			background-color: var(--color-green)
		}

		.button.reject.svelte-700pcr {
			background-color: var(--color-red)
		}

		.status[data-status=pending].svelte-700pcr {
			color: var(--color-orange)
		}

		.status[data-status=unknown].svelte-700pcr {
			color: var(--color-pumpkin)
		}

		.status[data-status=blocked].svelte-700pcr,
		.status[data-status=likelyBlocked].svelte-700pcr {
			color: var(--color-green)
		}

		.status[data-status=likelyUnblocked].svelte-700pcr,
		.status[data-status=unblocked].svelte-700pcr {
			color: var(--color-red)
		}

		li.svelte-700pcr {
			transform: translateX(0) !important
		}

		li+li.svelte-700pcr {
			margin-top: .25rem
		}

		@media(max-width:768px) {
			li.svelte-700pcr {
				margin-bottom: .5em
			}
		}

		.infoText.svelte-700pcr {
			white-space: normal;
			display: inline-block;
			overflow: hidden;
			max-width: 100%;
			vertical-align: middle;
			text-overflow: ellipsis
		}

		.final-score.svelte-1geg41l {
			position: absolute;
			position: -webkit-sticky;
			position: sticky;
			bottom: 0;
			z-index: 200;
			display: flex;
			align-items: baseline;
			flex-wrap: wrap;
			margin: 0;
			padding: .5rem var(--body-hmargin);
			background-color: var(--color-green);
			box-shadow: 0 0 5px var(--small-shadow);
			color: var(--bg-color);
			text-shadow: 0 0 4px var(--small-shadow);
			font-weight: 400;
			transition: background-color var(--speed-quick) ease, color var(--speed-quick) ease, text-shadow var(--speed-quick) ease
		}

		@media(min-width:768px) {
			.final-score.svelte-1geg41l {
				padding: .75rem 2rem
			}
		}

		.final-score[data-color=red].svelte-1geg41l {
			background-color: var(--color-red)
		}

		.final-score[data-color=pumpkin].svelte-1geg41l {
			background-color: var(--color-pumpkin)
		}

		.final-score[data-color=orange].svelte-1geg41l {
			background-color: var(--color-orange)
		}

		.final-score[data-color=green].svelte-1geg41l {
			background-color: var(--color-green)
		}

		@media(min-width:768px) {
			.final-score-info.svelte-1geg41l {
				margin-left: auto
			}
		}

		.final-score-pre-value-text.svelte-1geg41l {
			margin-right: .5rem;
			font-size: .8rem;
			font-size: 1rem
		}

		.final-score-info.svelte-1geg41l {
			display: block;
			font-size: .8rem
		}

		footer.svelte-3n9ddp {
			margin-top: 3.5rem;
			margin-bottom: 1.5rem
		}

		.keywords.svelte-3n9ddp {
			margin-bottom: 0
		}
	</style>
	<meta name="description"
		content="Webite with ads, analytics trackers, metrics, error catchers. Check your blocker: AdBlock, AdBlock Plus, AdGuard, Ghostery, uBlock Origin, AdBlocker Ultimate…">
	<link rel="canonical">
	<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=qAJrlpKQ8p">
	<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=qAJrlpKQ8p">
	<link rel="manifest" href="/site.webmanifest?v=qAJrlpKQ8p">
	<link rel="mask-icon" href="/safari-pinned-tab.svg?v=qAJrlpKQ8p" color="#fd6460">
	<link rel="shortcut icon" href="/favicon.ico?v=qAJrlpKQ8p">
	<meta name="msapplication-TileColor" content="#2d89ef">
	<meta name="msapplication-config" content="/browserconfig.xml?v=qAJrlpKQ8p">
	<meta name="theme-color" content="#ffffff">
	<script src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" async=""></script>
	<script src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" async=""></script>
	<script src="https://an.yandex.ru/system/context.js" async=""></script>
	<script src="https://www.google-analytics.com/analytics.js" async=""></script>
	<script src="https://static.hotjar.com/c/hotjar-1639117.js?sv=6" async=""></script>
	<script src="https://d2wy8f7a9ursnm.cloudfront.net/v4/bugsnag.min.js" async=""></script>
	<script async="" src="https://static.hotjar.com/c/hotjar-1639117.js?sv=6"></script>
	<style id="svelte-1t0grtm-style">
		.switcher.svelte-1t0grtm.svelte-1t0grtm {
			--switcher-height: 1.5rem;
			--switcher-width: calc(var(--switcher-height) * 1.8);
			--switcher-space: 3px;
			--switcher-bullet-height: calc(var(--switcher-height) - (var(--switcher-space) * 2))
		}

		[data-small="true"].svelte-1t0grtm.svelte-1t0grtm {
			--switcher-height: 1.25rem;
			--switcher-space: 2.5px
		}

		@media(max-width: 768px) {
			.switcher.svelte-1t0grtm.svelte-1t0grtm {
				--switcher-height: 1.25rem;
				--switcher-space: 2.5px
			}

			[data-small="true"].svelte-1t0grtm.svelte-1t0grtm {
				--switcher-height: 1rem;
				--switcher-space: 2px
			}
		}

		.switcher.svelte-1t0grtm.svelte-1t0grtm {
			display: block;
			position: relative;
			z-index: 100;
			width: var(--switcher-width);
			height: var(--switcher-height);
			-webkit-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none;
			cursor: pointer
		}

		.switcher.svelte-1t0grtm input.svelte-1t0grtm {
			display: none
		}

		.slider.svelte-1t0grtm.svelte-1t0grtm {
			position: absolute;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
			background-color: var(--text-color);
			transition: background-color var(--speed-quick) ease
		}

		.slider.svelte-1t0grtm.svelte-1t0grtm:before {
			position: absolute;
			bottom: var(--switcher-space);
			left: var(--switcher-space);
			width: var(--switcher-bullet-height);
			height: var(--switcher-bullet-height);
			background-color: var(--bg-color);
			content: "";
			transition: background-color var(--speed-quick) ease, transform var(--speed-quick) ease
		}

		input:checked+.slider.svelte-1t0grtm.svelte-1t0grtm {
			background-color: var(--color-green)
		}

		input:checked+.slider.svelte-1t0grtm.svelte-1t0grtm:before {
			transform: translateX(var(--switcher-bullet-height))
		}

		.slider.round.svelte-1t0grtm.svelte-1t0grtm {
			border-radius: var(--switcher-height)
		}

		.slider.round.svelte-1t0grtm.svelte-1t0grtm:before {
			border-radius: 50%
		}
	</style>
	<style id="svelte-1rso0mc-style">
		.title.svelte-1rso0mc {
			display: flex;
			align-items: center;
			margin-top: 3rem;
			margin-bottom: 1.5rem
		}

		@media(min-width: 768px) {
			.title.svelte-1rso0mc {
				flex-wrap: wrap;
				margin-top: 2rem
			}
		}

		h1.svelte-1rso0mc {
			margin: 0;
			margin-right: 0.25em;
			line-height: 1
		}

		@media(max-width: 768px) {
			h1.svelte-1rso0mc {
				line-height: 0.8
			}
		}

		.heading-text.svelte-1rso0mc,
		.heading-version.svelte-1rso0mc {
			line-height: 1
		}

		img.svelte-1rso0mc {
			flex-shrink: 0;
			margin-right: 0.5rem;
			height: 6rem;
			transform: translateY(-5%)
		}

		@media(max-width: 768px) {
			img.svelte-1rso0mc {
				height: 4rem;
				font-size: 4rem;
				margin-right: 1rem
			}
		}

		.warning.svelte-1rso0mc {
			margin: 2rem 0 0;
			padding-left: 1.5rem;
			border-left: 0.3em solid var(--color-orange)
		}

		@media(max-width: 768px) {
			.warning.svelte-1rso0mc {
				margin: 1.5rem 0
			}
		}
	</style>
	<style id="svelte-auebxm-style">
		.section-container.svelte-auebxm {
			margin-top: 3rem
		}

		@media(max-width: 768px) {
			.section-container.svelte-auebxm {
				margin-right: calc(var(--body-hmargin) * -1);
				margin-left: calc(var(--body-hmargin) * -1)
			}
		}

		@media(min-width: 768px) {
			.section-container.svelte-auebxm {
				max-width: 100%;
				display: inline-flex;
				flex-direction: column
			}
		}

		.check-list.svelte-auebxm {
			padding-left: 0;
			list-style-type: none;
			margin: 0
		}
	</style>
	<style id="svelte-t54epl-style">
		.section.svelte-t54epl.svelte-t54epl {
			background: #fff;
			box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.05);
			margin-bottom: 1rem
		}

		.night-mode-on .section.svelte-t54epl.svelte-t54epl {
			background: rgba(0, 0, 0, 0.1)
		}

		.block.svelte-t54epl.svelte-t54epl {
			padding: 1.5rem 2rem;
			transition: background var(--speed-quick) ease, opacity var(--speed-quick) ease
		}

		.block.inactive.svelte-t54epl.svelte-t54epl {
			opacity: 0.5
		}

		@media(max-width: 768px) {
			.block.svelte-t54epl.svelte-t54epl {
				padding-right: var(--body-hmargin);
				padding-left: var(--body-hmargin)
			}
		}

		.service.svelte-t54epl.svelte-t54epl {
			margin-top: 2rem;
			padding-left: 2rem;
			padding-top: 0;
			padding-right: 0;
			padding-bottom: 0