Coder Social home page Coder Social logo

callahad / webextension-tests Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 228 KB

A collection of extensions to test Firefox's support for WebExtensions.

Home Page: https://wiki.mozilla.org/WebExtensions

Makefile 8.41% JavaScript 66.74% CSS 24.84%

webextension-tests's Introduction

WebExtension Tests

A collection of extensions to test Firefox's support for WebExtensions.

Each folder has its own README describing the test and linking back to Bugzilla.

Most extensions are designed to run on example.com.

Using this repository

Note: To test in Firefox, you must use Nightly or DevEdition and set xpinstall.signatures.required to false in about:config.

  1. Clone this repo.
  2. Run make to zip each add-on into a standalone .xpi file.
  3. Drag the desired .xpi file into Firefox and choose "Install."
  4. Visit example.com and view the browser console.

To check parity with Chrome:

Note: To test in Chrome, "Developer Mode" must be enabled in chrome://extensions/.

  1. Visit chrome://extensions/.
  2. Click "Load Unpacked Extension".
  3. Select the desired extension's folder.
  4. Visit example.com and view the browser console.

webextension-tests's People

Contributors

callahad avatar

Stargazers

Phillip Smith avatar

Watchers

 avatar James Cloos avatar  avatar

webextension-tests's Issues

Porting Chrome Extensions to Firefox

hi Dan! Question about
https://hacks.mozilla.org/2015/10/porting-chrome-extensions-to-firefox-with-webextensions

i know those steps are intended for custom extensions, but i applied your steps to this extension
https://chrome.google.com/webstore/detail/1-click-extension-manager/ohajmcdpjokbdoihfhkpbmlmknejmoec

Firefox says "Cannot install, appears to be corrupt", when i dragged the xpi into about:addons.

Steps:

"applications": {
  "gecko": {
    "id": "[email protected]"
  }
},

{
"update_url": "https://clients2.google.com/service/update2/crx",

    "name": "1-Click Extension Manager",
    "description": "Manage Chrome extension at the tip of your finger, with just 1-click.",
    "version": "1.0",
    "manifest_version": 2,
    "icons": {
        "128": "logo.png",
        "16": "logo.png"
    },
    "permissions": ["management"],
    "browser_action": {
        "default_icon": "logo.png",
        "default_popup": "popup.html"
    }
}
  • 7zipped the file (i don't how to put manifest.json at "root", as you stated.

  • Dragged file into about:addons

  • Got "corrupted" error.

Any suggestions?

Sorry to message here. Your "reveal email address" button didn't work for me.

Thx!

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.