/ad-inspector

A bookmarklet for inspecting GPT ad units' data on web pages.

Primary LanguageJavaScriptMIT LicenseMIT

Forbes Ad Inspector

A bookmarklet for monitoring GPT ad units and their associated targeting on web pages.

Dev Requirements

  • [Node] v20.11.1
  • A proxy server like Charles

Installation

npm install

Development

This project runs a simple http server that watches for changes to your JS/CSS files.

Start by building the project: npm run build

To watch changes made to files: npm run watch

To start the server: npm run start

Assuming you have no errors, you should be able to see your files on your local host (http://127.0.0.1:8080/).

To add chrome extension for local development:

  • Navigate to chrome://extensions/ in chrome browser
  • Select 'Load Unpacked'
  • Select src folder of Ad Inspector project, extension will be added to chrome

Charles Setup

See Charles setup instructions here

Additional Information

This tool should work on all pages that utilize GPT Tags. It does not require any supplemental data to be provided in the page.

Contributors