Opened 3 years ago

Last modified 12 days ago

#14045 new enhancement

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:

Description

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 (3)

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 https://github.com/EFForg/https-everywhere/issues/1123. We want to do this, but it's a *lot* of work. Feel free to take a stab at it though!

comment:3 Changed 12 days ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

Note: See TracTickets for help on using tickets.