The ██████ Browser Extension banner

The ██████ Browser Extension

3 devlogs
4h 22m 22s

Chromium browser extension that censors random words and images.

Demo Repository

Loading README...

Daniel

Shipped this project!

Hours: 4.37
Cookies: 🍪 30
Multiplier: 6.78 cookies/hr

I built a chromium browser extension that censors random parts of text and places random black rectangles over images. Through this project, I learned how to work with TreeWalkers.

Daniel

Wrote README. Added image censoring (random black rectangles), better text censoring, implemented Mutation observer that handles dynamically loaded content, modified the popup and created the .crx extension file.

Attachment
3

Comments

iris
iris about 1 month ago

omg this is so ████ !!! love it

Aram
Aram about 1 month ago

This project ████████████████████████████. This is an immediate ████ that must ████████████████████████████ immediately.

Aram
Aram about 1 month ago

████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████

Daniel

The extension can now do actual text censoring. It uses a TreeWalker to find all the text nodes and regex to split the text into words. Then the extension chooses two numbers. Number of censored words in the sentence and offset of the first censored word in the sentence. The selected words are then simply surrounded with a span element that has a black background.

Attachment
0