Skip to content

jeevan-lal/Restart-Browser-Plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Restart Browser Plus

Advanced browser restart extension with tab restoration and customizable options

Chrome Extension License Version GitHub

📥 Download

🔄 Download from Chrome Web Store

✨ Features

  • 🔄 Instant Browser Restart - Restart your browser with a single click
  • Timed Browser Restart - Schedule restarts with customizable countdown timer
  • 📑 Tab Restoration - Automatically restore all your tabs after restart
  • ⚙️ Customizable Settings - Fine-tune restart behavior and appearance
  • 📁 URL Folder Management - Organize and manage your favorite URLs
  • 🎯 Focus URL - Set specific URL to focus on after restart
  • 📊 Countdown Display - Visual countdown timer with multiple position options

screenshot

🛠️ Development Setup

Prerequisites

  • Node.js (v14 or higher) 📦
  • npm or yarn 🧶

Installation

  1. Clone this repository

    git clone https://github.com/jeevan-lal/Restart-Browser-Plus.git
    cd Restart-Browser-Plus
  2. Install dependencies

    npm install

🚀 Development Commands

Command Description Emoji
npm run watch Watch mode for development 👀
npm run build Build for production 🏗️
npm run zip Create distribution zip 📦
npm run clean Clean build directory 🧹

Quick Start

# Development mode with auto-rebuild
npm run watch

# Production build
npm run build

# Create distributable zip
npm run zip

📁 Project Structure

src/
├── 🎯 background.js      # Service worker
├── 🪟 popup.js          # Popup script
├── ⚙️ options.js        # Options page script
├── ⏰ countdown.js      # Countdown content script
├── 🔄 keepalive.js      # Keep-alive content script
├── 🪟 popup.html        # Popup interface
├── ⚙️ options.html      # Options page interface
├── 🎨 styles.css        # Styles
├── 📋 manifest.json     # Extension manifest
└── 🖼️ icons/           # Extension icons

🚀 Loading in Chrome

  1. Open Chrome and navigate to chrome://extensions/
  2. Enable "Developer mode" 🔧
  3. Click "Load unpacked" and select the dist/ directory (after running npm run build)

📖 Usage

🪟 Popup Interface

  • Restart Now 🔄 - Immediate browser restart
  • Timer Settings ⏰ - Set hours, minutes, and seconds for delayed restart
  • Stop Timer ⏹️ - Cancel scheduled restart

⚙️ Options Page

Settings Tab

  • Countdown Position 📍 - Customize timer display location
  • Action URLs 🔗 - Manage URLs to open on restart
  • Focus URL 🎯 - Set specific URL to focus

URL Folders Tab

  • Create Folders 📁 - Organize URLs into folders
  • Manage Folders 🗂️ - Edit and delete URL folders
  • Folder Selection ✅ - Choose folders for restart actions

🔐 Permissions

Permission Purpose Icon
tabs Manage browser tabs 📑
storage Save extension settings 💾
alarms Schedule timed restarts
activeTab Access current tab 🎯
windows Manage browser windows 🪟

🤝 Contributing

We welcome contributions! 🎉

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Guidelines

  • 📝 Follow existing code style
  • 🧪 Test your changes thoroughly
  • 📚 Update documentation if needed
  • 🐛 Report bugs using GitHub Issues

📄 License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

👨‍💻 Author

C Tech Hindi - GitHub

📧 Contact: ctechhindi@gmail.com

🌟 Support

If you find this project helpful, please consider:

  • Starring the repository
  • 🐛 Reporting bugs
  • 💡 Suggesting new features
  • 🤝 Contributing code

Made with ❤️ by C Tech Hindi

GitHub Email

About

Advanced browser restart extension with tab restoration and customizable options

Topics

Resources

License

Stars

Watchers

Forks

Contributors