Hacker News new | ask | show | jobs
by MrOrelliOReilly 4605 days ago
I seriously love this and am already making some commands for personal use :)

However is there currently a way to pass parameters to a command? Right now I'm using window.prompt() to get user input. It'd be nice if I could enter something like 'mycommand:parameter1,parameter2'. Maybe an excuse to fork the repo...

Great work though!

EDIT I had only been using the extension on backtick.io before, but when I use it on other pages the console does not appear. This appears to be a problem with the CSS - when I inspect element on the page I can see that the HTML has rendered. By default opacity is set to 0 on the #console div - setting it to 1 fixes the problem.

1 comments

Adding parameters to commands is something I've got planned for a future release, just need to figure out an elegant way to do that.

Have you updated to the latest version of Chrome? I have never run into the problem you're describing.

I'm having a similar problem, except when I'm pressing backtick nothing happens at all, the __backtick__ div stays empty. similarly, it works fine on the backtick website Chrome 29.0.1547.57 on arch linux.

EDIT: in the interests of clarity, pressing the backtick the first time injects an empty __backtick__ div into the page nothing further happens.

EDIT: Fixed with update to latest chrome. Thanks for the extension, seems great.

Updating to the latest version of chrome fixed this for me as well! Obviously should have been the first thing I tried