Skip to content

reneezhu/CS460Project

Repository files navigation

CS460Project

Introduction
Our project is a simple Adblocker in which we implemented a web request listener that intercepts ALL web requests before they are sent out. These requests are then processed and the corresponding url, tab id, and domain are extracted to be tested against a set of appropriate filters.The filters used are loaded from EasyList and each have the appropriate settings and a corresponding regular expression to check if a web request should be blocked or not. Additionally, it can block the malware websites by matching the url with the malware domain list. There is also a basic UI to let the user to make some options.

Basic Options
Prefetch - Chrome tries to prefetch websites based on context within the omnibox. However, this can potentially lead to malicious content or ads being loaded. As such, this is disabled by default, but it can enabled or disabled.
Block Malware Sites - There is also an option to enable/disable blocking of malware ridden domains.
Block Ads - This is basically turn on/off the ad block functionality.


How to use it:

  1. Download the files
  2. Goto the extention in chrome and enable developer mode
  3. Load unpacked extension
  4. Refresh the page and your Ads are gone
  5. If you want to test the malware block functionality, you can goto malwaredomains_full.txt and delete the "!" in front of
    "||google.com^" and save the file and reload the extension in chrome.
  6. Now, it will block all of the web end with google.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published