SMART-TBI Focus Mode Extension is a feature designed to eliminate the distraction of a cluttered newsfeed while you are viewing your friends’ and groups’ Facebook posts. If you sometimes have information overload while viewing your Newsfeed, this aid allows you view each post individually without surrounding distractions.
-
Clone GitHub repository:
git clone https://github.com/smart-tbi/smart-tbi/focusmode -
Navigate to Directory:
cd focusmode -
Install dependencies with npm:
npm install -
Run extension in new chrome instance:
npm run start:chrome -
This will open a new chrome window and will have the extension pre-installed for you to test. Any changes made to the source code will be re-compiled and updated on the extension.
-
Clone the repository, navigate to it and install dependencies as steps 1-3 above.
-
Replace
src/manifest.jsonwithsrc/manifest.production.json. -
Start a production build:
npm run build -
A folder named
extensionwith the production build files will be created. -
You can distribute this folder unpacked or compress to a .zip file and distribute.
-
Go to Chrome browser the go to -> "Settings" -> then go to "Extensions" or you can directly visit this link in your Chrome browser: "chrome://extensions/"
-
Click on "Load unpacked" and select the folder or .zip file from step 4 above.
-
Your extension should be loaded in Chrome and you can pin it from the top-right corner of the Toolbar.