Redirect Microsoft Edge to your preferred browser
Project description
Edger
Reclaim your browser choice by redirecting Microsoft Edge to your default browser
📋 Overview
Edger is a lightweight Windows utility that runs in your system tray and automatically redirects Microsoft Edge browser windows to your default browser. It's designed for users who prefer their browser of choice but find Edge being forced upon them in various contexts.
Key Features
- 🔄 Transparent Redirection: Intercepts and redirects Edge windows to your default browser
- 🔍 Bing Search Conversion: Converts Bing searches to your preferred search engine
- 🛡️ URL Bypass System: Special handling for Microsoft Teams and other specified URLs
- 🔔 System Tray Integration: Easy toggle and access from your taskbar
- 📝 Activity Logging: Keeps records of redirects for troubleshooting
- 🖱️ Mouse Jiggler: Built-in invisible mouse activity simulator to prevent screen locking
🚀 Installation
Prerequisites
- Windows Operating System
- Python 3.6 or higher
- Microsoft Edge browser installed
Setup
-
Clone or download this repository
git clone https://github.com/yourusername/edger.git cd edger -
Install dependencies
pip install -r requirements.txt -
Configure your preferences (optional)
# Edit config.ini to customize behavior -
Run the application
python edger.py
⚙️ Configuration
Edger is configurable through the config.ini file:
[Settings]
search_engine_url = https://duckduckgo.com/?q= # Your preferred search engine
log_file = edger.log # Log file location
icon_path = edger.ico # Path to system tray icon
jiggler_interval = 30 # Seconds between mouse jiggle actions
detection_interval = 1 # Seconds between checks for new Edge windows
default_jiggle = off # Start with jiggler enabled (on/off)
default_redirect = on # Start with redirection enabled (on/off)
[Bypass]
urls = statics.teams.cdn.office.net, example.com/redirect # URLs to ignore
Options Explained
| Setting | Purpose |
|---|---|
search_engine_url |
The search engine that replaces Bing (with query parameter) |
log_file |
Location for storing redirect logs |
icon_path |
Custom icon for the system tray |
jiggler_interval |
How often (in seconds) the mouse jiggler simulates activity |
detection_interval |
How often (in seconds) Edger checks for new Edge windows |
default_jiggle |
Whether the mouse jiggler is enabled at startup (on/off) |
default_redirect |
Whether Edge redirection is enabled at startup (on/off) |
urls (in Bypass) |
Comma-separated list of URLs that should not be redirected |
Note: The bypass list is especially important for Microsoft Teams URLs which require special handling to work correctly.
🔧 Usage
Once running, Edger sits in your system tray (notification area) and works automatically:
- When Edge opens, Edger captures the URL
- The URL is processed (converted if it's a Bing search)
- Your default browser opens with the same/converted URL
- The Edge window is closed
- The activity is logged for reference
System Tray Controls
- Left-click: Access the menu
- Redirect Edge Windows: Toggle Edge redirection on or off
- Mouse Jiggler: Toggle the invisible mouse activity simulator
- Settings: Open the settings GUI to adjust intervals and default states
- View Log: Open the log file in your default text editor
- Edit Config: Open the config.ini file directly in your text editor
- Exit: Close the application
Settings GUI
Edger includes a graphical settings panel accessible from the system tray menu. This allows you to easily configure:
- Mouse Jiggle Interval: How often (in seconds) the mouse jiggler simulates activity
- Edge Detection Interval: How often (in seconds) Edger checks for new Edge windows
- Default States: Whether features are enabled by default at startup
Changes made through the Settings GUI are saved to the config.ini file and applied immediately.
Mouse Jiggler
The built-in mouse jiggler simulates mouse activity without actually moving your cursor. This prevents your computer from:
- Going to sleep
- Activating the screen saver
- Showing as "Away" or "Inactive" in messaging apps
- Triggering automatic locks
The jiggler is completely invisible - your cursor won't move on screen, but Windows will detect "activity".
📦 Dependencies
- pystray: System tray functionality
- Pillow: Image processing for the tray icon
- pywin32: Windows API integration
- psutil: Process monitoring
- pyautogui: GUI automation
- pyperclip: Clipboard management
- configparser: Configuration file handling
⚠️ Limitations
- Windows-only functionality
- May require updates if Edge's URL handling changes
- Not designed to bypass security measures
- Some URLs may need to be added to the bypass list
📄 License
[Add your license here]
Made with ❤️ for those who value browser choice
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file edger-0.1.1.tar.gz.
File metadata
- Download URL: edger-0.1.1.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.10.0 requests/2.32.3 setuptools/75.8.2 requests-toolbelt/1.0.0 tqdm/4.66.5 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d98cbf779b7007fe54f22976caac7d88e7e6528a1df889d5918275a9400943ee
|
|
| MD5 |
348d1d9ba287ee4087759dc6076fc6ac
|
|
| BLAKE2b-256 |
d89effae3bbb2e120c08a95da53deb5d5c633216b68627295d91493673ab023d
|
File details
Details for the file edger-0.1.1-py3-none-any.whl.
File metadata
- Download URL: edger-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.10.0 requests/2.32.3 setuptools/75.8.2 requests-toolbelt/1.0.0 tqdm/4.66.5 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54f1aea34b03b81ea572805c321cc9a76246c66310fa4f18f601170650764c7a
|
|
| MD5 |
9fc5e12a8eb4cc7918a955a61670bbc0
|
|
| BLAKE2b-256 |
3d4c7907376822a58cd2be880013e17444c6e5181eb52407e32e96b498431a48
|