This project is currently under development. The connection between backgound and each chrome tab might be temporarily disconnected, which might make our prototype not responsive on existing chrome tab.
To test this extension, we recommend opening new tabs after initiating the timing process.
Regarding to the helpfulness of search engine, we particularly include "chrome://newtab/" into our whiteList.
Focus google extension helps to transform distractive google tabs into tools of focusing. This interface allows user to specify focusing time and any website they want to work with.
When users are ready to work, they can start a countdown for working time and all the distracting websites that are not on the white list will be blocked, unless users choose to proceed during this time.
During anytime in countdown, user is allowed to remove or add new tab to the whiteList through the interface.
This simply tactics effectively helps users to minize procrastinations.
As first timers, we prefer using simple sytac and framework to implement our design. We did not call other libraries besides bootstrap. But the prototype we design requires intensive intermodular communications and asychronous programing. If you are interested in our project, welcome to share your insights on both technical and any other aspects we us!
Once you have created your folder with the manifest.json file, you can load your chrome extension. To do so,
- Open a Google Chrome Browser.
- Navigate to chrome://extensions/
- In the upper right hand corner, enable the button called “Developer Mode”.
- Click the “Load Unpacked” button.
- A file dialog will popup asking you to locate your chrome extension folder. Once you have located the folder, select the folder, and then click “Select”.
- You should now see your extension!
As you are coding, to update the extension, all you need to do is save the file, and then click the refresh button in chrome://extensions.
Chrome extensions allow for a variety of customization. A few popular examples include:
- Momentum: A personalized, inspirational, to-do dashboard that appears in every new tab.
- Dark Mode for Chrome A button to enable dark mode while browsing.
To help you get started, here are some more tutorials:
- Google Chrome Extension Documentation: This is a very comprehensive explanation of how Chrome extensions are built and the various functions extensions can have. You can look in Google Provided Starter Examples for the starter code used in the examples.
- HTML Tutorial: This tutorial covers the basics of HTML.
- CSS Tutorial: This tutorial covers the basics of CSS.
- Javascript Tutorial: This simple and straightforward tutorial covers the basics of Javascript. Start by reading this article and then continue reading here.
- The Modern Javascript Tutorial: This in-depth tutorial thoroughly covers Javascript.
1,2: https://blog.hartleybrody.com/chrome-extension/
3,6: https://thoughtbot.com/blog/how-to-make-a-chrome-extension