paint-brush
Create Your Own Ad Blocker in 3 Minutes [Tutorial]by@evgeniy-lebedev
6,851 reads
6,851 reads

Create Your Own Ad Blocker in 3 Minutes [Tutorial]

by Evgeniy Lebedev2mOctober 26th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Using a CSS command that can hide any element on a page: display:none!important. To make sure this command works for every page I visit with a browser, I'll embed it in a special extension. From this point on, the extension will run on every new page you open. Whenever you come across something annoying on a website, simply get the name of that element, and add the relevant class to the extension. For more stories for beginner programmers read my blog for Practicum by Yandex.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Create Your Own Ad Blocker in 3 Minutes [Tutorial]
Evgeniy Lebedev HackerNoon profile picture
Evgeniy Lebedev

Evgeniy Lebedev

@evgeniy-lebedev

Chief Marketing Officer Practicum Coding Bootcamp, edtech expert, practicum.com

Learn More
LEARN MORE ABOUT @EVGENIY-LEBEDEV'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Evgeniy Lebedev HackerNoon profile picture
Evgeniy Lebedev@evgeniy-lebedev
Chief Marketing Officer Practicum Coding Bootcamp, edtech expert, practicum.com

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite