A Chrome extension that converts the current tab into a standalone popup window with aggressive focus management to keep it on top.
- Convert Tab to Popup: Convert any tab into a standalone popup window
- Aggressive Focus Management: Multiple strategies to keep the popup window on top
- User Preferences: Toggle "keep on top" behavior on/off
- Multiple Activation Methods:
- Extension popup button
- Right-click context menu
- Keyboard shortcut (Ctrl+Shift+Y / Cmd+Shift+Y)
- Manual Control: "Bring Popup to Front" button for immediate control
- Clone this repository
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the project folder
- The extension will be installed and ready to use
- Click the extension icon in the toolbar
- Click "Convert to Popup Window"
- Optionally toggle "Keep popup window on top"
- Right-click on any tab or page
- Select "Convert to popup window"
- Windows/Linux:
Ctrl + Shift + Y - Mac:
Cmd + Shift + Y
The extension uses multiple strategies to keep popup windows on top:
- Event-based: Responds to window focus changes and tab activations
- Interval-based: Checks every 100ms if window needs refocusing
- State-based: Responds to window state changes
- Conflict prevention: Prevents multiple operations from interfering
manifest.json- Extension configurationbackground.js- Service worker with window management logicpopup.html- Extension popup interfacepopup.css- Styling for the popuppopup.js- Popup functionality and user preferencesicon.png- Extension icon
tabs- Access to tab informationcontextMenus- Right-click context menuactiveTab- Access to current tabstorage- Save user preferences
Due to Chrome's security restrictions, true "always on top" behavior across all applications is not possible with browser extensions. The extension uses the most aggressive focus management possible within Chrome's limitations:
- Focuses popup every 100ms when not focused
- Responds immediately to window/tab changes
- Maintains window state and position
- Prevents conflicts between focus operations
No build process required - this is a pure Chrome extension.
- Load the extension in Chrome
- Test different scenarios:
- Convert tabs to popup
- Switch between windows/tabs
- Test keyboard shortcuts
- Test context menu
- Open
chrome://extensions/and click "service worker" for background script logs - Right-click extension icon and "Inspect popup" for popup logs
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is open source. Feel free to use, modify, and distribute.
- Reload the extension in
chrome://extensions/ - Check console logs for errors
- Ensure you have a tab open when converting
- This is a limitation of Chrome extensions
- The extension uses maximum possible aggression within Chrome's restrictions
- For true always-on-top behavior, consider desktop applications
- Ensure all required permissions are granted
- Check that the extension is properly loaded
- Support for multiple popup windows
- Custom window sizing options
- Better cross-browser compatibility
- Desktop application version for true always-on-top behavior