skandasoft / browser-plus Goto Github PK
View Code? Open in Web Editor NEWBrowser For Atom
License: MIT License
Browser For Atom
License: MIT License
Hello, thank's for this awesome package.
I wanted to know if it is possible to insert some keybindings
like on chrome ?
Thank's in advance for your answers
install navigate package(http://atom.io/packages/navigate) to check the usefulness of Browser-Plus
browser-plus: 0.0.45
atom: 1.0.19
system: ubuntu 64bit
Then I type something into the url textbox, that error comes:
TypeError: Cannot read property 'match' of undefined
at /home/xxx/.atom/packages/browser-plus/lib/browser-plus-view.coffee:68:65
at arrayFilter (/usr/share/atom/resources/app.asar/node_modules/babel-core/node_modules/lodash/index.js:1384:13)
at Function.filter (/usr/share/atom/resources/app.asar/node_modules/babel-core/node_modules/lodash/index.js:6309:14)
at [object Object].source (/home/xxx/.atom/packages/browser-plus/lib/browser-plus-view.coffee:67:17)
at [object Object].$.widget._search (/home/xxx/.atom/packages/browser-plus/node_modules/jquery-ui/autocomplete.js:422:8)
at [object Object]._search (/home/xxx/.atom/packages/browser-plus/node_modules/jquery-ui/widget.js:98:25)
at [object Object].$.widget.search (/home/xxx/.atom/packages/browser-plus/node_modules/jquery-ui/autocomplete.js:414:15)
at [object Object].search (/home/xxx/.atom/packages/browser-plus/node_modules/jquery-ui/widget.js:98:25)
at [object Object].<anonymous> (/home/xxx/.atom/packages/browser-plus/node_modules/jquery-ui/autocomplete.js:395:10)
at handlerProxy (/home/xxx/.atom/packages/browser-plus/node_modules/jquery-ui/widget.js:427:6)
[Enter steps to reproduce below:]
Browser-plus failed to load because of following error (top right red box) :
Cannot find module 'theorist'
Hide Stack Trace
Error: Cannot find module 'theorist'
at Module._resolveFilename (module.js:328:15)
at Function.Module._resolveFilename (/Users/bu2/lab/atom/myatom/bin/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at Object.<anonymous> (/Users/bu2/.atom/packages/browser-plus/lib/browser-plus-model.coffee:2:11)
at Object.<anonymous> (/Users/bu2/.atom/packages/browser-plus/lib/browser-plus-model.coffee:1:1)
at Module._compile (module.js:452:26)
at Object.defineProperty.value [as .coffee] (/Users/bu2/lab/atom/myatom/bin/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
at Module.load (module.js:347:32)
When looking at $ git log
, theorist seems to be deprecated and remove from Atom dependencies since v1.0.
Atom Version: 1.0.10-ecd9b22
System: Mac OS X 10.10.5
Thrown From: browser-plus package, v0.0.34
Failed to load the browser-plus package
At Cannot find module 'theorist'
Error: Cannot find module 'theorist'
at Module._resolveFilename (module.js:328:15)
at Function.Module._resolveFilename (/Users/bu2/lab/atom/myatom/bin/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at Object.<anonymous> (/Users/bu2/.atom/packages/browser-plus/lib/browser-plus-model.coffee:2:11)
at Object.<anonymous> (/Users/bu2/.atom/packages/browser-plus/lib/browser-plus-model.coffee:1:1)
at Module._compile (module.js:452:26)
at Object.defineProperty.value [as .coffee] (/Users/bu2/lab/atom/myatom/bin/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
at Module.load (module.js:347:32)
$ clear && bin/Atom.app/Contents/MacOS/Atom --executed-from="$(pwd)" --pid=$$ --dev
{
"core": {
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
]
},
"browser-plus": {}
}
# User
autocomplete-clang, v0.8.7
autocomplete-ruby, v0.1.0
coffee-compile, v0.18.0
file-icons, v1.6.9
imdone-atom, vundefined
language-haml, v0.21.0
linter, v1.5.0
linter-coffeelint, v1.0.2
linter-ruby, v1.0.2
minimap, v4.13.2
node-debugger, v1.1.8
# Dev
atom-space-pen-views, v2.1.0
browser-plus, v0.0.34
coffee-navigator, v0.1.0
language-ada, v1.1.0
space-pen, v5.1.1
tree-view, v0.186.0
The requireJs global variable "require" is overwritten, my website is not working.
I changed the repo and atom.io readme for web-browser package to say it is not supported any more and use browser-plus instead. I'd be happy to transfer the ownership of web-browser or do anything else if desired.
This means browser-plus better be supported well or I'll be pissed. (grin)
atom 196
ubuntu 12.04.5
apm 0.164.0
npm 2.5.1
node 0.10.35
python 2.7.3
git 1.7.9.5
npm ERR! Linux 3.14.0
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/mark/.atom/.apm/.apmrc" "--userconfig" "/home/mark/.atom/.apmrc" "install" "/tmp/d-11543-13509-13wejrl/package.tgz" "--target=0.22.0" "--arch=x64"
npm ERR! node v0.10.35
npm ERR! npm v2.5.1
npm ERR! code ETARGET
npm ERR! notarget No compatible version found: theorist@'>=1.3.9 <1.4.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.7.0","0.8.0","0.9.0","0.10.0","0.11.0","0.12.0","0.13.0","0.14.0","1.0.0","1.0.1","1.0.2"]
npm ERR! notarget
Http Authentication not working.
If you would like your pane item with class HTMLEditor
to support modified behavior, please implement a ::onDidChangeModified()
method. If not, ignore this message. ::on
methods for items are no longer supported.
wrappedOpener (/usr/share/atom/resources/app.asar/src/workspace.js:523:18)
Workspace.openURIInPane (/usr/share/atom/resources/app.asar/src/workspace.js:433:22)
Workspace.open (/usr/share/atom/resources/app.asar/src/workspace.js:366:19)
Object.preview (/home/otto/.atom/packages/preview-plus/lib/preview-plus.coffee:209:21)
Object.toggle (/home/otto/.atom/packages/preview-plus/lib/preview-plus.coffee:152:9)
atom-workspace.atom.commands.add.preview-plus:preview (/home/otto/.atom/packages/preview-plus/lib/preview-plus.coffee:81:68)
nice job on the package, but nodeintegration is available by default to the web. You should have a different mode of tab opening for that, as having nodeintegration on poses a huge security risk. (Albeit one that probably hasn't been exploited in the wild.. yet)
that's not so bueno..
can't paste text into location bar
I don't know whether it's a default behavior or not, but I'm not able to clink any of the links on a web page. Any of the menu buttons, such as live, preview, select etc.. are disabled, but even playing around with them nothing change. I've inspected the keymap file (browser-plus.cson) and the click behavior is 'native!' . Is there anything I can do ?
[Enter steps to reproduce below:]
Atom Version: 0.199.0
System: Mac OS X 10.10.3
Thrown From: browser-plus package, v0.0.15
Uncaught ReferenceError: path is not defined
At /Users/jeff/.atom/packages/browser-plus/lib/browser-plus.coffee:31
ReferenceError: path is not defined
at /Users/jeff/.atom/packages/browser-plus/lib/browser-plus.coffee:31:12
at wrappedOpener (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:511:18)
at Workspace.module.exports.Workspace.openURIInPane (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:433:22)
at Workspace.module.exports.Workspace.open (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:366:19)
at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:47:25)
at emitTwo (events.js:87:13)
at EventEmitter.emit (events.js:169:7)
{
"core": {}
}
# User
browser-plus, v0.0.15
preview-plus, v1.1.34
# Dev
No dev packages
Clean atom install, installed preview-plus and browser-plus... tried to open simple HTML file.
Is it able to sync the browser with code changes?
For example on an AngularJs app?
well, the title says it all... is this possible or will it be at some point? thanks
Standard text field operations (clipboard, select all) do not work in the location bar.
Versions:
Atom 1.1.0
browser-plus 0.0.53
OS X 10.10.5
It doesn't seem like JavaScript itself is broken, because the result shows up properly when I first open the open-browser-plus. However, when I click on live, my JavaScript disappears.
Currently when you [command] + [click] on a link on a webpage within the browser-plus a new tab gets created and your view changes to the newly created tab. Perhaps it would be better if [command] + [click] simply opened a new tab in the background just as Google Chrome and many other browsers do.
Atom Version: 1.0.19
System: Deepin 2014.3
Thrown From: browser-plus package, v0.0.45
Uncaught TypeError: Cannot read property 'slice' of undefined
At /media/z/data/home/z/.atom/packages/browser-plus/lib/fav-view.coffee:14
TypeError: Cannot read property 'slice' of undefined
at FavView.viewForItem (/media/z/data/home/z/.atom/packages/browser-plus/lib/fav-view.coffee:14:89)
at FavView.module.exports.SelectListView.populateList (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:206:29)
at FavView.module.exports.SelectListView.setItems (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:167:12)
at FavView.initialize (/media/z/data/home/z/.atom/packages/browser-plus/lib/fav-view.coffee:8:6)
at FavView.View (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25)
at FavView.SelectListView (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:18:51)
at new FavView (/media/z/data/home/z/.atom/packages/browser-plus/lib/fav-view.coffee:5:3)
at HTMLSpanElement.<anonymous> (/media/z/data/home/z/.atom/packages/browser-plus/lib/browser-plus-view.coffee:330:13)
at HTMLSpanElement.jQuery.event.dispatch (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLSpanElement.elemData.handle (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)
Uncaught TypeError: Cannot read property 'match' of undefined
At /media/z/data/home/z/.atom/packages/browser-plus/lib/browser-plus-view.coffee:68
TypeError: Cannot read property 'match' of undefined
at /media/z/data/home/z/.atom/packages/browser-plus/lib/browser-plus-view.coffee:68:65
at arrayFilter (/usr/share/atom/resources/app.asar/node_modules/babel-core/node_modules/lodash/index.js:1384:13)
at Function.filter (/usr/share/atom/resources/app.asar/node_modules/babel-core/node_modules/lodash/index.js:6309:14)
at [object Object].source (/media/z/data/home/z/.atom/packages/browser-plus/lib/browser-plus-view.coffee:67:17)
at [object Object].$.widget._search (/media/z/data/home/z/.atom/packages/browser-plus/node_modules/jquery-ui/autocomplete.js:422:8)
at [object Object]._search (/media/z/data/home/z/.atom/packages/browser-plus/node_modules/jquery-ui/widget.js:98:25)
at [object Object].$.widget.search (/media/z/data/home/z/.atom/packages/browser-plus/node_modules/jquery-ui/autocomplete.js:414:15)
at [object Object].search (/media/z/data/home/z/.atom/packages/browser-plus/node_modules/jquery-ui/widget.js:98:25)
at [object Object].<anonymous> (/media/z/data/home/z/.atom/packages/browser-plus/node_modules/jquery-ui/autocomplete.js:395:10)
at handlerProxy (/media/z/data/home/z/.atom/packages/browser-plus/node_modules/jquery-ui/widget.js:427:6)
-1:30.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)
2x -1:23.8.0 core:move-down (atom-text-editor.editor.mini.is-focused)
-1:23.2.0 core:move-up (atom-text-editor.editor.mini.is-focused)
-1:23 core:confirm (atom-text-editor.editor.mini.is-focused)
-1:23 browser-plus:open (atom-text-editor.editor)
2x -0:49.8.0 core:cancel (input#uri.native-key-bindings.ui-autocomplete-input.ui-autocomplete-loading)
2x -0:25.2.0 core:close (webview.native-key-bindings)
-0:03.9.0 browser-plus:open (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"linter",
"build"
],
"ignoredNames": [
"*.pyc",
"venv"
],
"autoHideMenuBar": true
},
"browser-plus": {}
}
# User
AtomicChar, v0.3.8
atom-ternjs, v0.8.4
autocomplete-modules, v1.3.1
autocomplete-python, v0.9.0
browser-plus, v0.0.45
color-picker, v2.0.13
emmet, v2.3.13
file-icons, v1.6.11
jshint, v1.8.1
language-babel, v0.15.10
linter-scss-lint, v2.3.0
minimap, v4.15.0
minimap-autohide, v0.10.1
node-debugger, v1.1.9
package-sync, v0.2.0
pigments, v0.18.1
project-manager, v2.6.5
python-tools, v0.6.5
react, v0.12.10
tasks, v2.4.0
terminal-plus, v0.12.3
toggle-slash, v1.0.13
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 0.200.0
System: Mac OS X 10.10.4
Thrown From: browser-plus package, v0.0.22
Failed to activate the browser-plus package
At ENOENT: no such file or directory, open '/Users/koen/.atom/dev/packages/browser-plus/resources/browser-plus-client.js'
Error: ENOENT: no such file or directory, open '/Users/koen/.atom/dev/packages/browser-plus/resources/browser-plus-client.js'
at Error (native)
at Object.fs.openSync (fs.js:544:18)
at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:118:20)
at Object.fs.readFileSync (fs.js:396:15)
at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:369:29)
at Object.module.exports.BrowserPlus.activate (/Users/koen/.atom/packages/browser-plus/lib/browser-plus.coffee:37:20)
at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:238:19)
at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:219:30
at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)
at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:211:14)
{
"core": {
"disabledPackages": [
"wrap-guide",
"open-on-github",
"deprecation-cop",
"terminal-panel"
],
"themes": [
"isotope-ui",
"duotone-light-syntax"
]
}
}
# User
Sublime-Style-Column-Selection, v1.2.3
browser-plus, v0.0.22
color-picker, v1.7.0
duotone-light-syntax, v0.2.0
isotope-ui, v2.1.5
jslint, v1.3.3
language-alan, v0.0.0
minimap, v4.9.0
typewriter, v0.3.3
# Dev
No dev packages
I have browser-plus preview is working fine but developer tools console is not showing any output from console.log commands in my application. Is there anything needs to be done to open dev console in preview context? Thanks.
When setting Home page in settings, using Ctrl-Opt-o, the address bar has http://http://localhost:3000. If I leave the prefix out in settings, the browser tries to display a local file.
This seems like it should be quite obvious/trivial, but I can't seem to get it to work...
http://localhost:8080 seems to bring up a google search
I've tried to lounch browser, and when i reloaded nothing happend, except showing this error.
Atom Version: 1.0.19
System: Linux Mint
Thrown From: browser-plus package, v0.0.42
Uncaught TypeError: jQ(...).autocomplete is not a function
At /home/wojtek/.atom/packages/browser-plus/lib/browser-plus-view.coffee:106
TypeError: jQ(...).autocomplete is not a function
at BrowserPlusView.module.exports.BrowserPlusView.initialize (/home/wojtek/.atom/packages/browser-plus/lib/browser-plus-view.coffee:106:16)
at BrowserPlusView.View (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25)
at new BrowserPlusView (/home/wojtek/.atom/packages/browser-plus/lib/browser-plus-view.coffee:16:5)
at ViewRegistry.module.exports.ViewRegistry.createView (/usr/share/atom/resources/app.asar/src/view-registry.js:93:16)
at ViewRegistry.module.exports.ViewRegistry.getView (/usr/share/atom/resources/app.asar/src/view-registry.js:65:21)
at atom-pane.PaneElement.getActiveView (/usr/share/atom/resources/app.asar/src/pane-element.js:210:25)
at atom-pane.<anonymous> (/usr/share/atom/resources/app.asar/src/pane-element.js:60:55)
-5:15.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-5:00.2.0 core:paste (atom-text-editor.editor.is-focused)
3x -4:59.6.0 core:save (atom-text-editor.editor.is-focused)
2x -3:18.5.0 fuzzy-finder:toggle-git-status-finder (atom-text-editor.editor.is-focused)
-2:19.5.0 settings-view:open (atom-text-editor.editor.is-focused)
-2:09.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-1:59.4.0 core:select-all (atom-text-editor.editor.mini.is-focused)
-1:59 core:paste (atom-text-editor.editor.mini.is-focused)
-1:58.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
4x -0:18.9.0 tree-view:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:17.1.0 command-palette:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
5x -0:11.6.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:07.2.0 core:move-down (atom-text-editor.editor.mini.is-focused)
-0:06.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:06.6.0 browser-plus:open (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:00.6.0 symbols-view:toggle-file-symbols (atom-pane.pane.active)
{
"core": {
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
]
}
}
# User
browser-plus, v0.0.42
minimap, v4.15.0
# Dev
No dev packages
I've been experiencing problems when I attach jQuery to my projects.
The console report is the '$' isn't defined.
Could this be used standalone? As I'm looking to build a really simple web browser for another project in Electron (atom-shell).
It would be cool to have pointerlock enabled by adding the allow-pointer-lock attribute to the webview.
Currently apps get run in a contaminated context. Global variables such as "module" and "jQuery" which don't exist in Chrome, are within scope.
This is especially a problem for UMD modules inside apps which expect global exports. Because UMD detects that module
is defined it will export CommonJS instead of the expected global behavior.
Is it possible to have an option to open DevTools docked in an Atom panel?
First of all, thanks for the great package!
I love Live Preview! However, it always scrolls to the top of the page after refreshing.
It is possible to make Live Preview remember my scroll position? Thanks.
disable atom-terminal-panel if clicks in the browser don't work..until this isssue is resolved in https://github.com/thedaniel/terminal-panel/issues/72
[Enter steps to reproduce below:]
Atom Version: 1.0.19
System: Mac OS X 10.11
Thrown From: browser-plus package, v0.0.35
Uncaught TypeError: Cannot read property 'getUri' of undefined
At /Users/username/.atom/packages/browser-plus/lib/browser-plus.coffee:83
TypeError: Cannot read property 'getUri' of undefined
at Object.module.exports.BrowserPlus.open (/Users/username/.atom/packages/browser-plus/lib/browser-plus.coffee:83:41)
at atom-workspace.subscriptions.add.atom.commands.add.browser-plus:open (/Users/username/.atom/packages/browser-plus/lib/browser-plus.coffee:76:85)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:245:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:245:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:524:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:184:20)
2x -3:43.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-3:37.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-2:25.2.0 project-manager:list-projects (button.btn.btn-default.icon.icon-link-external)
-2:23.3.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-2:23.3.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-2:19.2.0 command-palette:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-2:14.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-2:14.6.0 browser-plus:open (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-0:36.9.0 command-palette:toggle (div.settings-view.pane-item)
2x -0:33 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:31.5.0 core:move-down (atom-text-editor.editor.mini.is-focused)
-0:31.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:31.2.0 browser-plus:history (div.settings-view.pane-item)
-0:03.3.0 command-palette:toggle (atom-pane.pane.active)
-0:00.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:00.7.0 browser-plus:open (atom-pane.pane.active)
{
"core": {}
}
# User
aligner, v0.17.0
atom-ternjs, v0.8.1
autoclose-html, v0.19.0
browser-plus, v0.0.35
docblockr, v0.7.3
highlight-line, v0.11.0
highlight-selected, v0.10.1
linter, v1.8.1
linter-jshint, v1.2.1
minimap, v4.13.4
project-manager, v2.6.1
save-session, v0.15.7
vim-mode, v0.60.0
vim-surround, v0.8.0
# Dev
No dev packages
Happens as soon as browser-plus
is opened, instead of browser pane being opened. browser-plus:history
works just fine, opening a perfectly usable browser pane. This is a near-clone of #36, which was closed for no apparent reason (besides no response).
Atom Version: 1.0.19
System: Mac OS X 10.11.1
Thrown From: browser-plus package, v0.0.38
Uncaught TypeError: Cannot read property 'getUri' of undefined
At /Users/Ronathan/.atom/packages/browser-plus/lib/browser-plus.coffee:83
TypeError: Cannot read property 'getUri' of undefined
at Object.module.exports.BrowserPlus.open (/Users/Ronathan/.atom/packages/browser-plus/lib/browser-plus.coffee:83:5)
at atom-workspace.subscriptions.add.atom.commands.add.browser-plus:open (/Users/Ronathan/.atom/packages/browser-plus/lib/browser-plus.coffee:78:20)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:245:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:524:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:184:20)
-0:02.2.0 browser-plus:open (atom-workspace.workspace.theme-base16-tomorrow-dark-theme.theme-atom-dark-ui.scrollbars-visible-when-scrolling)
{
"core": {
"projectHome": "/Users/Ronathan/Documents/Code/GitHub",
"themes": [
"atom-dark-ui",
"base16-tomorrow-dark-theme"
],
"disabledPackages": [
"term"
]
},
"browser-plus": {
"homepage": "https://duckduckgo.com",
"node": true
}
}
# User
browser-plus, v0.0.38
color-picker, v2.0.13
file-icons, v1.6.11
markdown-preview-plus, v2.2.2
minimap, v4.13.4
pigments, v0.18.0
# Dev
No dev packages
If I attempt to connect to local address (http://localhost:3000), the request is always directed to google. http://127.0.0.1:3000 works (although gives a black pane when I refresh).
Platform: OSX 10.10.4
Hi.
For some reason the developer tools arent working.
Thank you for the attention.
Many sites can't be properly loaded inside browser-plus, since order of loading javascript is unusual.
For example:
Atom Version: 1.0.2
System: Mac OS X 10.10.4
Package: browser-plus package, v0.0.29
does anybody use the navigate package to check the f1 help in the browser ..install navigate package(http://atom.io/packages/navigate) to check the usefulness of Browser-Plus
Please correct me if I'm wrong, but doesn't this https://github.com/skandasoft/browser-plus/blob/v0.0.30/lib/browser-plus-view.coffee#L42 make this Atom package a security nightmare? It's probably not a huge concern right now given that browser-plus
adoption compared to other browsers is minimal. But, all it would take is for some rogue webpage to require('fs')
.
It'd seem that the prudent solution would be to remove nodeintegration
. Or at minimum, put a note in the README.
It seems to work fine on my end, just wondering
Updated to version 37, and it stopped working.
Step 1: Install browser-plus or run it
Got this error:
Atom Version: 1.0.19
System: Linux Mint
Thrown From: browser-plus package, v0.0.37
Failed to load the browser-plus package
At Cannot find module './eval'
Error: Cannot find module './eval'
at Module._resolveFilename (module.js:334:15)
at Function.Module._resolveFilename (/usr/share/atom/resources/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:284:25)
at Module.require (module.js:363:17)
at require (module.js:382:17)
at Object.<anonymous> (/home/gratin/.atom/packages/browser-plus/lib/browser-plus-view.coffee:3:12)
at Object.<anonymous> (/home/gratin/.atom/packages/browser-plus/lib/browser-plus-view.coffee:1:1)
at Module._compile (module.js:428:26)
at Object.defineProperty.value [as .coffee] (/usr/share/atom/resources/app.asar/src/compile-cache.js:169:21)
at Module.load (module.js:353:32)
at Function.Module._load (module.js:308:12)
at Module.require (module.js:363:17)
at require (module.js:382:17)
at Object.<anonymous> (/home/gratin/.atom/packages/browser-plus/lib/browser-plus.coffee:3:19)
at Object.<anonymous> (/home/gratin/.atom/packages/browser-plus/lib/browser-plus.coffee:1:1)
at Module._compile (module.js:428:26)
at Object.defineProperty.value [as .coffee] (/usr/share/atom/resources/app.asar/src/compile-cache.js:169:21)
at Module.load (module.js:353:32)
at Function.Module._load (module.js:308:12)
at Module.require (module.js:363:17)
at require (module.js:382:17)
at Package.module.exports.Package.requireMainModule (/usr/share/atom/resources/app.asar/src/package.js:761:34)
at /usr/share/atom/resources/app.asar/src/package.js:192:28
at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:169:15)
at Package.module.exports.Package.load (/usr/share/atom/resources/app.asar/src/package.js:183:12)
at PackageManager.module.exports.PackageManager.loadPackage (/usr/share/atom/resources/app.asar/src/package-manager.js:405:14)
at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:485:30)
at /usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-manager.js:371:29
at exit (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-manager.js:60:16)
at triggerExitCallback (/usr/share/atom/resources/app.asar/src/buffered-process.js:213:47)
at /usr/share/atom/resources/app.asar/src/buffered-process.js:220:18
at Socket.<anonymous> (/usr/share/atom/resources/app.asar/src/buffered-process.js:98:18)
at emitOne (events.js:82:20)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:467:12)
2x -1:40.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
{
"core": {
"themes": [
"atom-dark-ui",
"one-dark-syntax"
],
"destroyEmptyPanes": false
},
"browser-plus": {}
}
# User
browser-plus, v0.0.37
color-picker, v2.0.13
highlight-line, v0.11.0
language-html5-subtlegradient, v0.1.0
# Dev
No dev packages
Hey, is it possible to dock dev tools to bottom?
[Enter steps to reproduce below:]
Atom Version: 0.201.0
System: Mac OS X 10.10.3
Thrown From: browser-plus package, v0.0.22
Uncaught TypeError: Cannot read property 'isWaitingForResponse' of undefined
At /Applications/Atom.app/Contents/Resources/atom.asar/renderer/lib/web-view/web-view.js:284
TypeError: Cannot read property 'isWaitingForResponse' of undefined
at webview.isWaitingForResponse (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/lib/web-view/web-view.js:284:77)
at /Users/Lucas-Arkana/.atom/packages/browser-plus/lib/browser-plus-view.coffee:280:25
at process._tickCallback (node.js:357:13)
-8:43.4.0 vim-mode:move-up (atom-text-editor.editor.vim-mode.is-focused.command-mode)
-8:43.2.0 core:save (atom-text-editor.editor.vim-mode.is-focused.command-mode)
2x -8:42.8.0 vim-mode:move-up (atom-text-editor.editor.vim-mode.is-focused.command-mode)
-8:42.4.0 command-palette:toggle (atom-text-editor.editor.vim-mode.is-focused.command-mode)
-8:39 core:confirm (atom-text-editor.editor.mini.is-focused)
-8:39 markdown-preview:toggle (atom-text-editor.editor.vim-mode.command-mode)
41x -8:37.9.0 vim-mode:move-down (atom-text-editor.editor.vim-mode.command-mode.is-focused)
-8:33.4.0 core:close (atom-text-editor.editor.vim-mode.command-mode.is-focused)
-8:31.9.0 command-palette:toggle (atom-text-editor.editor.vim-mode.command-mode.is-focused)
5x -8:25.9.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-8:23.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-8:23.7.0 browser-plus:open (atom-text-editor.editor.vim-mode.command-mode)
2x -2:22 core:cancel (div.markdown-preview.native-key-bindings)
-1:04.6.0 core:close (atom-pane.pane.active)
-0:08.6.0 core:cancel (atom-pane.pane.active)
3x -0:04.9.0 core:close (webview.native-key-bindings)
{
"core": {},
"browser-plus": {}
}
# User
browser-plus, v0.0.22
script, v2.23.0
term2, v0.9.8
vim-mode, v0.49.0
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 1.0.19
System: Mac OS X 10.11
Thrown From: browser-plus package, v0.0.52
Uncaught TypeError: Cannot read property 'executeJavaScript' of undefined
At /Applications/Atom.app/Contents/Resources/atom.asar/renderer/lib/web-view/web-view.js:290
TypeError: Cannot read property 'executeJavaScript' of undefined
at webview.executeJavaScript (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/lib/web-view/web-view.js:290:76)
at /Users/baboucha/.atom/packages/browser-plus/lib/browser-plus-view.coffee:200:32
-6:07.7.0 browser-plus:open (div.settings-view.pane-item)
-6:06.1.0 core:close (atom-pane.pane.active)
-5:56.4.0 core:cancel (table.package-keymap-table.table.native-key-bindings.text)
-0:18.1.0 editor:duplicate-lines (table.native-key-bindings.table.text)
-0:10.1.0 core:paste (atom-text-editor.editor.mini.is-focused)
-0:09.4.0 core:undo (atom-text-editor.editor.mini.is-focused)
-0:02.6.0 browser-plus:open (div.settings-view.pane-item)
-0:01.7.0 core:close (atom-pane.pane.active)
{
"core": {
"disabledPackages": [
"linter-jsxhint",
"atom-leap",
"atom-touch-events",
"colors",
"color-picker",
"css-snippets",
"debugger",
"flatten-json",
"json-colorer",
"language-arduino",
"linter-eslint",
"linter-less",
"merge-conflicts",
"sass-watch",
"turbo-javascript",
"atom-jsx-transform",
"dash",
"language-ejs",
"language-javascript-jsx",
"react-snippets",
"seeing-is-believing",
"react",
"linter",
"jshint",
"language-babel",
"keybinding-resolver"
],
"themes": [
"atom-light-ui",
"atom-light-syntax"
]
},
"browser-plus": {
"node": true
}
}
# User
browser-plus, v0.0.52
# Dev
No dev packages
Perhaps the changelog could be updated at some point? I check the changelog of every package I update to see what's new, but this one is still from the first commit.
The following snippet results in a "Uncaught AssertionError: path must be a string" (shown in the dev console)
returned from an app running locally on url: http://127.0.0.1:3000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Application</title>
<script src="/static/js/bower_components/requirejs/require.js"></script>
<script>
// Configure the AMD module loader
requirejs.config({
// The path where your JavaScripts are located
baseUrl: '/static/js/',
// Specify the paths of vendor libraries
paths: {
jquery: 'bower_components/jquery/dist/jquery',
underscore: 'bower_components/underscore/underscore',
backbone: 'bower_components/backbone/backbone'
},
require(['jquery', 'backbone'], function($, Backbone) {
$("body").append("hello body world")
});
</script>
</head>
<body></body>
</html>
like select, history and Favoritize...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.