Amirhossein Hosseinpouramirhp
CV
5 add-ons Browser extensions · Firefox

Firefox add-ons

Small fixes for the pages I read every day.

Five extensions published on addons.mozilla.org, each for one page or one annoyance: Iranian ad networks, a music player without a download button, a fund price that needs arithmetic, a product ID buried in a WooCommerce page, and long X posts in two scripts.

All five on Firefox Add-ons Tweee on GitHub

Published from the account amirhp-com, created in January 2017. Figures from the Firefox Add-ons API, 30 September 2026; users are Firefox's average daily users.

First add-on published2019 to today

All five

Status by the same rule as the rest of the site: the date of the add-on's last update on Firefox Add-ons.

Add-onStatusVersionDaily usersRatingLicenceUpdated
TweeeTurns an X post into a clean, printable, bilingual reading card.Active2.4.10none yetMPL-2.029 Jun 2026
TSETMC NAV CheckerCompares a Tehran fund's price with its net asset value.Active1.221none yetMPL-2.019 Dec 2025
WooPIDCopies the WooCommerce product ID, variation ID and REST endpoint of the page you are on.Maintenance1.01none yetMPL-2.03 Feb 2025
Radio Javan DownloaderAdds a download button to the Radio Javan web player.Archived3.2.0814.4 from 12MPL-2.025 Apr 2023
Iranian Ad-BlockerBlocks the ad networks common on Iranian websites.Archived1.9.045.0 from 4All rights reserved14 May 2019

Radio Javan Downloader and Iranian Ad-Blocker were both published on 28 April 2019. The 4.6 is Mozilla's own average across the account's add-ons, 4.56 before rounding.

Tweee: a direction per line

A post that mixes Persian and English breaks in every reader that picks one direction for the whole text. Tweee decides line by line.

Each line takes its direction from its first strong character. Persian and Arabic lines are set right to left in a Persian typeface; Latin lines left to right in the serif, sans or mono you choose; code stays left to right in monospace. Quote posts nest correctly in both directions, and pasting the last post of a thread unrolls the whole chain by walking the author's replies back to the first.

The app is one self-contained HTML file with no build step and no backend. It also ships as a Firefox extension, published in June 2026, and exports to PDF, HTML or a Telegram chat through your own bot. MIT on GitHub.

// the first strong character decides
const RTL = /[\p{Script=Arabic}\p{Script=Hebrew}]/u;
const LTR = /\p{Script=Latin}/u;

function dir(line) {
  for (const ch of line) {
    if (RTL.test(ch)) return 'rtl';
    if (LTR.test(ch)) return 'ltr';
  }
  return 'auto';
}
An illustration of the rule described in the README, not the shipped code.

TSETMC NAV Checker

A fund on the Tehran exchange has three prices that matter. This puts them side by side.

On a fund's page on tsetmc.com, the extension reads the statistical net asset value and the issue and redemption prices, works out how far each sits from the NAV, and compares the gap with a tolerance you set. The answer is one of three: the gap favours buying, favours selling, or is neutral. It is a calculator, not advice, and says so.

21 people use it daily, the most of any add-on I have published in the last three years. The source, with its Persian README, is on GitHub.

Getting started

Any of the five installs from its page on Firefox Add-ons.

  1. Open the add-on's page

    From the table above, or from the account page.

  2. Add to Firefox

    Firefox shows the permissions the add-on asks for before it installs.

  3. Report a problem

    Tweee, the TSETMC checker and WooPID have their source on GitHub; open an issue there.

branch main 6 active projects ↑ 113 releases open-source/firefox-add-ons.md Sari --:-- UTC+3:30 its@amirhp.com