DEV Community

Discussion on: Coding an extension that blocks Social Media Websites with HTML, CSS and JS.

Collapse
 
metammodern profile image
Buniamin Shabanov

Found your article through google recommendations. The code, idea and implementation is really nice, however I'd also point out that if you're having such trouble like distracting from work to social media then blocking websites will not help much. When your brains seeks for dopamine it'll do whatever it can to gain it, like opening another browser, disabling extension or using mobile phone. So as one single solution to addiction it definitely won't work, but it may work in complex with other stuff, like having more controlled and planned rest and getting more outdoor activity. Anyway, if someone has such problem find a local therapist or contact your HR, they usually know how to solve such issues)
(The article is good by the way, just enable syntax highlighting)

Collapse
 
hr21don profile image
Helitha Rupasinghe

Appreciate your feedback!

Collapse
 
davidteren profile image
David Teren

@metammodern Thanks for this comment. It got me thinking.