web-ext | command line tool to help build | Browser Plugin library

 by   mozilla JavaScript Version: 7.11.0 License: MPL-2.0

kandi X-RAY | web-ext Summary

kandi X-RAY | web-ext Summary

web-ext is a JavaScript library typically used in Plugin, Browser Plugin applications. web-ext has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has medium support. You can install using 'npm i web-ext' or download it from GitHub, npm.

A command line tool to help build, run, and test web extensions
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              web-ext has a medium active ecosystem.
              It has 2340 star(s) with 332 fork(s). There are 46 watchers for this library.
              There were 3 major release(s) in the last 6 months.
              There are 165 open issues and 478 have been closed. On average issues are closed in 151 days. There are 9 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of web-ext is 7.11.0

            kandi-Quality Quality

              web-ext has 0 bugs and 0 code smells.

            kandi-Security Security

              web-ext has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              web-ext code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              web-ext is licensed under the MPL-2.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              web-ext releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of web-ext
            Get all kandi verified functions for this library.

            web-ext Key Features

            No Key Features are available at this moment for web-ext.

            web-ext Examples and Code Snippets

            MultiSelect Tabs,Contributing
            JavaScriptdot img1Lines of Code : 5dot img1License : Permissive (MIT)
            copy iconCopy
            yarn run webpack
            
            export NODE_ENV=PRODUCTION
            yarn run webpack
            
            web-ext build -i test/*
            
            yarn run webpack -- -w
              
            Node.js
            JavaScriptdot img2Lines of Code : 2dot img2License : Non-SPDX (NOASSERTION)
            copy iconCopy
            npm install --global web-ext
            
            web-ext --version
              
            Copy All Tabs,Development Process,Installing
            JavaScriptdot img3Lines of Code : 2dot img3License : Non-SPDX (NOASSERTION)
            copy iconCopy
            There was an error during installation: Extension is invalid
            
            npm install --global web-ext
              
            How to autoreload temporary addon in FF 55.0.1?
            JavaScriptdot img4Lines of Code : 4dot img4License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            npm install --global web-ext
            
            web-ext run
            
            Firefox add-on development: automatically reload add-on after code is changed
            JavaScriptdot img5Lines of Code : 4dot img5License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            npm install --global web-ext
            cd /path/to/your/webextension
            web-ext run
            
            Open Firefox with a temporary add-on on startup
            JavaScriptdot img6Lines of Code : 2dot img6License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            npm install --global web-ext
            

            Community Discussions

            QUESTION

            Unable to create a vue-web-extension from vue-cli
            Asked 2021-Apr-03 at 08:49

            Currently, I am modifying a chrome extension I have built to adding a popup page that is developed in Vue. I am using this tutorial, https://www.streaver.com/blog/posts/create-web-extension-vue.html.

            Whenever I try the step vue init kocal/vue-web-extension my-extension, I get the following error:

            vue-cli · ENOENT: no such file or directory, scandir '/Users/avidave/.vue-templates/kocal-vue-web-extension/template'

            I have updated my vue-cli to the latest version so I am not sure what this really means. I know the file template doesn't exist, but I am not sure what is the right way to create the file in the kocal-vue-web-extension, or if it is needed for that matter.

            ...

            ANSWER

            Answered 2021-Apr-03 at 08:49

            QUESTION

            Web Extraction code needs UPDATING, Trying to add sheet from worksheet Cell
            Asked 2021-Jan-09 at 15:44

            I am trying to write this line of code so it takes the sheet to use from a Sheet + cell in excel I can do it with the class and child nods, but not for the sheet to input the data Into. The code is repeated for columns A to K

            I know that even this is not the best, however I am limited in VBA and it does work. I have Changed from Sheet3 to Sheet4, Also Posted Here Mr Excel

            Current Code that Works

            ...

            ANSWER

            Answered 2021-Jan-09 at 15:44

            This Question was Answered largely By QHarr. Thanks for Your Help. I had a few minor issues, like object required and Object Variable or with block variable not defined. I was able to fix it like this

            QHarr's Code

            Source https://stackoverflow.com/questions/65642769

            QUESTION

            Selenium Send Keys Function Attribute not found
            Asked 2020-Dec-21 at 15:12

            I have the following code that I am using to log-in to my grocery store online, but I cannot get the send_keys() function to work. Any ideas what I am doing wrong?

            ...

            ANSWER

            Answered 2020-Dec-21 at 15:12

            First of all click is a method. So it should have been click()

            click() doesn't returns anything, hence element remains null.

            Solution

            Invoke send_keys() when the element is returned through WebDriverWait as follows:

            Source https://stackoverflow.com/questions/65395181

            QUESTION

            OPS4J Pax CDI Sample1 on Karaf 4.2.9
            Asked 2020-Dec-14 at 08:37

            I have a karaf server. I downloaded ops4j and try CDI in sample1. Unfortunately the servlet do not start and remains in state deploying.

            ...

            ANSWER

            Answered 2020-Dec-14 at 08:37

            I moved from OPS4j to Aries CDI on Karaf. Here is the how-to:

            https://www.youtube.com/watch?v=hFgXPs251po

            Source https://stackoverflow.com/questions/64210945

            QUESTION

            After converting a Web Extension using safari-web-extension-converter, running extension fails with SFErrorDomain code 1
            Asked 2020-Dec-05 at 19:37

            I have a web extension https://github.com/david-shortman/clickster

            In the directory for that extension, I ran

            ...

            ANSWER

            Answered 2020-Dec-05 at 19:37

            I was able to solve the problem by doing a clean install of macOS and Xcode. What a dumb as hell problem. No idea what the cause was.

            I did try removing Xcode and relevant files/directories first, but that didn't help. Only the clean install of macOS seemed to do the trick.

            Source https://stackoverflow.com/questions/65155167

            QUESTION

            Vue.js 3 extension breaks while using "vue-cli-service build" due to unsafe-eval
            Asked 2020-Nov-24 at 10:16

            I am developing a chrome extension using vue 3, vue-router and vuex based on Kocal's project which uses vue-cli under the hood. I used whenever possible Single File Components with extensive use of vue bindings. Everything works perfect on development mode but I recently tried to build the application for production and I encountered this error with partial rendering:

            ...

            ANSWER

            Answered 2020-Oct-01 at 17:53

            The eval is likely coming from Webpack, due to an issue with global scoping.
            see link for more detail https://mathiasbynens.be/notes/globalthis

            Could you try adding this configuration to vue.config.js

            Source https://stackoverflow.com/questions/64159951

            QUESTION

            TFX-CLI fails on "tfx extension create"
            Asked 2020-Oct-30 at 06:27

            Background: Using AzureDevops Services as Ci/CD, there is a need to create a custom Service Endpoint, following these documentations.
            Followed after that by this publish, which is failing.

            Target: Create custom Service Endpoint.

            Issue: while running the "tfx extension create" command, i'm getting this error (no debugging seems to be working):

            ...

            ANSWER

            Answered 2020-Oct-30 at 06:27

            According to your error message: error: One or more 'categories' must be provided. You need to add categories to your vss-extension.json file. This file contains required attributes. Categories is an Array of strings representing the categories your extension belongs to. At least one category must be provided and there's no limit to how many categories you may include. For example:

            Source https://stackoverflow.com/questions/64594361

            QUESTION

            Why do these sinon stubs resolve to undefined?
            Asked 2020-Aug-11 at 20:57

            I've written a unit test for the following code and stubbed the browser methods (read: web-extension API) using Sinon (more specifically: sinon-chrome, a dated but still functioning library for my use case).

            ...

            ANSWER

            Answered 2020-Aug-11 at 20:57

            Turns out sinon-chrome, for whatever reason, needs to register the 'i18n' plugin during runtime and before tests are run.

            Why this specific part of the web-extensions API is not implemented the same way all the other mocks are remains a mystery, but adding two lines fixed the problem and allowed the sinon stubs to work as expected:

            Source https://stackoverflow.com/questions/63300752

            QUESTION

            Native messaging with web content using GeckoView Android
            Asked 2020-Jul-24 at 18:48

            I am trying to create a hybrid app using only GeckoView as webview. I am following this link to establish communication between native and HTML/Javascript. I am using Connection-based messaging. So far I am able to receive a message from native and send the message back to the native from background script. But I am not able to do the following :

            1. Show the message from background script : I have tried to showthe value from custom event inside background script but its not working. Code is as follows :

              ...

            ANSWER

            Answered 2020-Jul-24 at 18:48

            If the HTML code is part of your extension you can use extension pages. Extension pages have full access to the WebExtension API. All you need to do is load the page using the web-extension://[UUID] path, something like this should work

            Source https://stackoverflow.com/questions/63048951

            QUESTION

            Safari 14: chrome.permissions.request() not working seamless and tab.url comes blanks always - Extension
            Asked 2020-Jul-24 at 13:27

            I have working cross-platform extension which I converted for Safari using xcrun safari-web-extension-converter PATH. Goal of extension is to bookmark any URL into my website account (https://ourdomain.in).

            My extension is perfectly working fine for Chrome but for Safari version, everything works well if user allows access permission for every website.

            The issue is, even though I have proper optional_permissions and used chrome.permissions.request() method to ask user-consent for ourdomain.in, and we see user allowed access, still tab.url comes blank for chrome.tabs.onUpdated every time.

            Here is the case in detail, when user presses extension button, we are checking user is logged into its account or not by opening our website URL into another tab.

            ...

            ANSWER

            Answered 2020-Jul-24 at 13:27

            The answer was so simple, I have to change my reqPerm like,

            Source https://stackoverflow.com/questions/63048941

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install web-ext

            First, make sure you are running the current LTS (long term support) version of NodeJS.
            Optionally, you may like:.
            Node.js, 12.0.0 or higher
            npm, 6.9.0 or higher is recommended
            nvm, which helps manage node versions

            Support

            Here are the commands you can run. Click on each one for detailed documentation or use --help on the command line, such as web-ext build --help.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i web-ext

          • CLONE
          • HTTPS

            https://github.com/mozilla/web-ext.git

          • CLI

            gh repo clone mozilla/web-ext

          • sshUrl

            git@github.com:mozilla/web-ext.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link