Introduction¶
The Browser component in the right sidebar of DeepSeek Harness (DSH) is used to open web pages within a conversation. However, these tabs are session-scoped: closing a tab or switching conversations causes the address to disappear. Plugin developer GMLZYQZS provides a simple solution: a star button added to the conversation title bar that saves frequently used URLs as a persistent list. Clicking a saved entry opens the page in the right sidebar.
Plugin Overview¶
dsh-browser-favorites is a client-side plugin that runs in the DSH 0.2.x environment. It registers a client-side action in the Header slot via the Cordis plugin system and stores the favorites list in the current browser’s localStorage, decoupled from conversation logs. It does not participate in cross-session or cross-machine synchronization.
Core Features¶
- Star button: A star icon appears on the right side of the conversation title bar, to the left of the menu button. It is only visible when that conversation is open.
- Favorites list: Click the star icon to expand the list. Supports adding URLs, renaming entries, and deleting entries.
- Open web page: Click a list item to open the corresponding page in the right sidebar Browser.
- Open in system browser: Each list item offers an “Open in system browser” option, using the same
window.openlogic as the Browser toolbar. - Undo deletion: Within 6 seconds of a deletion, you can click Undo to restore the entry.
- Save current page: If a tab is already open in the right sidebar Browser, you can add it to the favorites list via “Save this page”.
Installation & Enablement¶
Once the plugin is published, you can search for dsh-browser-favorites in the marketplace. Installation methods are as follows:
Via CLI
dsh plugin --profile <profile> add dsh-browser-favorites
Restart the corresponding profile after installation.
Via the App UI
Settings → Plugins → Search for dsh-browser-favorites → Install.
From a local checkout
Plugins → Add plugin → Select the local plugin directory.
Usage Steps¶
- Open a conversation. A star icon will appear on the right side of the title bar.
- Click the star icon to expand the favorites list.
- Enter a URL and press Enter (e.g., type
example.comand the plugin will automatically prependhttps://), or click the “Add” button. - Click an entry in the list to open the page in the right sidebar Browser. Each entry supports renaming and deletion; deletions can be undone within 6 seconds.
- If a page is already open in the right sidebar, you can add it to the list via “Save this page”.
Storage & Limitations¶
- Storage location: The list is stored in the current browser’s
localStorageunder the keydsh-favorites/items/v1. It is shared across the profile and persists across restarts. - No cross-device sync: URLs are stored locally only. They are not uploaded to the Host service and are not included in conversation log exports.
- URL rules: Only
httporhttpsprotocols are supported. URLs with embedded credentials (user:pass@) are rejected, as are DSH’s own application URLs. Non-conforming entries are rejected with a reason displayed in the panel. - Embedding limitations: If the target site sets
X-Frame-Optionsor a CSP that disallows embedding, the right sidebar will display an embedding error page. In this case, use “Open in system browser” to open the page in your system browser. - Entry limit: The favorites list supports a maximum of 200 entries.
Use Cases¶
- Developers who need to frequently access the same set of web pages across multiple conversations.
- Users who want to quickly switch between commonly used documentation and reference pages in the DSH right sidebar.
- Scenarios where you don’t want to bind favorites to conversation history.
Caveats¶
- The plugin runs as a client-side action and requires the installed Web host to provide the corresponding APIs (
conversation.session.header.utilitiesandctx.sidebarRight). - The plugin only takes effect in the browser environment of the current DSH process and does not involve Host service communication.
- It is recommended to review the source code and license (MIT) before installation to ensure compliance with usage and distribution requirements.
Conclusion¶
dsh-browser-favorites provides a minimal viable solution for saving frequently used web pages in DSH: a star icon in the conversation title bar, a persistent list, and seamless integration with the right sidebar Browser. It introduces no new network requests, tools, or model context, occupying only a single Header slot.
More details and source code:
- Plugin page: https://www.skillhub.cn/plugins/GMLZYQZS/dsh-browser-favorites
- GitHub: https://github.com/GMLZYQZS/dsh-browser-favorites