Git Product home page Git Product logo

crx2app's Introduction

crx2app A Barrier Proxy giving Web app limited access to Chrome Browser extensions.

// Google BSD license http://code.google.com/google_bsd_license.html
// Copyright 2011 Google Inc. [email protected]

Install
  Use Chrome Browser version 19 or larger (dev channel as of Jan 2012)
  
  Clone this reprository
  
  Use URL chrome://extensions, 
    set developer mode, 
    load unpacked extension, 
    navigate to the clone,
    find the subdirectory /extension
    open it to select this folder as the unpacked extension
    ==> the crx2app extension should be loaded
    
  Open chrome://extensions 
    Find extension "crx2app"
    Click "options" link, 
      ==> You should see a yellow page
    add the URL of your Web debugger.
  
  Testing: 
    ATopWI is Chrome DevTools (Web Inspector) running in an iframe on crx2app:
      https://github.com/johnjbarton/atopwi
    Clone the project
    Open the as a web page: atopwi.html. This will run a simple test by default
       (Uses the slow github server...)
    Put the URL for that page into the crx2app options page, set the name to "ATopWI"
    From chrome://extensions reload crx2app (to rebuild the context menu)
    Use the context menu item to open the test.
  
  
Using Orion
  If you are using Orion, your clone will have a URL like 
    http://orionhub.org/edit/edit.html#/file/PQ/test/index.html
    open http://orionhub.org/file/PQ/test/index.html
 
Directories
  crxEnd/ chrome side of proxy, use the chromeIframe.html as serc in your web page
  appEnd/ app side of proxy, include these files in your web page
  rpc/ marshalling/dispatch code for appEnd use
  lib/ q.js and require.js used in rpc/ and demos
  test/ demo app
  

crx2app's People

Contributors

johnjbarton avatar

Stargazers

 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

crx2app's Issues

Error: Content Security Policy

I followed the readme.txt and got to the yellow page. There I got:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:".

Any hints to what to do?

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.