https://github.com/joeylemon/subway-orders
a chrome extension for automatically placing subway orders
https://github.com/joeylemon/subway-orders
chrome-extension subway
Last synced: 6 months ago
JSON representation
a chrome extension for automatically placing subway orders
- Host: GitHub
- URL: https://github.com/joeylemon/subway-orders
- Owner: joeylemon
- Created: 2020-08-09T23:11:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-23T16:30:10.000Z (over 5 years ago)
- Last Synced: 2025-01-19T20:47:05.207Z (12 months ago)
- Topics: chrome-extension, subway
- Language: JavaScript
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# subway-orders
### What is it?
This is a Chrome extension created to make placing repeated Subway orders much easier. It stores the orders you want and allows you to automatically place them again when checking out at subway.com.
### Why?
My family oftentimes orders from Subway for lunch before they go out on the lake near their house. It became a hassle to manually place the same orders every weekend, especially because the "Favorites" function on the Subway website doesn't seem to work half of the time.
### How?
Inspecting the code behind the Subway website allowed me to find the endpoint at which orders are added to the cart. Additionally, I had to sift through the many Javascript files to find the ids and values for every ingredient you can put on a sandwich.
The extension uses plain HTML, CSS, and Javascript for its user interface. It utilizes the Chrome API to execute code on the Subway checkout page as well as save orders on your Google account.