News for hackers. Stuff that matters.
Re:Show HN: Backtick – A console for bookmarklets and scripts by lox on Monday November 04, 2013 @08:13PM (#6672476)
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 by JoelBesada on Monday November 04, 2013 @08:52PM (#6672672)
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.