Is there a way for an HTML-based tab extension to interact with Fiddler's list of sessions?
In file CustomRules.js, I created a new tab ...
public BindUITab(
"My New Tab"
,
/*isHTML=*/
true
)
static
function
MyNewTabTab(arrSess: Session[]):String {
For those who are not familiar with the above BindUITab feature: The tab returns an HTML-formatted string, which Fiddler then displays in the new tab as if it were a web page. In my case, the displayed content is derived from the list of selected sessions that are provided by Fiddler as the arrSess function parameter.
I would like the HTML and JavaScript in my tab to affect the sessions in Fiddler's session list. For example, when the user clicks on a certain part of my HTML, I would like the tab's JavaScript to cause a corresponding session in Fiddler's list to be highlighted. Is this possible?
Put another way: When the HTML of my new tab is displayed, does Fiddler provide any interface or object to the JavaScript of the tab, so that the tab can interact back to Fiddler?
I love this HTML-based custom tab capability, because it allows my team to quickly and easily customize the tab's functionality for specific situations. I just wish the tab could talk back to Fiddler ...