Stephen Blott

Results 57 comments of Stephen Blott

Could it be a firewall issue? With the server running, can you telnet to its port... telnet localhost 7442

Something like this should do the trick... ```Coffeescript chromix = require("chromix-too")().chromix url = process.argv[2] chromix "chrome.tabs.query", {}, {}, (tabs) -> tabs.sort (a,b) -> a.index - b.index tab = tabs[0] chromix...

@j20d ... I see now that your question was slightly different. Here's the script for what you want to do... ```Coffeescript chromix = require("chromix-too")().chromix url = process.argv[2] chromix "chrome.tabs.query", {},...

No; not currently. The filtering is done [here](https://github.com/smblott-github/chromix-too/blob/master/client.coffee#L46), if you're interested in adding something.

Thanks, @alxppp. You're right. We do need to detect the end of the data correctly. An alternative ~~better~~ hack would be to try JSON-parsing the data.

See [here](https://developer.chrome.com/extensions/tabs). ![snapshot](https://cloud.githubusercontent.com/assets/2641335/25805082/3c7c50ac-33f6-11e7-8e54-c396936da645.png) PR welcome! Or, just use the [module API](https://github.com/smblott-github/chromix-too#usage-as-a-module) and roll your own.

> not sure what you mean by that. I think there's some magic in `windows.update` that needs to be added.

`chromix-too` runs only on the background page, at the moment. It wouldn't take too much plumbing to get commands to the content pages too. Basically, you'd use the same technique...

If you buy the suggestion above, it would be natural to also have `notWithinEpsillon` and `notWithinFactor`.

This is reasonable proposal, and we should entertain the idea. However, it needs to be fleshed out a bit. What Vimium does well is modes and key bindings. And those...