A chrome extension made to block ads and promoted posts on reddit pages, because they are pretty weird.
This application is a Chrome Extension made with Javascript.
Used the Mutation Observer Library to detect changes to the Html DOM
Used Content Scripts to alter/remove elements on pages under Reddit domain
Used Background Scripts to detect changes from dynamic loading (AJAX)
Note: The chrome store isnt yet ACCEPTED by the chrome store. So I made it possible for you to download it on your own.
- Download zip file of extension
- Extract file which should give you a folder
- Go to chrome://extensions
- On the top right corner click the Developer mode switch
- Press the new revealed load unpacked button
- Select the unzipped folder and enjoy
Note: If you see an ad on the main feed sidebar, click a post and it will go away. If the application ever stops working simply refresh the page. Feel free to modify the code to your liking. :)