Skip to content

Instantly share code, notes, and snippets.

@hawkrives
Forked from JoelBesada/README.md
Last active November 18, 2024 19:36
Show Gist options
  • Save hawkrives/9063450 to your computer and use it in GitHub Desktop.
Save hawkrives/9063450 to your computer and use it in GitHub Desktop.

This is an example command for Backtick. A Backtick command consists of some executable JavaScript and a bit of metadata in JSON.

Here are the required steps to create a command:

  1. Create a new Gist with a command.js and command.json file, or simply fork this one.

  2. Write your JavaScript in command.js. This will be injected into and executed on the page the user is currently on when they run it.

  3. Add some metadata to the command.json file:

  • name: The name of the command.
  • description: A short description about what the command does.
  • icon (optional): A link to a 60x60 PNG icon.
  • link (optional): A link to a related home page.
  1. Copy the ID of your Gist from the URL. (The ID of this example command is 6859173)

  2. Paste the ID into the custom commands field in the Backtick settings. You can easily access the settings by clicking the Backtick icon on the command execution console.

You can suggest to add one of your own commands to the list of predefined commands that are included with Backtick, just contact me on Twitter (@JoelBesada) with a link to your command Gist.

/* NOTE: Comments need to be in multiline format like this, instead of "// Comment" */
location='https://feedbin.me/?subscribe='+location.href
{
"name": "Subscribe in Feedbin",
"description": "A Backtick Hello World example command.",
"icon": "https://backtickio.s3.amazonaws.com/icons/backtick.png",
"link": "http://feedbin.me"
}
@Robert98312D
Copy link

I've been on the hunt for a decent online casino that caters to us here in Cyprus. I stumbled upon this site https://onlinecasinocyprus.net/ and was pleasantly surprised. It has a wide variety of games that I can't seem to find anywhere else. The site design is user-friendly and it's easy to navigate. I've had a lot of fun playing, and most importantly, I feel safe using the platform. It's good to finally find a site that understands the needs of Cypriot players. I'd recommend it to anyone looking for an online casino experience in Cyprus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment