Opened 4 years ago

Closed 5 months ago

#14045 closed enhancement (invalid)

Use Firefox SDK

Reported by: Marnes Owned by:
Priority: Medium Milestone:
Component: HTTPS Everywhere/EFF-HTTPS Everywhere Version:
Severity: Normal Keywords: sdk
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Current versions of HTTPSE (4.0.2) don't seem to use the add-on SDK. The SDK provides modules for toolbar buttons (soon with a text overlay option too, for hit counters), non-restartability, preference/data storage, etc. Using the SDK makes add-ons uniform and more familiar to users, as well as more compatible with new releases of Firefox and easier to develop/maintain.

Site-specific preferences like user-disabled rules are currently stored in about:config under a new key for each rule:
extensions.https_everywhere.rule_toggle.9gag (partial) boolean false
This in particular creates a big mess of little entries in about:config that probably don't get removed and just create bloat in prefs.js. One improvement would be to store these site-specific entries in a single JSON object string in a single key. An even better improvement would be use the SDK's storage module, avoiding about:config altogether.

Child Tickets

Change History (4)

comment:1 Changed 3 years ago by cypherpunks

The problem is that it's still not quite reliable, you get bad memory leaks.

comment:2 Changed 3 years ago by jsha

Duplicate of We want to do this, but it's a *lot* of work. Feel free to take a stab at it though!

comment:3 Changed 7 months ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:4 Changed 5 months ago by strugee

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.