Closed Bug 1617021 Opened 5 years ago Closed 4 years ago

Support CSS content_scripts in add-ons

Categories

(Thunderbird :: Add-Ons: Extensions API, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: standard8, Unassigned)

References

Details

Attachments

(2 files)

Attached file contentScripts.xpi (deleted) —

Splitting this out from bug 1504475 as I think it may be easier done in two parts.

I played around with this a little tonight, but I couldn't quite get it working. I'm attaching a test add-on that I was using, in theory it should turn message text red.

I also made a minor change to the toolkit schema, as an experiment to allow the content script to be specified for imap urls (I wasn't quite sure if we want imap or imap-message, but I used both) - I'll attach that patch next.

It seemed to load the add-on, but strangely the debugger was saying that the ext-contentScripts.js weren't being loaded. I'm not sure if that is to do with how our extension APIs are set up, or if there's something missing or not configured correctly somewhere.

Attached patch schema_change.txt (deleted) — Splinter Review

There's other things I want to work on at the moment, so I'd be really happy if someone else took investigating this on. I was hoping it might be easy, but I suspect it just needs a bit of following through in the code to see what's not being fired.

Attachment #9127972 - Attachment is patch: true

This won't be necessary as a separate piece.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: