Giter Site home page Giter Site logo

autofill-chrome-extension's People

Contributors

akkunchoi avatar davidhq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autofill-chrome-extension's Issues

Autofill after document ready

Hi,

is it possible to autofill fields after document ready?

I tried to use this code in run.js

document.onreadystatechange = function () {
  if (document.readyState == 'complete') {
      // optionsで保存したlocalStorageにアクセス
      chrome.extension.sendRequest({
        "action": "getOptions",
        "args": []
      }, function(response){
        var queries = {}
        for (var k in response){
          if (k.match(/^(query|url|value)-(\d+)/)){
            var type = RegExp.$1;
            var id = RegExp.$2;
            queries[id] = queries[id] || {}
            queries[id][type] = response[k];
          }
        };
        for (id in queries){
          var q = queries[id]
          if (document.location.href.match(new RegExp(q['url']))){
            $(q['query']).val(q['value']);
          }
        }
      });
  }
}​

But Chrome reports Uncaught SyntaxError: Unexpected token ILLEGAL on the last line. I tried minimal example without your original code and it's the same. Maybe Chrome doesn't allow such handlers in the run.js script?

How to configure this autocomplete

Hello,

I have some fields like

<input name="coloredvariables[Color][values][Cardinal][color]" type="text" class="wcvaattributecolorselect wp-color-picker" value="grey" data-default-color="#ffffff" style="display: block;">


<input name="coloredvariables[Color][values][Charcoal][color]" type="text" class="wcvaattributecolorselect wp-color-picker" value="grey" data-default-color="#ffffff" style="display: block;">

How can i configure the autofill for this?

Dropdown

Can it be used for selects? Not found

How to Add New Fields

Hi

I am willing to customize this extension as per my need I am willing to achieve following task

  1. add new fields like Descriptions,Username etc to Auto Fill Box- How can I achieve same
  2. I am willing avoid use of RegX to find element, because I have element names,element ID, of all the web site which I am willing to auto fill

Your help is greatly appreciated

Thanks

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.