ProxymanApp / ProxymanApp/Proxyman

HTML rendering in Custom tab

Open
#2,419 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Description

Currently only JSON and strings can be shown in custom tabs. It would be good to able to set HTML as a custom tab in a script and then have it render in a webview

Why this feature/change is important?

This would allow custom tabs to create any UI/formatting. My exact use case is I have an API that outputs debug information in the JSON response, I'd like to take that data and make it easier to read by having a table with multiple columns and collapsable sections, while the app I'm developing still has access to the full JSON response.

Either it could use a web view to render it based on detecting the customPreviewerTabs value is HTML, or by being able to set a type value eg customPreviewerTabTypes['tabname'] = "html". The later would allow other values like "treeview", "xml" etc.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the script API that exposes customPreviewerTabs and the code that handles custom tab values. Compare how JSON and string content are displayed, then determine how an HTML value could be rendered in a webview while preserving access to the underlying response. Done means a script can create an HTML custom tab and the existing JSON and string behavior still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, macos
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.