Skip to content

Chrome extension that replaces your Facebook and Twitter feed with r/the_donald posts

Notifications You must be signed in to change notification settings

AcroMace/member-the-elections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

member the elections?

For anyone suffering from election withdrawl

Replaces the posts on Facebook and Twitter with posts from r/the_donald ¯\_(ツ)_/¯

Created for TerribleHack V

Facebook examples

Twitter examples

Technical notes

For content_scripts, there is a function called getArticleForIndex that returns an article object with properties text, image, and link.

Thus, to add additional websites:

  1. In manifest.json, add a new content_scripts line with a new Javascript file corresponding to the website you are adding. You must have js/jquery.js, js/content_shared.js, js/NEW_WEBSITE.js, js/main.js, in that order.
  2. In NEW_WEBSITE.js, implement a function update that updates the contents of the website using the article returned from getArticleForIndex(index).

About

Chrome extension that replaces your Facebook and Twitter feed with r/the_donald posts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published