Live data from Hacker News

Show HN: Backtick – A console for bookmarklets and scripts

backtick.io

11–20 of 31 posts

Re: Show HN: Backtick – A console for bookmarklets and scripts

#12

Fantastic. I would never have thought of that. Great execution. Is there a repository of bookmarklets that this could hook into?

The ones you see on the demo page is what comes with Backtick out of the box. I'm constantly adding more bookmarklets to the default list, just tweet at me at @JoelBesada if you want to suggest anything to be added.

Re: Show HN: Backtick – A console for bookmarklets and scripts

#13
post #2

This is a nice idea and the design is elegant. However, I already use Vimium's "b" key command for this, and it comes with so many other features too.

Thanks! Vimium's "b" hotkey is not exactly the same though. Backtick comes with a bunch of bookmarklets already available without you having to save them to your browser first. I'll also keep adding more commands to it as I get suggestions and find more to add. The point is, Backtick allows you to discover new bookmarklets just by searching in the console while Vimium only has those that you've added yourself.

Please add pineapple bookmarklet: http://pineapple.io/discussion/bookmarklet-released

Re: Show HN: Backtick – A console for bookmarklets and scripts

#15
I tried creating an "Add to Pinboard" backtick command:

https://gist.github.com/lox/7312183

The script works fine in Chrome's console, but fails as a backtick script.

Aside from that, icons served from http show mixed content warnings on https pages. Would be good to require icons are either data uris or https.

Re: Show HN: Backtick – A console for bookmarklets and scripts

#16

I'm finding that it swallows the first keystroke after `. So `fontBomb results in ontBomb appearing in the popup. Windows; Chrome 30.0.1599.101

Are you using Vimium, or some other extension that listens for the ` key? If so, you should be able to fix that problem by either rebinding the Backtick hotkey to something else in the settings, or by unbinding the ` key from the given extension.

If you're using Vimium, add "unmap `" to the custom key mappings in the advanced options.

Re: Show HN: Backtick – A console for bookmarklets and scripts

#17
post #15

I tried creating an "Add to Pinboard" backtick command: https://gist.github.com/lox/7312183 The script works fine in Chrome's console, but fails as a backtick script. Aside from that, icons served from http show mixed content warnings on https pages. Would be good to require icons are either data uris or https.

Ah, thanks for reporting. It seems that having comments in a command messes up the execution, that's obviously something I'm going to fix ASAP. For now, just remove the comments and it should work.

You're right about the mixed content thing, I should make sure to use HTTPS urls on all icons. Data URIs would be convenient, but it would make the amount of data that is fetched on first run (to get all default commands) unnecessarily big.

Re: Show HN: Backtick – A console for bookmarklets and scripts

#20
Compatibility and UX qualms aside, this is a really fun little project.

It'd be fun to bake something like this into your app even, which I'm sure you've considered, but it'd make a nice little poweruser/admin tool, especially for those who prefer keyboard over mouse. For instance, I'm picturing Github with their command-bar backing it.

Post reply on HN