Git Product home page Git Product logo

Comments (4)

alihassangoraya avatar alihassangoraya commented on July 19, 2024 1

many many thanks for your response. :) Its really helpful.

from webextensions-examples.

wbamberg avatar wbamberg commented on July 19, 2024

This add-on works fine for me: https://i.imgur.com/QiP0qFm.gif
This is Firefox 48.0a2, the current Developer Edition. Which Firefox are you using, please?

It does seem to work only on an actual web content page (it doesn't work in special pages like about:addons or about:debugging).

from webextensions-examples.

alihassangoraya avatar alihassangoraya commented on July 19, 2024

Hi, I had firefox version 45.0, and it was showing error in console "chrome is not defined" Now I have updated the firefox to 46.0.1 and now it is working.

I was trying on actual pages already.

Now my question is that which versions of firefox are supported for this addon?

Thanks in advance. :)

from webextensions-examples.

wbamberg avatar wbamberg commented on July 19, 2024

I'm glad it worked for you :).

Now my question is that which versions of firefox are supported for this addon?

It should work from Firefox 46 onwards.

In general, I'd suggest you use Firefox Developer Edition (currently Firefox 48) if you can.

To know which Firefox version a particular example needs, you can check the value of strict_min_version in the manifest.json: https://github.com/mdn/webextensions-examples/blob/master/inpage-toolbar-ui/manifest.json#L37.

There's also this page: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs which should give you an idea of which Firefox versions particular APIs landed in (but note that this doesn't always give you the answer - for example, runtime.connect() was present in Fx45, but was not available in content until Firefox 46).

Hope that helps.

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.