Freshtab displays a beautiful image from Unsplash every time you open a new tab. This repo contains the complete code for the Freshman tutorial on building Chrome extensions. It is for reference only.
Here's what the completed project looks like:
- Clone this repository to your filesystem:
git clone https://github.com/Freshman-tech/freshtab
- Create a free Unsplash Developer account and register a new application.
cd
into the project folder. Openjs/background.js
andjs/popup.js
in your text editor.- Replace
<your unsplash access key>
in both files with your Unsplash access key. - Open Chrome, and open the Extensions page (
chrome://extensions/
). Ensure developer mode is enabled - Click "Load unpacked", and select the project folder, then click "Open".
- Open a new tab to see the extension interface.
- Read the tutorial to learn more.