Grab listing bookmarklet

One-click capture for any UK vehicle listing. Expands every collapsed spec panel on AutoTrader, CarGurus, Motors, Gumtree and most dealer sites, and copies the fully-rendered page text to your clipboard. Fixes the "Ctrl+A misses the spec sheet" problem.

Desktop-only install

Mobile browsers don't support the drag-to-bookmarks-bar flow this bookmarklet needs (iOS Safari has no bookmarks bar; Android Chrome won't run javascript: bookmarks). Open this page on a laptop to install it.

To add a listing from your phone right now: go to the home page, paste the listing URL and upload screenshots of the page. No bookmarklet needed. The two setups below make it quicker still.

On your phone

Both routes end in the same place: the listing open on our add screen, ready to save.

Android · share sheet

  1. Open CompareForecourt in Chrome, then choose Install app (or Add to Home screen) from the browser menu.
  2. On any listing (Auto Trader's app, a dealer site, or your own screenshots in Photos), tap Share.
  3. Pick CompareForecourt. The link and any images come across with you.

Sharing screenshots straight from the screenshot editor works too, up to six at a time.

iPhone · a Shortcut

iOS has no equivalent of the Android share target, so it takes one shortcut, built once. In the Shortcuts app:

  1. New shortcut → Add Action → search URL and add Open URLs.
  2. Set the URL to https://compareforecourt.com/share?url= then tap the field and insert Shortcut Input immediately after the =.
  3. In the shortcut's settings, turn on Show in Share Sheet and set the accepted input to URLs.
  4. Name it Add to CompareForecourt. It now appears in Safari's share sheet on any listing page.

Privacy & scope

  • The bookmarklet runs locally in your browser, on a page you already have open and are authorised to view.
  • It only reads visible text and copies it to your clipboard. No data leaves your browser unless YOU paste it into the CompareForecourt "Add a vehicle" form.
  • No background activity. It only runs when you click the bookmark, and stops as soon as the copy completes.
  • Open source: the script you install is the file at /bookmarklet.js; you can read the whole thing in DevTools before adding it to your bookmarks bar.

What it does under the hood

  • Clicks every element with aria-expanded="false" (the standard ARIA disclosure pattern), walking open shadow roots too so dealer-site web components aren't missed.
  • Opens all <details> elements.
  • Clicks buttons / <summary> / role=button whose text matches view all/full/more, show all/more/full/details, see full/all/more, read more, expand, full spec(ifications), more info/details/specs, all specs/features/details or specification/features.
  • Tracks every clicked element in a WeakSet so we never re-click and accidentally collapse a panel we just opened, a common failure mode on React/Vue sites where aria-expanded flips asynchronously.
  • Dispatches a real bubbling MouseEvent alongside .click() for SPA frameworks that ignore programmatic clicks.
  • Runs up to 8 rounds with adaptive backoff (350 ms, 450 ms, …) so deeply-nested panels get expanded too.
  • Scrolls top → bottom in chunks to wake lazy-loaded sections, runs one more expand pass, then scrolls back to where you were.
  • Reads document.body.innerText and writes it to the clipboard.
  • If the browser blocks programmatic clipboard writes, opens a modal textarea so you can Ctrl + A / Ctrl + C manually.

Known limits

  • Cross-origin iframes can't be read. That's rare on listing pages, but if photos + spec are loaded from a third-party iframe you'll lose that.
  • Facebook Marketplace needs scrolling to load comments; the bookmarklet only captures what's currently rendered.
  • Cloudflare challenge pages aren't listing content. Solve the challenge first, then click the bookmarklet.
  • If you get a "Clipboard blocked" modal, the page's Content Security Policy is denying programmatic writes. Use the modal's textarea to copy by hand.