GithubHelp home page GithubHelp logo

mozilla / adbhelper Goto Github PK

View Code? Open in Web Editor NEW
58.0 30.0 57.0 6.39 MB

INACTIVE - http://mzl.la/ghe-archive - A Firefox add-on to ease connecting to Firefox for Android

JavaScript 95.46% Makefile 2.51% Shell 2.03%
inactive unmaintained

adbhelper's Introduction

A Firefox add-on to ease connecting to Firefox for Android.

Add-on license: http://www.mozilla.org/MPL/

ADB license: http://www.apache.org/licenses/LICENSE-2.0.html

ADB source code: https://android.googlesource.com/platform/system/core/+/master/adb

Building

To build the add-on, run make from the root folder of your clone.

This will package the add-on for various operating systems:

  • adbhelper-X.Y.Z-linux.xpi
  • adbhelper-X.Y.Z-linux64.xpi
  • adbhelper-X.Y.Z-mac64.xpi
  • adbhelper-X.Y.Z-win32.xpi

Testing

Prerequisite: Firefox for Android

You need a Firefox for Android to connect to.

If you are already setup to build Firefox and don't want to use a real device, the easiest way is to use an Artifact Build for Firefox for Android. See the documentation on MDN.

Once you have Firefox for Android running in a simulator, go to Settings > Advanced and turn on Remote Debugging via USB in the DevTools section.

If you prefer to use a real device, refer to the documentation on MDN for USB Debugging.

You are now ready to test ADB Helper.

Test a local build of ADB Helper

Only Firefox Nightly allows to load unsigned extensions, so make sure to use this distribution channel.

In about:config, turn the following preferences:

  • xpinstall.signatures.required should be set to false
  • extensions.legacy.enabled should be set to true

Drag and drop the xpi file for your current operating system to your browser window. You will get a prompt about installing adbhelper.

Open WebIDE (Shift+F8). You should see your Firefox for Android runtime listed under "USB Devices".

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.