Skip to content

sulaimanhayek/instab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⏳ Instagram Blocker/Redirector Extension

A Chrome extension that helps you stay focused by redirecting Instagram to pomofocus.io during your working hours (9AM–12AM).


πŸ“Œ What It Does

Between 9:00 AM and 12:00 AM, every time you try to open instagram.com, you'll be automatically redirected to https://pomofocus.io β€” a great online Pomodoro timer.

Outside those hours, Instagram will work normally.


πŸ›  How to Install

  1. Clone or download this repository.
  2. Open Chrome and go to: chrome://extensions
  3. Turn on Developer mode (top right).
  4. Click "Load unpacked"
  5. Select the folder where you saved this extension.

Done! πŸŽ‰


πŸ”„ How It Works

  • Uses Chrome’s declarativeNetRequest API to set up a redirect rule for Instagram.
  • A background service worker checks the time:
    • If it's between 9AM and 12AM, the redirect rule is enabled.
    • Otherwise, the rule is disabled.


✨ Future Ideas

  • Add a popup toggle to enable/disable manually
  • Let users customize the redirect hours
  • Support Firefox and Edge

πŸ™Œ Credits

Created by [https://suliahmed.com] β€” because focus matters.
Inspired by digital minimalism and Pomodoro flow πŸ”₯


πŸ“œ License

MIT

About

instab: instagram blocker/redirect extension.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors