Freelance Contract Clause Library Injector
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
Freelance Contract Clause Library Injector scans the current page for text areas, form fields, and contenteditable sections where contracts are written. The floating panel provides a library of legal and business contract clauses categorized by type (Payment Terms, Confidentiality, Termination, Liability, IP Rights, Dispute Resolution, and more). Insert full contract sections or individual clauses with one click. Customizable placeholders allow quick variable replacement for client name, project details, dates, and legal entity names. Automatic clause numbering supports decimal (1, 2, 3), roman (I, II, III), or alphabetical (A, B, C) formats. Create, edit, and delete custom clauses, and import/export clause collections as JSON. The active form field is highlighted, and insertion preserves formatting.
WHERE IT RUNS
Works on any page with editable text fields, including contract management systems, email clients, legal document platforms, CRM systems, and word processors. The script detects textareas, input fields, and contenteditable sections, making it compatible with most web-based writing platforms. It works best on platforms where contracts and legal documents are commonly written.
HOW TO USE
The panel displays contract clauses organized by category. Click a category filter to view clauses in that area of law. Each clause shows its number and name as a clickable button. Configure variables like client name, legal entity name, and date in the Variables section—these are automatically replaced in clauses when inserted. Add custom categories by entering a name and display name, then edit the example clause. Favorite categories appear with a star. Choose the insertion position (Replace Selection, Before Cursor, After Cursor) and clause numbering format. Export and import clause collections as JSON for backup or sharing.
MECHANISM — VARIABLE REPLACEMENT WITH FORMAT-AWARE INSERTION AND NUMBERING
The script uses a template engine that supports placeholder variables in {{variableName}} format. When inserting a clause, it scans for placeholders and replaces them with the current variable values. Clause numbering is applied based on the selected format (decimal, roman, or alphabetical), with each clause in a category receiving the next number automatically. The insertion engine detects the type of active field (textarea, input, or contenteditable) and uses the appropriate insertion method. For textarea and input fields, it uses the native selection API to replace or insert text at the cursor position, then dispatches input and change events to trigger React/Vue reactivity. For contenteditable fields, it uses the Selection API to insert text nodes directly.
THE PANEL
The floating panel is fully draggable and remembers its position per domain. Click the minimize button to collapse it to a small bubble, or press Escape to hide it. The panel automatically adjusts to different screen sizes and can be resized to show more content. All settings, including custom clauses, variables, and numbering preferences, are saved per domain. The panel integrates smoothly with any page layout using the BGPanel framework, maintaining clean separation from page content.
PLEASE NOTE
This script requires the free BotGentz extension to run. It does not send any data to external servers; all clauses, variables, and settings remain entirely local to your browser using GM_setValue. The script never reads password fields, hidden inputs, or file inputs. It stores only clause content, variable values, and configuration settings. The script does not modify the page beyond inserting content into user-selected fields. Clause data is provided for informational purposes and should be reviewed by a qualified legal professional before use. Data persists across browser sessions and is isolated per browser profile.