Show HN: Backtick – A console for bookmarklets and scripts
21–30 of 31 posts
Re: Show HN: Backtick – A console for bookmarklets and scripts
#22However 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.
Re: Show HN: Backtick – A console for bookmarklets and scripts
#23I 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 o…
Have you updated to the latest version of Chrome? I have never run into the problem you're describing.
Re: Show HN: Backtick – A console for bookmarklets and scripts
#24Re: Show HN: Backtick – A console for bookmarklets and scripts
#25Any chance of this coming to Safari too?
Re: Show HN: Backtick – A console for bookmarklets and scripts
#26I 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 o…
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.
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.
Re: Show HN: Backtick – A console for bookmarklets and scripts
#27Re: Show HN: Backtick – A console for bookmarklets and scripts
#28Re: Show HN: Backtick – A console for bookmarklets and scripts
#29Re: Show HN: Backtick – A console for bookmarklets and scripts
#30Earlier quoted context omitted.
I was hoping the same. I was nearly giddy with excitement, then I tried searching... no dice... re-read the description... ah. I might try making this a reality. It'd be incredibly useful.
I'm sorry to let you down, but what you're describing is not what I have visioned for this. But hey, if you're going to create this on your own, the source code for Backtick is available on GitHub ( https://github.com/JoelBesada/Backtick ) if there's anything you need to know!