Content Analyzer

Content Analyzer Extension

Usage and Configuration Guide

The Content Analyzer is a browser extension designed for the automated extraction and evaluation of semantic metadata in complex web environments. This extension works on Firefox, Chrome and Chromium derived browsers, its core purpose is to process web content by passing it through various Artificial Intelligence (AI) services.

Unlike typical web page summarizers, this extension allows you to create multiple custom AI services, each with a highly specific prompt that dictates exactly what the AI should do with the collected information. You can use it to extract code, translate specific terms, analyze sentiment, generate targeted reports, and much more.

1

Key Features

  • Custom Content Capture: You can easily select a specific part of a web page using an interactive "hover tool", or opt to capture the entire page content.
  • Multiple Custom AI Prompts: Create different services tailored to your exact needs (e.g., "Summarize article", "Extract JSON data", "Translate to Spanish", etc.).
  • Domain-Specific Servicing: You can link your custom services to specific web domains. This helps keep your extension clean by only showing relevant AI tools (e.g., a "Code Review" service that only activates when you browse github.com or stackoverflow.com).
  • Widespread LLM Compatibility: Fully supports connections (including text streaming) with local servers via Ollama, as well as cloud API providers like OpenAI, Anthropic, and Google Gemini.
2

Supported AI Providers

This extension is built to be highly flexible, allowing you to connect to a variety of industry-leading Artificial Intelligence models and local services. Currently, it supports:

  • Claude (Anthropic): Access the powerful Claude family of models through their official API.
  • Gemini (Google): Connect directly to Google's advanced Gemini models.
  • ChatGPT (OpenAI & Compatibles): Fully compatible with OpenAI's API, as well as any other third-party service that offers an OpenAI-compatible endpoint.
  • Ollama: Run models locally and privately on your own machine without sending data to the cloud, or connect to remote public/private Ollama servers.
3

Prompt Dynamic Tags

To make your AI prompts more contextual and powerful, you can utilize the following dynamic tags. The extension will automatically substitute them before sending the prompt to the AI model:

Tag Description
{DATE} Replaced by the current date in your local format.
{HOUR} Replaced by the current time in your local format.
{URL} The complete URL of the web page currently being processed.
{DOMAIN} The root domain of the web page being processed.
{LANG} The language of the web page. Note: This relies on the page's HTML <html lang="..."> declaration; the extension does not automatically detect the language if the website omits it.
{SYSLANG} The current system/browser language configuration.
4

Example Configurations

Below are a few examples showcasing how you can structure your services:

Example 1: Multilingual Translation Assistant

Service Name: Translate to local language
Linked domains: (Empty - Available everywhere)

Act as a professional translator. I am browsing a site in the {LANG} language at {URL}, but my browser is set to {SYSLANG}. Please accurately translate the following content to {SYSLANG}, keeping the original markdown and text formatting intact.

Example 2: Code Reviewer (Domain Specific)

Service Name: Python Code Review
Linked domains: github.com, gitlab.com, stackoverflow.com

You are an expert developer. The code snippets provided below were found on {DOMAIN}. Analyze the code strictly for potential bugs, security vulnerabilities, and code smell. Do not explain what the code does, just list the issues and provide a corrected version.

Example 3: Daily Briefing Extractor

Service Name: Extract Key Entities
Linked domains: news.ycombinator.com, techcrunch.com, bbc.com

Today is {DATE} at {HOUR}. Scan the following news article and extract a neat JSON list containing the main "People", "Organizations", and "Locations" mentioned in the text.
5

Browser Installation

The installation process is done via the official repository or by loading the unpacked package in developer mode.

info
Note: Ensure you have configured the global settings (API Keys or local Ollama instances) properly in the extension's Options page before running any captures.