Coder Social home page Coder Social logo

Comments (9)

wbamberg avatar wbamberg commented on May 16, 2024

Those add-ons require Firefox 47 (currently Developer Edition) or later. You can check the minimum version required for each example by looking at the "strict_min_version" manifest key:

https://github.com/mdn/webextensions-examples/blob/master/favourite-colour/manifest.json#L5
https://github.com/mdn/webextensions-examples/blob/master/tabs-tabs-tabs/manifest.json#L5

If you could confirm that these examples work for you with Firefox 47, that would be great, and I'll close this bug.

from webextensions-examples.

ind4rk avatar ind4rk commented on May 16, 2024

ok, sorry. I am newby.
on 47.0a2 (2016-04-25) linux ubuntu
tabs-tabs-tabs works but favourite-colour dont work.
"# Favourite Colour

Shows and stores your favourite colour, in storage.local
in the about:addons page for the add-on."
in about:addons page there are nothing to do.

from webextensions-examples.

wbamberg avatar wbamberg commented on May 16, 2024

Don't be sorry :). Minimum version requirements should be more obvious than they are. Firefox should refuse to install add-ons that don't meet the minimum version, and newer versions of Firefox do this, but Firefox 45 doesn't have that fix.

in about:addons page there are nothing to do.

To be clear: in about:addons you should see a button labelled "Preferences" next to the add-on, like: https://i.imgur.com/yRJQ5Vj.png. If you click the button, you should see the options UI: https://i.imgur.com/HALMbzY.png.

Are you seeing any of that?

from webextensions-examples.

ind4rk avatar ind4rk commented on May 16, 2024

Firefox version http://i.imgur.com/5GGsQkK.png
about:addons page for the add-on http://i.imgur.com/QKPUzxy.png
about:addons http://i.imgur.com/remjDjW.png
I test on windows 7 and same result :(

from webextensions-examples.

wbamberg avatar wbamberg commented on May 16, 2024

Sorry, could you try with Firefox 48 (current Nightly)? I think the strict_min_version might be wrong for this one...

from webextensions-examples.

ind4rk avatar ind4rk commented on May 16, 2024

on Firefox Nightly x64 version 48.0a1 (2016-04-25) works. OS linux ubuntu. :)

from webextensions-examples.

wbamberg avatar wbamberg commented on May 16, 2024

I've just pushed b75b182, which should fix strict_min_version for this example.

Thanks for finding this! I'll close this for now, but let me know if you think anything else is needed.

from webextensions-examples.

ind4rk avatar ind4rk commented on May 16, 2024

Is offtopic but in webextensions-examples-> README.md
"Before you try out these extensions, read about prerequisites."
if you click on the link.
"All you need is Firefox 45 or higher. See Your first WebExtension to get started."
is my fault for not check the manifest.json but this line confus me.
sorry for my english :P

from webextensions-examples.

wbamberg avatar wbamberg commented on May 16, 2024

You're right, that's super-confusing. I just updated the README:

https://github.com/mdn/webextensions-examples/blob/master/README.md

Is this better, do you think?

from webextensions-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.