This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Internal Link Counter

Utilities · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryUtilities
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Internal Link Counter is a browser extension that scans any webpage for all links and counts internal links (same domain) versus external links (different domains). It displays a summary with total links, internal count, external count, and percentages. The tool lists internal and external links separately, showing link text and URL. You can toggle the feature on or off, set a custom domain for internal link detection, and export the results as a report. The tool is ideal for SEO professionals, content strategists, web developers, and anyone who wants to analyze the link structure of a webpage.

WHERE IT RUNS

Internal Link Counter runs on any webpage, overlaying a floating panel that does not interfere with page content. It operates entirely in your browser as a lightweight userscript, scanning the DOM for anchor elements. It works on any page, whether static or dynamic, with no external dependencies. All settings are stored locally using GM_setValue—no data is ever sent to any server.

HOW TO USE

After installation, open the floating panel by clicking the extension icon. The panel shows the current status (Enabled or Disabled) and a toggle button to enable or disable the counter. Optionally set a custom domain in the "Custom domain" field to override the auto-detected domain—useful for sites with subdomains or different domains that should be treated as internal. Click the "Scan" button to analyze the page. The panel displays a summary with total links, internal count, external count, and percentages. Internal links are shown in green, external links in orange. Click the "Export" button to copy a full report to your clipboard, including all internal and external links with their text and URLs. All settings are saved per website.

REAL MECHANISM — WHY THIS WORKS

Most link analysis tools require manual inspection or external SEO tools that may not show real-time data. Internal Link Counter uses a DOM-scanning approach that reads the page's current link structure. The tool queries the page for all anchor elements with href attributes. For each link, it extracts the href and checks if it's internal or external. The tool uses the URL API to parse the href, comparing the hostname against the current domain (or a user-defined custom domain). It also checks for subdomain matches to handle subdomains correctly. Links are classified as internal if they are on the same domain (or subdomain) and external if they are on a different domain. The tool excludes javascript:, mailto:, tel:, and anchor links (#) from the count. Results are displayed in a summary with counts and percentages, and a detailed list shows each link with its text and URL. This approach ensures accurate, real-time, and fully private link analysis without requiring any external services or network access.

THE PANEL

The floating panel is fully draggable and remembers its position per site, snapping to the edges of the viewport when dragged near them. You can collapse the panel to a small icon to minimize screen distraction and expand it back with a single click. The panel is resizable from the bottom-right corner, giving you more space to view the results. Press the Escape key to close the panel instantly. The panel remains open across page navigation within the same domain, maintaining your current view state. All preferences—panel position, enabled state, and custom domain—are saved per domain for a seamless experience.

PLEASE NOTE

Internal Link Counter requires the free BotGentz extension to be installed and enabled, as it relies on the cross-extension messaging API provided by BotGentz for DOM access permissions. The tool scans all links on the page at the time of the scan. Dynamically added links will be included in subsequent scans. The custom domain field allows you to specify a domain for internal link detection; leave it empty to auto-detect the current domain. The export function copies a full report to the clipboard. All settings are stored locally in your browser using GM_setValue. No page content, link data, or usage information is ever sent to any server. The extension does not read, store, or transmit any personal information. It only scans and displays link data at your request.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.