This is a migrated thread and some comments may be shown as answers.

Tab extension interaction with session list

1 Answer 230 Views
Extensions and Customization
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 27 Feb 2018, 07:03 PM

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 ...

1 Answer, 1 is accepted

Sort by
0
Accepted
Alexander
Telerik team
answered on 02 Mar 2018, 12:50 PM
Hello,

No, currently there is no way for the loaded HTML page to talk to back Fiddler.

Regards,
Alexander
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Extensions and Customization
Asked by
David
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Share this question
or