Skip to content

Latest commit

 

History

History
21 lines (21 loc) · 1.45 KB

File metadata and controls

21 lines (21 loc) · 1.45 KB

Cartly

A chrome extension to help shopaholics get back on task.


Story

During Startup Shell's retreated in November 2015, we were all discussing goals and projects. Someone had just created a chrome extension to help people learn coding better (Type it out), and a friend of mine, Nick, jokingly asked for a chrome extension to help him stop shopping so much.

So, Cartly was born.

Use

This extension closes all tabs that have the text "add to cart" in its html. Those of you who have a little bit a shopaholic problem (no judgement), this is your solution! When you have that "I need to get back on task moment!", just click the button in the popup to close all your tabs that are obviously shopping-related.

Install

Check out this link!
Or type this in terminal: git clone https://github.com/imparikh/cartly

How does it work?

The extension iterates through each tab and just takes all of the html. It searches the entire string (after .toLowerCase()) looking for the text "add to cart" or "addtocart". If detected, the tab is deleted.