Git Product home page Git Product logo

hack-a-thing-2-josephnotis-hack2's Introduction

CS 98 Hack-a-thing 2

Joseph Notis, Fall 2020

What I attempted to build

I built a Chrome extension that follows the "Getting Started" tutorial from Google. This extension takes a webpage from developer.chrome.com and changes it to either green, blue, yellow, or red based on the user's setting.

After completing the Getting Started tutorial, I built an extension that counts how many pages are loaded for a specific host URL. The user can choose the host in the extension's options and reset the counter.

Who did what

I worked on this hack-a-thing alone.

What I learned

In the Getting Started Tutorial, I learned about the parts the make up a chrome extension an the basics of how to make one. The tutorial and general overview also explained the different ways an extension interacts with the browser and webpages and the core APIs made by Google for extensions.

When building the load counter, I learned more about how Chrome extensions can interact with the sites themselves and what the sites do that users might not always see.

How does this hack-a-thing inspire you or relate to your possible project ideas?

My group is looking into building a Chrome extension that analyzes what data is collected on social media. This tutorial provides me with the basic framework of how a chrome extension works. In this hack-a-thing, I started to look at how I can use chrome extensions to read webpage activity.

What didn’t work

I was able to get everyting properly functioning, it did take a lot more reading and debugging than I expected. Google is very specific about exactly what you can and cannot do with a Chrome extension, so I had to make sure my project didn't try to use more than what was provided.

How to see what I built

To see the load counter:

  • git clone this repo
  • follow the guide below to install in Chrome

To see the "Getting Started" tutorial from Google:

  • git clone this repo
  • git checkout getting-started-tutorial
  • follow the guide below to install in Chrome

To install the extension in Chrome (or a Chromium-based browser such as Brave):

  • Go to chrome://extensions/ and turn on Developer Mode (top right corner of the page)
  • On the top left, click on "Load Unpacked"
  • Open the extension folder

Resources

hack-a-thing-2-josephnotis-hack2's People

Contributors

jnotis99 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.