After successfully having written some script-code for custom columns and a custom tab, I have two questions:
1. Is there a way to format colums right-aligned, or, even better: comma-aligned?
Example code:
public
static
BindUIColumn(
"ServerThinkTime"
,
true
)
function ServerThinkTime(oS: Session)
{
var sResult = String.Empty;
if
(oS.Timers.ServerBeginResponse >= oS.Timers.ServerGotRequest)
{
// Without the time Fiddler needs
sResult = (oS.Timers.ServerBeginResponse - oS.Timers.ServerGotRequest).TotalMilliseconds.ToString(
"N2"
);
}
return
sResult;
}
2. How can I get the monospaced font in my custom tab (and get it back in the "Statistics" tab)?
After opening Fiddler the font in my custom tab is a proportional font. When I save my CustomRules.js the font changes to a monospaced font. As long as I don't know better I need the monospaced font for formatting the text I want to show in the tab. Maybe it has to do with my "Statistics" tab, where I have no monospaced font anymore (and therefore no properly aligned colums in the text). It would be nice to have the monospaced font immediately after the program start.
Feedback/wishlist:
- Timestamp columns and "Overall_Elapsed" don't use my local decimal separator (comma in Germany). The same in the "Statistics" tab. (In the "Statistics" tab under "Estimated Worldwide Performance" the values are shown with commas.) Copying columns and inserting in Excel requires properly formatted text.
- "Body" column ist formatted right-aligned (nice) and with (my local) group separator (nice), but the "Request" column ist left-aligned with no group separator
- During writing a function I usually write something, press ctrl-s and have a look at the result, change the function, press ctrl-s and so on. It would be nice, if the tab in front (my custom tab I write the function for) could stay in front to see the result immediately without the need for another mouse click.