Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-2305

Add InAppBrowser.executeScript() / InAppBrowser.insertCSS API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • None
    • None

    Description

      Maybe base it off of:
      http://developer.chrome.com/extensions/tabs.html#method-executeScript
      http://developer.chrome.com/extensions/tabs.html#method-insertCSS

      (we can probably implement insertCSS all in JS by using executeScript)

      var wnd = window.open('local.html', '_blank', 'location=yes');
      wnd.executeScript(

      {runAt:'document_start', file:'extra.js'}

      , function(result) {
      alert(result); // result = (result of last statement).
      });

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            Unassigned Unassigned
            agrieve Andrew Grieve
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: