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

Add InAppBrowser.executeScript() / InAppBrowser.insertCSS API

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: