# Toggle .h \<-\> .cpp

> Quickly toggle between a url which ends in .h and a url which ends in .cpp for browsing C++ code online Useful for GitHub, OpenGrok, etc.

Canonical page: [https://chrome-stats.com/d/headertoggle](https://chrome-stats.com/d/headertoggle)

## Overview

- **ID:** `headertoggle`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** Adam Casey
- **Category:** appearance,other
- **Daily users:** 1
- **Version:** 1.0.2resigned1
- **Last updated:** 2024-04-25
- **First published:** 2017-01-08
- **Size:** 10 KB
- **Data as of:** 2026-09-05
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/headertoggle/)
- **Website:** [https://github.com/adamncasey/headertoggle](https://github.com/adamncasey/headertoggle)

## Description

Toggle .h <-> .cpp is a Firefox add-on that allows you to switch effortlessly between URLs ending in .h and .cpp for convenient browsing of C++ code on platforms like GitHub, OpenGrok, and more.

## Rankings

- #103,856 — Overall
- #148 — toggle

## Permissions and access

### Permissions

- `<all_urls>`
- `tabs`

## Safety

- **Risk impact:** High risk impact
- **Risk likelihood:** Moderate risk likelihood

### Analysis details

- Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [Toggle View Source](https://chrome-stats.com/d/toggle-view-source) — 216 users, 5.00 / 5
- [Github Code Outline](https://chrome-stats.com/d/github-code-outline) — 1 users
- [Toggle LeetCode Syntax Highlighting](https://chrome-stats.com/d/leetcode-syntax-highlighting) — 5 users
- [Github1s](https://chrome-stats.com/d/github1s) — 16 users, 4.75 / 5
- [cpp](https://chrome-stats.com/d/cpp)
- [Toggle CSS](https://chrome-stats.com/d/toggle-css) — 1 users
- [C/C++ Search Extension](https://chrome-stats.com/d/c-c-search-extension) — 202 users, 5.00 / 5
- [Cpp Reference Dark Mode](https://chrome-stats.com/d/cpp-reference-dark-mode) — 6 users
- [Select Thy Language](https://chrome-stats.com/d/select-thy-language)
- [Github Search](https://chrome-stats.com/d/search-github) — 18 users
- [Github Repo Search](https://chrome-stats.com/d/github-repo-search) — 4 users, 5.00 / 5
- [Github1s button](https://chrome-stats.com/d/github1s-button) — 1 users, 5.00 / 5

---

Source: [Chrome-Stats](https://chrome-stats.com/d/headertoggle)
