Skip to content

oliverturner/ft-ads-extension

Repository files navigation

FT Ads

FT Ads Tab

Overview

FT Ads is a Chrome extension intended to give users at-a-glance access to ads-related traffic properties.

Both Multi- (OAds) and Single Request Architectures (PG) are supported.

Features

Inspect Ad Server requests

The query params of requests to the Ad Server are parsed and pretty-printed for easier reading.

Inspect Spoor Traffic

The body of POST requests with the query strings type=ads:slot-requested and type=ads:slot-rendered are parsed and pretty-printed for easier reading.

The unedited raw data is viewable in the disclosure element at the foot of each column

Installation from ZIP

  1. Download https://github.com/oliverturner/ft-ads-extension/archive/refs/heads/main.zip
  2. Unpack the zip file and move the resulting directory into a location of your choice. Note that it contains a folder named /dist
  3. Open Chrome's Manage Extensions page by copying and pasting chrome://extensions into a new Chrome tab
  4. Enable "Developer mode"
  5. Click "Load unpacked", navigate to the /dist folder and click "Select"

Chrome Extensions Panel

With these steps taken you should now see the extension show up:

Chrome Extensions Panel

Updating

  1. Delete the existing extension folder
  2. Follow steps 1 to 3 above
  3. Click the refresh icon

Chrome Extensions Panel

Usage

With the extension installed...

  1. Navigate to a page on FT.com and open the dev tools
  2. Select the FT Ads tab, refresh the page, and scroll: you should see the results start to show up as below

FT Ads Tab

Development

To start the project, run:

npm start

This will launch the panel as a hot-reloading HTML page pre-loaded with sample data, allowing you to quickly tweak and refine the UI and behaviour

To see the extension in action you will need to install it: follow the instructions from step 3 forwards

To see changes you made in development reflected in the extension

  1. Regenerate the contents of the /dist directory in watch mode by running
    npm run dev
  2. Right click the body of the panel and click "Reload Frame"
  3. Refresh the page you're inspecting and scroll to trigger requests

NOTE

Changes to public/manifest.json require you to manually refresh the extension:

Chrome Extensions Panel

Release [WIP]

This extension is yet to be published on the Chrome Store.

TODO

  • Playwright tests
  • More compact layout
  • Better parity with Google Publisher Console: link out to
    • Line item
    • Creative detail
    • Delivery diagnostics

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published