• Stars
    star
    197
  • Rank 197,722 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 10 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Detects articles with corporate sponsors.

AdDetector

AdDetector is a Chrome and Firefox addon that flags articles with corporate sponsors by putting a banner above articles which may mislead the reader.

"Corporate content" is present in publications like the New York Times, Newsweek, The Atlantic, Buzzfeed, and others. Stories are sometimes marked as sponsored, but these indicators are sometimes very subtle, leaving many users unaware that the article is sponsored.

AdDetector contains rules to identify small "sponsored" markings. In some cases, these indicators are not even visible normally and instead are hidden in the source code of the webpage.

Install for Chrome or Firefox

Get the latest download links on the AdDetector site.

Running from source

Start by running ./setup_hardlinks.

The hardlinks connect generic code in src/ to the proper locations in browser-specific subdirectories (browsers won't follow symlinks). To make changes to injected code, you only need to edit files under src/.

Next, run the extension locally in your browser of choice. For Chrome, go to chrome://extensions, enable developer mode, and load the chrome/ directory. For Firefox, set up your sdk and run cfx run in the firefox/ directory.

Testing

The tests rely on casperjs and phantomjs. You should npm install -g these before running test/testHarness.js.

Contributing

I value contributions. Looking for an easy way to get involved? Add a rule for a site currently not covered by AdDetector, or check out the issues page. Please open pull requests on this Github repository.

License (MIT)

Copyright (C) 2014 by Ian Webster

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

textbelt

Free API for outgoing SMS
JavaScript
3,046
star
2

spacekit

Javascript library for 3D space visualizations
JavaScript
527
star
3

asterank

asteroid database, interactive visualizations, and discovery tools
HTML
330
star
4

codenav

Better code navigation in github
JavaScript
134
star
5

arkose

GPT-enhanced document editor
TypeScript
99
star
6

ca-property-tax

CA property tax visualization
Python
87
star
7

showers

Rendering of debris clouds in the solar system that cause meteor showers.
JavaScript
58
star
8

ancient-earth

Earth through the ages
JavaScript
53
star
9

call-congress

Jupyter Notebook
48
star
10

quickchart-js

Javascript client for quickchart.io
TypeScript
39
star
11

quickchart-python

Python client for quickchart.io image charts web service
Python
35
star
12

google-charts-node

Render Google Charts to image
JavaScript
32
star
13

web-workers-fallback

html5 web worker api compatibility for browsers that don't support them
JavaScript
25
star
14

chartjs-to-image

Simple library for converting Chart.js to image on backend and frontend
JavaScript
23
star
15

gaia

ESA GAIA webgl data visualization
JavaScript
23
star
16

autoreload

standalone autoreload script
JavaScript
19
star
17

quickchart-php

PHP client for QuickChart chart API
PHP
19
star
18

fb-unsee

Stops people you talk to on Facebook from seeing "โœ” Seen" messages.
JavaScript
15
star
19

astrokit

web app for conducting lightcurve photometry
Python
13
star
20

outwar-dca

Automation for Outwar, a web-based MMORPG.
C#
12
star
21

quickchart-csharp

C# client for QuickChart chart API
C#
11
star
22

gilded-age

Language analysis platform for historical documents from the Reconstruction and Gilded Age eras of American history.
Python
11
star
23

political-annotations

JavaScript
9
star
24

mjml-qr-code

Embed QR codes in your emails
JavaScript
8
star
25

dartmouth-lastchances

App for making connections during Dartmouth senior week...
Python
8
star
26

github-participation-graph

makes the participation graph darker and adds difference between owner and contributor commits
JavaScript
8
star
27

advice

Job and interview advice database for Dartmouth CS majors.
Python
8
star
28

call-congress-example

JavaScript
8
star
29

tweetmap

Geolocated and sentiment-rated tweets
JavaScript
7
star
30

pluto

3d webgl globe of Pluto
JavaScript
6
star
31

voicebox

record audio to your Dropbox with your Android phone
Java
6
star
32

mars

JavaScript
6
star
33

connect-autoreload

Connect middleware that refreshes your site when you update files.
JavaScript
6
star
34

quickchart-ruby

Ruby client for quickchart.io chart API
Ruby
6
star
35

quickchart-java

Java client for quickchart.io chart API
Java
6
star
36

mixpanel-export-cli

Command line tool for mixpanel data export API.
JavaScript
6
star
37

tensorflow-calc

Python
5
star
38

moonviz

JavaScript
5
star
39

node-skeleton

Basic structure for writing quick apps in node.js
JavaScript
5
star
40

hcompress-unix

Version of hcompress that compiles on Ubuntu 12.04
C
5
star
41

bbmobile

an html5 mobile app for a popular social site at dartmouth
JavaScript
4
star
42

google-pagerank

npm module for getting pagerank
JavaScript
4
star
43

batb-chrome-extension

Chrome extension for de-anonymizing Dartmouth realtime chat site
JavaScript
4
star
44

fb-less-stupid

JavaScript
4
star
45

vote-banner

Add a voter registration CTA to your website
HTML
4
star
46

apple-monitor

Tells you when things are available at nearby apple stores
JavaScript
4
star
47

world-of-loot

Python
4
star
48

rapchat

CSS
4
star
49

chrome-firefox-inject-boilerplate

Generic boilerplate for a Chrome and Firefox extension that injects js and css into a page.
Shell
4
star
50

threejs-playground

JavaScript
4
star
51

facebook-friend-monitor

Facebook application that notifies users when they've been defriended.
Python
3
star
52

leafstorm

Python
3
star
53

quickchart-docs

Documentation for QuickChart (https://quickchart.io/documentation/)
JavaScript
3
star
54

lok

vim-based journal/private editing
C
3
star
55

ceres

JavaScript
3
star
56

gifthorse

JavaScript
3
star
57

gith

Maintains an encrypted mirror of your git repo
Python
3
star
58

price-detector

JavaScript
3
star
59

millenium-viz

Visualization of the supercomputer Millenium Simulation
JavaScript
3
star
60

mjml-chartjs

Embed charts in your emails with Chart.js and MJML
JavaScript
3
star
61

node-poll-proxy

Websocket wrapper for ajax polling implementations.
JavaScript
3
star
62

dreamon

Dream logs & reminders.
JavaScript
3
star
63

my-site

JavaScript
3
star
64

wowzer

Arbitrage in a virtual crafted item economy...
Python
3
star
65

imgrag

TypeScript
3
star
66

AIM-was-better

converts google hangouts pings to AOL instant messenger pings
JavaScript
2
star
67

prettier-worker

A Cloudflare Worker that formats code using prettier
JavaScript
2
star
68

this-or-that

JavaScript
2
star
69

mysky

JavaScript
2
star
70

speaklouder

CSS
2
star
71

beadpile

JavaScript
2
star
72

gmail-bumpit

Chrome extension to bump gmail threads in X days
Python
2
star
73

circle-of-life

spice up your browsing
JavaScript
2
star
74

interviewclub

HTML
2
star
75

dinobot-discord

JavaScript
2
star
76

schooldata

CSS
2
star
77

test-repo

A test repository
2
star
78

verified-facts

Python
2
star
79

nunjucks-phone-filter

phone number formatting filter for nunjucks templating engine
JavaScript
2
star
80

gpu.js

JavaScript
2
star
81

empty-package.json

This repo contains an empty package.json
2
star
82

ceres2

JavaScript
2
star
83

wololo

JavaScript
2
star
84

blog

JavaScript
2
star
85

rapchat-phonegap

Java
2
star
86

talkthen

Python
2
star
87

neutralgas

HTML
2
star
88

wowhead-autocomplete

simple redis based autocomplete for item db
Python
2
star
89

bowie

six degrees of david bowie
Python
2
star
90

shouldileave-web

JavaScript
1
star
91

azoo-testbed

Python
1
star
92

Inflation-Calculator

An inflation calculator for iOS and watchOS written in Swift
Swift
1
star
93

harvest

CSS
1
star
94

watchtower

Python
1
star
95

hide-blue-checks

Hide blue check marks on Twitter
JavaScript
1
star
96

gpt3-writer

1
star
97

eating-trainer

JavaScript
1
star
98

stories

CSS
1
star
99

temperatures

JavaScript
1
star
100

ghost-blog

JavaScript
1
star