The readme follows …
A web browser that runs seamlessly in the Atom editor
This is a web browser tightly integrated into the Atom editor. The web pages appear in the normal editor tabs. The pages are fully functional with scripting and linking. A browser toolbar appears at the top of the Atom window to allow simple webpage navigation.
The browser is quite useful for testing a web page inside the same programming editor being used for development. Splitting panes allow code to be seen next to the web page.
- Install with
apm install web-browser
web-browser:toggle) and a toolbar will appear above the tabs
- Enter a url and press enter
- To later create a new tab use ctrl-enter instead
ctrl-alt-Bagain to refocus input
ctrl-alt-Bagain to close the toolbar
- Click on the globe in the toolbar to close the toolbar (secret feature)
Auto-reload is a feature that works much like a live-reload but is simpler and requires no setup. The last button on the left (after the reload button) is the auto-reload button.
This button toggles the auto-reload feature for the visible webpage. When the feature is enabled the page’s tab shows a red dashed box around the page’s favicon. You can toggle this feature on multiple pages at once.
This activates a simple live reload feature. Whenever any source file in any tab is saved the web page is auto-reloaded. There is a delay before the reload that can be set in settings. The default is one second. This delay gives the system time to process the file such as compiling coffeescript.
command-toolbar supports buttons to save webpages and open them at any time with a single click. This means that it can act as a “favorites” toolbar for this web-browser package.
This web-browser package listens for requests to open URLs. This is anything that starts with
https://. To open a webpage from code use the
atom.workspace.open command with such a URL.
Copyright Mark Hahn by MIT license