Helpers index

A page for each helper file in /RTO_helpers/.
Docs updated: 2026-03-24
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.

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 when you want ready-made UI helpers. Use RTO.min.js if you want one file that already bundles the common helpers.

Helper files

The helpers below are aligned with the 7.13.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.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.