WebExtension: web_accessible_resources ignored in FF47

Hello everyone. First addon uploaded (awaiting review) and first post in this forum. Please forgive me for any lapse of proper forum etiquette. :wink:

I included images to use in my addon’s content script in “images” folder and included “web_accessible_resources”: [“images/*”] in manifest.json. Installing the unsigned extension in FF Developer v50 works as expected perfectly (also Opera and Chrome). I installed in FF 47 (used because I can disable the signature check) and the images fail to load. In inspector, it shows the correct extension image URL. I can open the image URL in another tab no problem. FF47 is acting as if it is ignoring the web_accessible_resources in manifest.json. Does it not like wildcards? FF47 WebExtension support not complete? Because it isn’t signed? Or something else… What am I missing? Any guidance would be appreciated. Any extra info needed will be freely given…

It doesn’t like wildcards: https://bugzilla.mozilla.org/show_bug.cgi?id=1217944. To install unsigned extensions, “Load Temporary Add-on” works nicely for me: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Temporary_Installation_in_Firefox.

Thank you! So it was fixed in v48… Now I need to decide if I want to list every image in manifest (around 50) for backward compatibility, load offsite images instead or just keep it as is with only v48+ support… Thanks for the quick and concise reply! Have a great one! :slight_smile:

EDIT: I decided to list each image individually. Works as expected perfectly.
Thanks again!

1 Like