Skip to content

Instantly share code, notes, and snippets.

@mijoharas
Forked from JoelBesada/README.md
Last active December 27, 2015 16:09

Revisions

  1. mhauserr revised this gist Nov 7, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion command.js
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    location.href='http://www.downforeveryoneorjustme.com/' + escape(location.hostname) + ' ' ; void
    location.href='http://www.downforeveryoneorjustme.com/' + escape(location.hostname) + ' ' ;
  2. mhauserr revised this gist Nov 7, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion command.js
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    location.href='http://www.downforeveryoneorjustme.com/' + escape(location.hostname) + ' ' ;
    location.href='http://www.downforeveryoneorjustme.com/' + escape(location.hostname) + ' ' ; void
  3. mhauserr revised this gist Nov 7, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion command.js
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    location='http://www.downforeveryoneorjustme.com/' + escape(location.hostname) + ' ' ; void
    location.href='http://www.downforeveryoneorjustme.com/' + escape(location.hostname) + ' ' ;
  4. mhauserr revised this gist Nov 7, 2013. 2 changed files with 5 additions and 5 deletions.
    2 changes: 1 addition & 1 deletion command.js
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    alert("Hello World");
    location='http://www.downforeveryoneorjustme.com/' + escape(location.hostname) + ' ' ; void
    8 changes: 4 additions & 4 deletions command.json
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    {
    "name": "Example Command",
    "description": "A Backtick Hello World example command.",
    "icon": "http://icons.backtick.io.s3.amazonaws.com/backtick.png",
    "link": "http://backtick.io"
    "name": "Is it down",
    "description": "Tells you whether a site is down or not.",
    "icon": "http://www.downforeveryoneorjustme.com/favicon.ico",
    "link": "http://www.downforeveryoneorjustme.com/"
    }
  5. @JoelBesada JoelBesada revised this gist Nov 5, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@ This is an example command for [Backtick](http://backtick.io). A Backtick comman

    **Here are the required steps to create a command:**

    1. Create a new Gist with a `command.js` and `command.json` file.
    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.

  6. @JoelBesada JoelBesada revised this gist Nov 4, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ This is an example command for [Backtick](http://backtick.io). A Backtick comman
    - *icon (optional)*: A link to a 60x60 PNG icon.
    - *link (optional)*: A link to a related home page.

    4. Copy the ID of your Gist from the URL. (The ID of this command is `6859173`)
    4. Copy the ID of your Gist from the URL. (The ID of this example command is `6859173`)

    5. 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.

  7. @JoelBesada JoelBesada revised this gist Nov 4, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ This is an example command for [Backtick](http://backtick.io). A Backtick comman

    3. Add some metadata to the `command.json` file:
    - *name*: The name of the command.
    - *description*: A short sentence about what the command does.
    - *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.

  8. @JoelBesada JoelBesada revised this gist Nov 4, 2013. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -12,8 +12,8 @@ This is an example command for [Backtick](http://backtick.io). A Backtick comman
    - *icon (optional)*: A link to a 60x60 PNG icon.
    - *link (optional)*: A link to a related home page.

    4. Copy the id of your Gist from the URL. (The id of this command is `6859173`)
    4. Copy the ID of your Gist from the URL. (The ID of this command is `6859173`)

    5. 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.
    5. 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](https://twitter.com/joelbesada)) with a link to your command Gist.
  9. @JoelBesada JoelBesada revised this gist Nov 4, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ This is an example command for [Backtick](http://backtick.io). A Backtick comman
    - *icon (optional)*: A link to a 60x60 PNG icon.
    - *link (optional)*: A link to a related home page.

    4. Copy the id of your Gist from the URL. (The ID of this command is `6859173`)
    4. Copy the id of your Gist from the URL. (The id of this command is `6859173`)

    5. 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.

  10. @JoelBesada JoelBesada revised this gist Nov 4, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ This is an example command for [Backtick](http://backtick.io). A Backtick comman

    1. Create a new Gist with a `command.js` and `command.json` file.

    2. Put the JavaScript that should be executed when the command is run in `command.js`. This will be injected into the page the user is currently on.
    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.
  11. @JoelBesada JoelBesada revised this gist Nov 4, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    This is an example custom command for [Backtick](http://backtick.io). A Backtick command consists of some executable JavaScript and a bit of metadata in JSON.
    This is an example command for [Backtick](http://backtick.io). A Backtick command consists of some executable JavaScript and a bit of metadata in JSON.

    **Here are the required steps to create a command:**

  12. @JoelBesada JoelBesada revised this gist Nov 4, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ This is an example custom command for [Backtick](http://backtick.io). A Backtick
    3. Add some metadata to the `command.json` file:
    - *name*: The name of the command.
    - *description*: A short sentence about what the command does.
    - *icon (optional)*: A 60x60 PNG icon.
    - *icon (optional)*: A link to a 60x60 PNG icon.
    - *link (optional)*: A link to a related home page.

    4. Copy the id of your Gist from the URL. (The ID of this command is `6859173`)
  13. @JoelBesada JoelBesada revised this gist Nov 4, 2013. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,16 @@
    This is an example custom command for [Backtick](http://backtick.io). A Backtick command consists of some executable JavaScript and a bit of metadata in JSON.

    Here are the required steps to create a command:
    **Here are the required steps to create a command:**

    1. Create a new Gist with a `command.js` and `command.json` file.

    2. Put the JavaScript that should be executed when the command is run in `command.js`. This will be injected into the page the user is currently on.

    3. Add some metadata to the `command.json` file:
    - **name**: The name of the command.
    - **description**: A short sentence about what the command does.
    - **icon (optional)**: A 60x60 PNG icon.
    - **link (optional)**: A link to a related home page.
    - *name*: The name of the command.
    - *description*: A short sentence about what the command does.
    - *icon (optional)*: A 60x60 PNG icon.
    - *link (optional)*: A link to a related home page.

    4. Copy the id of your Gist from the URL. (The ID of this command is `6859173`)

  14. @JoelBesada JoelBesada revised this gist Nov 4, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ Here are the required steps to create a command:
    1. Create a new Gist with a `command.js` and `command.json` file.

    2. Put the JavaScript that should be executed when the command is run in `command.js`. This will be injected into the page the user is currently on.
    3.

    3. Add some metadata to the `command.json` file:
    - **name**: The name of the command.
    - **description**: A short sentence about what the command does.
  15. @JoelBesada JoelBesada revised this gist Nov 4, 2013. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -5,12 +5,15 @@ Here are the required steps to create a command:
    1. Create a new Gist with a `command.js` and `command.json` file.

    2. Put the JavaScript that should be executed when the command is run in `command.js`. This will be injected into the page the user is currently on.
    3.
    3. Add some metadata to the `command.json` file:
    - **name**: The name of the command.
    - **description**: A short sentence about what the command does.
    - **icon (optional)**: A 60x60 PNG icon.
    - **link (optional)**: A link to a related home page.

    4. Copy the id of your Gist from the URL. (The ID of this command is `6859173`)

    5. 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](https://twitter.com/joelbesada)) with a link to your command Gist.
  16. @JoelBesada JoelBesada revised this gist Nov 4, 2013. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,7 @@ This is an example custom command for [Backtick](http://backtick.io). A Backtick
    Here are the required steps to create a command:

    1. Create a new Gist with a `command.js` and `command.json` file.

    2. Put the JavaScript that should be executed when the command is run in `command.js`. This will be injected into the page the user is currently on.
    3. Add some metadata to the `command.json` file:
    - **name**: The name of the command.
  17. @JoelBesada JoelBesada revised this gist Nov 4, 2013. 1 changed file with 13 additions and 7 deletions.
    20 changes: 13 additions & 7 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,15 @@
    This is an example custom command for [Backtick](http://backtick.io). Backtick commands are created as Gists with two files, a JavaScript file `command.js` and a JSON file `command.json`.

    The contents of the JavaScript file is injected into the DOM of the current page when the command is run. This works just like any bookmarklet, you have full access to everything in the page that the script is injected into. In this example, we're just opening an alert box, but you can of course do much more interesting things with your command.

    The JSON file is metadata for the command, including the command name and description. You can also optionally include an icon of size `60x60` and a link.

    Custom commands can be used privately or shared with others, all you need to do is grab the id of the Gist (usually the last part of the Gist URL) and add it through the Backtick settings page. You can access the settings page by clicking the Backtick icon on the command execution console, or by right clicking the icon in the Chrome extension toolbar. You can try it out by adding the ID of this command: `6859173`.
    This is an example custom command for [Backtick](http://backtick.io). 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.
    2. Put the JavaScript that should be executed when the command is run in `command.js`. This will be injected into the page the user is currently on.
    3. Add some metadata to the `command.json` file:
    - **name**: The name of the command.
    - **description**: A short sentence about what the command does.
    - **icon (optional)**: A 60x60 PNG icon.
    - **link (optional)**: A link to a related home page.
    4. Copy the id of your Gist from the URL. (The ID of this command is `6859173`)
    5. 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](https://twitter.com/joelbesada)) with a link to your command Gist.
  18. @JoelBesada JoelBesada revised this gist Nov 1, 2013. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,9 @@
    This is an example custom command for [Backtick](http://backtick.io). A Backtick command consists of two files, a JavaScript file `command.js` and a JSON file `command.json`.
    This is an example custom command for [Backtick](http://backtick.io). Backtick commands are created as Gists with two files, a JavaScript file `command.js` and a JSON file `command.json`.

    The contents of the JavaScript file is injected into the DOM of the current page when the command is run. This works just like any bookmarklet, you have full access to everything in the page that the script is injected into. In this example, we're just opening an alert box, but you can of course do much more interesting things with your command.

    The JSON file is metadata for the command, including the command name and description. You can also optionally include an icon of size `60x60` and a link.

    Custom commands can be used privately or shared with others, all you need to do is grab the id of the Gist (usually the last part of the Gist URL) and add it through the Backtick settings page. You can access the settings page by clicking the Backtick icon on the console where all commands are executed from, or by right clicking the icon in the Chrome extension toolbar. You can try it out by adding the ID of this command: `6859173`.
    Custom commands can be used privately or shared with others, all you need to do is grab the id of the Gist (usually the last part of the Gist URL) and add it through the Backtick settings page. You can access the settings page by clicking the Backtick icon on the command execution console, or by right clicking the icon in the Chrome extension toolbar. You can try it out by adding the ID of this command: `6859173`.

    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](https://twitter.com/joelbesada)) with a link to your command gist.
    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](https://twitter.com/joelbesada)) with a link to your command Gist.
  19. @JoelBesada JoelBesada revised this gist Nov 1, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,4 @@ The JSON file is metadata for the command, including the command name and descri

    Custom commands can be used privately or shared with others, all you need to do is grab the id of the Gist (usually the last part of the Gist URL) and add it through the Backtick settings page. You can access the settings page by clicking the Backtick icon on the console where all commands are executed from, or by right clicking the icon in the Chrome extension toolbar. You can try it out by adding the ID of this command: `6859173`.

    You can suggest to add one of your own commands to list of predefined commands that are included with Backtick, just contact me on Twitter ([@JoelBesada](https://twitter.com/joelbesada)) with a link to your command gist.
    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](https://twitter.com/joelbesada)) with a link to your command gist.
  20. @JoelBesada JoelBesada revised this gist Nov 1, 2013. 1 changed file with 1 addition and 6 deletions.
    7 changes: 1 addition & 6 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -6,9 +6,4 @@ The JSON file is metadata for the command, including the command name and descri

    Custom commands can be used privately or shared with others, all you need to do is grab the id of the Gist (usually the last part of the Gist URL) and add it through the Backtick settings page. You can access the settings page by clicking the Backtick icon on the console where all commands are executed from, or by right clicking the icon in the Chrome extension toolbar. You can try it out by adding the ID of this command: `6859173`.







    You can suggest to add one of your own commands to list of predefined commands that are included with Backtick, just contact me on Twitter ([@JoelBesada](https://twitter.com/joelbesada)) with a link to your command gist.
  21. @JoelBesada JoelBesada revised this gist Oct 13, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    This is an example custom command for [Backtick](http://backtick.io). A Backtick command consists of two files, a JavaScript file `command.js` and a JSON file `command.json`.

    The contents of the JavaScript file is injected into the DOM of the current page when the command is run. This works just like any bookmarklet, you have full access to everything in the page that the script is injected into. In this example, we're just show an alert box saying "Hello World", but you can of course do much more interesting things with your command.
    The contents of the JavaScript file is injected into the DOM of the current page when the command is run. This works just like any bookmarklet, you have full access to everything in the page that the script is injected into. In this example, we're just opening an alert box, but you can of course do much more interesting things with your command.

    The JSON file is metadata for the command, including the command name and description. You can also optionally include an icon of size `60x60` and a link.

  22. @JoelBesada JoelBesada revised this gist Oct 6, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ The contents of the JavaScript file is injected into the DOM of the current page

    The JSON file is metadata for the command, including the command name and description. You can also optionally include an icon of size `60x60` and a link.

    Custom commands can be used privately or shared with others, all you need to do is grab the id of the Gist (usually the last part of the Gist URL) and add it through the Backtick settings page. You can access the settings page by clicking the Backtick icon on the console where all commands are executed from, or by right clicking the icon in the Chrome extension toolbar. You can try it out by adding the ID of this command (`6859173`).
    Custom commands can be used privately or shared with others, all you need to do is grab the id of the Gist (usually the last part of the Gist URL) and add it through the Backtick settings page. You can access the settings page by clicking the Backtick icon on the console where all commands are executed from, or by right clicking the icon in the Chrome extension toolbar. You can try it out by adding the ID of this command: `6859173`.



  23. @JoelBesada JoelBesada revised this gist Oct 6, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ The contents of the JavaScript file is injected into the DOM of the current page

    The JSON file is metadata for the command, including the command name and description. You can also optionally include an icon of size `60x60` and a link.

    Custom commands can be used privately or shared with others, all you need to do is grab the id of the Gist (usually the last part of the Gist URL) and add it through the Backtick settings page. You can access the settings page by clicking the Backtick icon on the console where all commands are executed from, or by right clicking the icon in the Chrome extension toolbar.
    Custom commands can be used privately or shared with others, all you need to do is grab the id of the Gist (usually the last part of the Gist URL) and add it through the Backtick settings page. You can access the settings page by clicking the Backtick icon on the console where all commands are executed from, or by right clicking the icon in the Chrome extension toolbar. You can try it out by adding the ID of this command (`6859173`).



  24. @JoelBesada JoelBesada revised this gist Oct 6, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    This is an example custom command for [Backtick](http://backtick.io). A Backtick command consists of two files, a JavaScript `command.js` and a JSON `command.json` file.
    This is an example custom command for [Backtick](http://backtick.io). A Backtick command consists of two files, a JavaScript file `command.js` and a JSON file `command.json`.

    The contents of the JavaScript file is injected into the DOM of the current page when the command is run. This works just like any bookmarklet, you have full access to everything in the page that the script is injected into. In this example, we're just show an alert box saying "Hello World", but you can of course do much more interesting things with your command.

  25. @JoelBesada JoelBesada revised this gist Oct 6, 2013. 1 changed file with 14 additions and 1 deletion.
    15 changes: 14 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1 +1,14 @@
    This is an example command for Backtick.
    This is an example custom command for [Backtick](http://backtick.io). A Backtick command consists of two files, a JavaScript `command.js` and a JSON `command.json` file.

    The contents of the JavaScript file is injected into the DOM of the current page when the command is run. This works just like any bookmarklet, you have full access to everything in the page that the script is injected into. In this example, we're just show an alert box saying "Hello World", but you can of course do much more interesting things with your command.

    The JSON file is metadata for the command, including the command name and description. You can also optionally include an icon of size `60x60` and a link.

    Custom commands can be used privately or shared with others, all you need to do is grab the id of the Gist (usually the last part of the Gist URL) and add it through the Backtick settings page. You can access the settings page by clicking the Backtick icon on the console where all commands are executed from, or by right clicking the icon in the Chrome extension toolbar.







  26. @JoelBesada JoelBesada revised this gist Oct 6, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion command.json
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    {
    "name": "Example Command",
    "description": "A Backtick Hello World example command",
    "description": "A Backtick Hello World example command.",
    "icon": "http://icons.backtick.io.s3.amazonaws.com/backtick.png",
    "link": "http://backtick.io"
    }
  27. @JoelBesada JoelBesada revised this gist Oct 6, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion command.json
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    {
    "name": "Example Command",
    "description": "A Backtick Hello World example command",
    "icon": "https://s3.amazonaws.com/backtickio/icons/backtick.png",
    "icon": "http://icons.backtick.io.s3.amazonaws.com/backtick.png",
    "link": "http://backtick.io"
    }
  28. @JoelBesada JoelBesada created this gist Oct 6, 2013.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    This is an example command for Backtick.
    1 change: 1 addition & 0 deletions command.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    alert("Hello World");
    6 changes: 6 additions & 0 deletions command.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    {
    "name": "Example Command",
    "description": "A Backtick Hello World example command",
    "icon": "https://s3.amazonaws.com/backtickio/icons/backtick.png",
    "link": "http://backtick.io"
    }