Policy Reference Inserter
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Policy Reference Inserter is a floating panel that stores and manages policy reference links. Save policies with titles, URLs, and optional policy numbers for quick access. Create, edit, or delete policy entries. Search through your collection by title, policy number, or URL. Click a policy to insert a formatted reference (with policy number if available) into the active text field, or use the "Open" button to open it in a new tab. This saves time when referencing company policies in tickets, emails, or documentation.
WHERE IT RUNS
This script runs on any website you visit. It reads only the page you are looking at, never other tabs, bookmarks, or browser data. All data stays in your browser — nothing is sent anywhere.
HOW TO USE
Click the Policy Reference Inserter panel button in the BotGentz extension toolbar. The panel appears at the edge of the page. To add a policy, enter a title, URL, and optional policy number, then click "Save". To use a policy, click it — it inserts a formatted reference into the active input field. Use the "Open" button to open the URL in a new tab. Search policies using the search box. Edit or delete policies using the buttons on each entry. Import/export policies for backup or sharing.
TECHNICAL MECHANISM
Policies are stored as an array of objects with title, url, and policyNum properties, persisted using GM_setValue and restored with GM_getValue. Clicking a policy checks the active element — if it's an input, textarea, or contenteditable, it inserts a formatted reference ([policyNum] title: url) at the cursor position using document.execCommand or direct value manipulation with selection handling. If no active input is found, it copies the formatted reference to clipboard using GM_setClipboard. The "Open" button uses GM_openInTab to open URLs in a new tab. The search filters policies by title, policy number, or URL in real time. All operations run client-side in pure JavaScript.
THE PANEL
The panel is a floating overlay that you can drag anywhere on the screen by its header. It remembers its position per site so it reappears where you left it. The panel can be collapsed into a small handle to get it out of the way, and snapped to the edge of the page. It can be resized to fit your workflow. Press Escape to close the panel.
PLEASE NOTE
This script requires the free BotGentz extension to run. All data stays in your browser — nothing is transmitted or shared. The panel works on any website. The script inserts a formatted policy reference into the active input field if you are focused on one — if not, it copies to clipboard. Sites change — the script may need updates to match new site structures.