1. Discover
Scans the page (and iframes) for data-ext-fetch markers and injects an icon into each one.
Host-page demo
Test the browser extension the same way a dealer portal would: drop a marker element on the page, keep attributes in sync, and listen for the result event.
Source: github.com/TrustyCars/lta-extension-v2-demo
http://localhost with the extension installed. The content script does not run on file://.
Use npx serve -p 1234 from this folder.
1. Discover
Scans the page (and iframes) for data-ext-fetch markers and injects an icon into each one.
2. Fetch
Opens LTA VRL, scrapes dereg rebate and/or transfer fee, then returns merged records plus optional screenshots.
3. Return
Dispatches form-result--{formId} on the host page and shows the same payload in the side panel.
Docs
Developer guideCopy-paste integration: attributes, events, fetch modes, and known limits.
Primary scenario
Combined fetchDefault production path: dereg rebate, then transfer fee. TF errors stay optional.
dereg-rebate + transfer-fee. The usual host-page path.
Dereg rebate onlydata-ext-fetch-single-fetch-only="true"
Transfer fee onlydata-ext-fetch="transfer-fee"
No screenshotSkip page captures when you only need records.
ValidationEmpty or past dates disable the icon.
Multiple formsTwo markers, two result events, one page.
Iframe embedContent script runs with allFrames: true.
Extension detectcheck-extension-info / check-extension-info-result