Comments (9)
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.
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.
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.
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.
Sorry, could you try with Firefox 48 (current Nightly)? I think the strict_min_version might be wrong for this one...
from webextensions-examples.
on Firefox Nightly x64 version 48.0a1 (2016-04-25) works. OS linux ubuntu. :)
from webextensions-examples.
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.
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.
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)
- Manifest v3 examples needed HOT 6
- Favourite Color bug manifest HOT 11
- Native messaging example doesn't pong after a while HOT 3
- browser is not defined in firefox HOT 3
- Can't get response in Ubuntu HOT 10
- Python Native Messaging host does not process 1MB input HOT 11
- Image is not loading by innerHTML in the content-script-register HOT 3
- Create an example of getting select text to a variable HOT 2
- Please add example for "Paste text from clipboard" HOT 5
- examples.json should include a way to list significant manifest keys
- Update eslint, fix linting errors and integrate in CI
- MV3 example for getting data from page/content script/activeTab context into action / popup HOT 3
- Broken root-cert-stats due to var -> let change HOT 6
- Firefox Load temporary addon not working HOT 12
- native-messaging app example: provide non-contrived example for each platform HOT 1
- Update root-cert-stats to use runtime.sendMessage HOT 3
- zip does not contain a valid manifest HOT 2
- Examples disabled when run via web-ext or from folder (applyCSS, borderify) HOT 9
- minor bug with native messaging example HOT 2
- native messaging example: port disconnects without an error HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webextensions-examples.