RTO_helpers hub

Use this page when you want the file-by-file map: what each helper does, when to use it, and how it fits into the wider RTO product model.
Product model Safe tab control RTO_helpers guidance
Quick orientation
If you want the fastest start, use the SDK Lite. If you want to assemble the pieces yourself, stay on this page and use the helper files or helper packs.
Start here

Form API core

RTO_form_api.js is the best first helper for almost every custom integration.

UI layer

Connection, tabs, and status

Use the connector, tabs snapshot, listing, and visibility helpers when you want a real control surface around the extension.

Trust model

Allow-list and favorites helpers

These files translate the product’s safety model into usable page-side controls and confirmation flows.

How to use helper files

Helpers are plain JS files you load with <script>. They expose small globals like RTOForm, RTOAllowlist, RTOFavorites, etc.

Required (admin pages that call the extension)
Set a page origin token once, before any helpers run: window.RTO_PAGE_ORIGIN = "my-admin-page";
(This docs site sets it automatically in assets/doc-head.php.)
Recommended load order
Start with RTO_form_api.js if you load individual helpers. Or load RTO.core.min.js for the core pack. If you want the simplest setup, use the global bundle RTO.min.js.
Which file or pack should you choose?
Use RTO_form_api.js or RTO.core.min.js for the base API. Add RTO.ui.min.js for ready-made tab UI, RTO.allowlist.min.js for allow-list controls, RTO.favorites.min.js for favorites, RTO.domtools.min.js for DOM helpers, RTO.visibility.min.js for tab-aware visibility toggles, and RTO.formhelpers.min.js for higher-level form workflows. Use RTO.min.js if you want one file that already bundles the common helpers.

Helper files

The helpers below are aligned with the 8.5.0 behavior: allow-list confirmation now happens on the master tab, banner state is no longer tied to window.name, and helpers that depend on tab lists use the refreshed list helpers.

Pack / bundleWhen to use itDownload
RTO.core.min.js Core API, connection helpers, and tab helpers in one file. Download
RTO.ui.min.js Ready-made UI helpers. Load it after RTO.core.min.js. Download
RTO.allowlist.min.js Allow-list API + UI helpers. Load it after RTO.core.min.js. Download
RTO.favorites.min.js Favorites API + UI helpers. Load it after RTO.core.min.js. Download
RTO.domtools.min.js DOM focus, highlight, style, and action helpers. Load it after RTO.core.min.js. Download
RTO.visibility.min.js Tab-aware visibility helpers for showing or hiding page blocks from a current tabKey state. Download
RTO.formhelpers.min.js Higher-level form helpers built on top of RTOForm for robust remote form workflows. Download
RTO.min.js All-in-one bundle for the quickest setup. Download
HelperWhat it doesDownload
RTO_form_api.js Core API wrapper (recommended for all projects). Download
RTO_form_helpers.js High-level robust helpers for remote form automation on top of RTOForm. Download
RTO_detector.js Small helper to detect the extension once. Download
RTO_connector.js Detect + set a global connection flag for UI helpers (window.RTOconnected). Download
RTO_tabsList.js Normalized listTabs snapshot utilities, used by tab-aware UI helpers. Download
RTO_openTab_button.js Bind buttons to open or focus a remote tab. Existing tabs are focused first, repeated clicks are ignored while the action is pending, and user-triggered errors surface through console.warn(...). Download
RTO_openTabsListing.js Fill a <tbody> with currently controlled tabs. Primary tbody id: openTabsBody; legacy openTabsBoby is still accepted. Download
RTO_visible_when_tab.js Show/hide elements depending on whether a tabKey is currently open. Download
RTO_domainList.js Allow-list API wrapper. Page-side add requests now use allowlistAddRequest, repeated add(host) calls are coalesced per host, USER_CANCELLED returns false, and real plugin errors still reject. Download
RTO_addRemoveDomain.js Allow-list UI binder with a temporary Add lock, visible master-tab confirmation, and clearer outcomes for cancellation, rate limits, pending saturation, or missing master-tab routing. Download
RTO_favoritesList.js Favorites API wrapper. URLs are normalized and deduplicated, while labels are kept when available. Download
RTO_addRemovefavorite.js Favorites UI binder that shows “Added” or “Removed” only after a real success response. Download
RTO_DOM_focus.js Focus a selector inside a controlled tab. Download
RTO_DOM_highlight.js Highlight a selector inside a controlled tab. Download
RTO_DOM_style.js Apply inline styles to a selector inside a controlled tab. Download
RTO_DOM_actions.js Button-driven read/write/highlight/close actions. Download
Status UI pattern Beginner-friendly detect + allow-list banner built from the shipped helpers. Open doc

Next

Pick a helper above to see its dedicated page.