Giter Club home page Giter Club logo

dhl-autofiller's Introduction

DHL Autofiller Chrome extension

The Chrome plugin auto populates the customer form on dhlmultishipping (http://www.dhlmultishipping.se/) based upon a JSON feed provided by your REST-endpoint.

Installation

  1. Download and unzip the complete source code
  2. Visit chrome://extensions in Chrome
  3. Ensure that the Developer mode checkbox in the top right-hand corner is checked
  4. Click Load unpacked extension… to pop up a file-selection dialog
  5. Navigate to the directory in which your extension files live, and select it

The extension is now installed. Click Options to enter the URL to your enpoint

Usage

After a successful installation - a yellow icon with a red plus will show up next to the URL field.

  • While on the DHL Multishippings create customer view - click the extension icon.
  • The extension will now load all customers available and populate a select
  • Selecting one of the customers will populate the extensions input fields allowing you to alter the information
  • Click Fill out the DHL form to populate the DHL form. The plugin recognize and support both the /transnet/register.do?method=view and /transnet/organisation.jsp?organisation=new pages.

Required JSON feed

On the specified endpoint a JSON array of customers must be available through GET in the following structure:

[
  {
    "id": "1",
    "name": "Jesper Svensson",
    "address": "Street address",
    "zipcode": "12345",
    "city": "Växjö",
    "email": "[email protected]",
    "phone": "1029384746",
    "shipping": "DHL Paket"
  },
  {
    "id": "2",
    "name": "Bengt Bengtsson",
    "address": "Bengtsvägen 790",
    "zipcode": "12345",
    "city": "Knäckebrödhult",
    "email": "",
    "phone": "012345678",
    "shipping": "DHL Servicepoint"
  }
]

Limitations

  • No support for specific API formats or protocols

dhl-autofiller's People

Contributors

jesper72 avatar

Watchers

 avatar

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.