Giter VIP home page Giter VIP logo

electron-browser's Introduction

electron-browser

A browser ui for electron, written in react. To use it in your project, I recommend forking or cloning this repo.

./screenshot.png

Install instructions

To run this code, follow these steps:

git clone https://github.com/pfrazee/electron-browser
cd electron-browser
npm install -d
npm start

-- Plug --

If you're looking for an actively maintained electron-based browser with lots more features, check out Beaker, my followup project.

License

MIT

electron-browser's People

Contributors

pfrazee 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

electron-browser's Issues

Popup (window.open)

From what I see popups (window.open()) are not working. Is this a known issue?

Proxy Support

Hi,

Can we set proxy dynamically in this browser.
Something like

if the url is google.com --> '123.123.123.1':80
if the url is facebook.com --> '222.122.122.2':80

If yes where do i have to set that

Content isn't loaded

When running this project I'm getting a great browser ui, but the webview stays empty, no-matter where I navigate too. Should this work?

2016-11-08 16_17_42-browser html

Windows 8.1
Node.js v6.9.0

JS error after build

when I built the project with the electron-builder module, I can't open it, throws an error:
`./dist/linux-unpacked/electron-browser 1 ⨯
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'app'
Require stack:

  • /home/tenebrius/react/electron-browser/dist/linux-unpacked/resources/app.asar/index.js
  • at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
    at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
    at Module._load (internal/modules/cjs/loader.js:732:27)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Module.require (internal/modules/cjs/loader.js:959:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object. (/home/tenebrius/react/electron-browser/dist/linux-unpacked/resources/app.asar/index.js:1:12)
    at Module._compile (internal/modules/cjs/loader.js:1078:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
    at Module.load (internal/modules/cjs/loader.js:935:32) `

target=_blank not working.

Hi!
Thanks for this great ui!

when i've visited a page via your browser,
it can't open the links that have target=_blank value
is it possible to call "new tab" function when clicking target=_blank links?

i mean trigger self.createTab(e.href) on browser.jsx when link has target=_blank

Thanks a lot!

Postinstall script failing

1119 error Windows_NT 6.1.7601
1120 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-d"
1121 error node v6.11.1
1122 error npm v3.10.10
1123 error code ELIFECYCLE
1124 error [email protected] postinstall: node install.js
1124 error Exit status 1
1125 error Failed at the [email protected] postinstall script 'node install.js'.
1125 error Make sure you have the latest version of node.js and npm installed.
1125 error If you do, this is most likely a problem with the electron-prebuilt package,
1125 error not with npm itself.
1125 error Tell the author that this fails on your system:
1125 error node install.js
1125 error You can get information on how to open an issue for this project with:
1125 error npm bugs electron-prebuilt
1125 error Or if that isn't available, you can get their info via:
1125 error npm owner ls electron-prebuilt
1125 error There is likely additional logging output above.
1126 verbose exit [ 1, true ]

URLs without protocol fetches local file

Sample url: google.com
Current Behaviour: Searches for google.com file from the current directory from which electron-browser is served.
Expected behaviour: Should ideally go to the url

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.