How PropOrNot browser extension works

“PropOrNot Propaganda Flagger” is a browser extension which flags websites like Wikileaks as propaganda. I had a look at its source code so as to understand which websites are being flagged. What they are doing is that they are flagging a bunch of reliable websites with a bunch of obvious shady websites. So to the user, it looks like the extension finds a bunch of actual propaganda.

Here is the directory structure of the extension which is under

~/.config/google-chrome/Default/Extensions/ogmjlhmfnmhhcllijlbaomamgfaiflai/0.0.6_0

on my machine:

.
├── content_script.js
├── jquery.js
├── main.css
├── manifest.json
└── _metadata
    ├── computed_hashes.json
    └── verified_contents.json

1 directory, 6 files

The highlighted file is the one that actually flags content. Its contents are here. The relevant bit in the program is the list of domains it flags. I have listed them here:

Interesting to note that there are exactly 200 websites.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s