There's no place like 127.0.0.1.

Hugo

Posts tagged with Hugo.

Adicionei JavaScript no site e a sua privacidade continua intacta

09 Jun 2026

JavaScript sem trair a premissa

Quem acompanha este site sabe que ele tem uma premissa inegociável: eu não rastreio quem visita. Não tem Google Analytics, não tem pixel, não tem cookie de terceiro, não tem fingerprinting. Eu não sei quem visitou, não sei quantas pessoas visitaram, não sei de onde vieram. E gosto que seja assim.

Durante muito tempo isso andou junto de outra regra implícita: nada de JavaScript. Mas o site hoje roda dois scripts. O primeiro é o toggle de tema claro/escuro, que chegou faz pouco tempo. O segundo, mais recente ainda, são as taglines aleatórias no estilo BBS que aparecem abaixo do cabeçalho. Este post existe pra explicar por que isso não fere a premissa e, de quebra, contar uma faxina que fiz na estrutura do site.

I added JavaScript to this site and your privacy is still intact

09 Jun 2026

JavaScript without betraying the premise

If you follow this site, you know it has one non-negotiable premise: I don’t track visitors. No Google Analytics, no pixels, no third-party cookies, no fingerprinting. I don’t know who visited, I don’t know how many people visited, I don’t know where anyone came from. And I like it that way.

For a long time that premise traveled together with an implicit rule: no JavaScript. But the site now runs two scripts. The first is the light/dark theme toggle, which arrived a short while ago. The second, newer still, is the set of random BBS-style taglines that show up below the header. This post exists to explain why that doesn’t break the premise, and to share some housekeeping I did on the site’s structure while I was at it.