RTO_openTabsListing.js
Helper file documentation for
RTO_openTabsListing.js.Docs updated: 2025-12-17
Summary
Fill a <tbody> with currently controlled tabs.
- Exports:
RTObindTabsListing,RTOrenderOpenTabs - Depends on: RTO_form_api.js, RTO_tabsList.js, RTO_connector.js (recommended)
What it is
Renders the list of currently controlled tabs into a table body (<tbody>).
Download
Download RTO_openTabsListing.jsRequired markup
<table class="table table-sm">
<thead><tr><th>tabKey</th><th>URL</th></tr></thead>
<tbody id="openTabsBoby"></tbody>
</table>
Example
<script src="../RTO_helpers/RTO_form_api.js"></script>
<script src="../RTO_helpers/RTO_connector.js"></script>
<script src="../RTO_helpers/RTO_tabsList.js"></script>
<script src="../RTO_helpers/RTO_openTabsListing.js"></script>
Notes
- Default tbody id is
openTabsBoby. You can override it withwindow.RTO_OPEN_TABS_TBODY_ID. - This helper was patched to generate correct
hreflinks and proper HTML escaping.