A relative on Facebook shared an image saying that it would be nice if we could hide people’s comments if they are political.
So, I did just that.
This was my first introduction to writing a web extension/plugin. It’s actually very easy using Google’s documentation and code samples.
I came up with political keywords and replace them with an ellipsis. Easy as pie. If the scope is not limited, it could have some undesired effects:
Turns into:
But when limited to just Facebook, it has the desired effects. This was a post I created a week or so ago. (Guess who I’m talking about).
The code isn’t pretty, but it does the trick.
You can download the extension here.
GitHub repo here.
De-Politicizing the Web
by
Tags:
Leave a Reply