A Chrome extension that allows you to preview Adhese ads dynamically on any webpage.
- Preview Adhese ads on any webpage
- Drag and drop placement of ads
- Clear existing ads on the page
- Interactive placement mode with visual guides
- Persistent storage of account and creative IDs
-
Clone the Repository
git clone https://github.com/adswag/preview-chrome-extension.git cd preview-chrome-extension -
Load the Extension in Chrome
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right corner
- Click "Load unpacked"
- Select the directory containing the extension files
- Open Chrome and navigate to
- Click the extension icon in your Chrome toolbar
- Enter your Account ID and Creative ID
- Choose whether to clear existing ads
- Click "Start Placement Mode"
- Hover over areas where you'd like to place the ad
- Click to place the ad
- Press ESC to exit placement mode
- Use "Clear All Ads" to remove placed ads
Make sure your directory contains:
- manifest.json
- popup.html
- popup.js
- background.js
- icons/
- icon16.png
- icon32.png
- icon48.png
- icon128.png
To modify the extension:
- Make your changes to the source files
- Go to
chrome://extensions/ - Click the refresh icon on the extension card
- Test your changes
- The extension requires appropriate Adhese account and creative IDs to function
- Internet connection is required to fetch ad previews
- Some websites may restrict content injection due to security policies