How do I invoke URL Flipper?

URL Flipper was designed to be invoked by shortcut keys:

  • Ctrl+Shift+Z: Decrement the current URL
  • Ctrl+Shift+X: Increment the current URL
  • Ctrl+Shift+C: Clear URLs (this forces URL Flipper to ask you to select the part of the URL to change the next time you try to decrement or increment)

You can also access URL Flipper through the Firefox menu bar. It is located in the Go or History menu.

How does URL Flipper know which part of the URL to change?

Let's say that you are at http://example.net/foo/42/bar3/. When you try to increment or decrement this URL, URL Flipper initially does not know what to do with this URL, so it will ask you to specify which part of the URL it should increment or decrement. It will look like this:
URL Flipper Dialog

You will only see this dialog once! Now that URL Flipper knows how to handle URLs that look like this, the next time you try to increment or decrement a similar URL, URL Flipper will increment or decrement the URL using the information that you have already supplied, without displaying the dialog seen above!

If, however, you try to increment or decrement a different URL, then URL Flipper will show you the selection dialog again. For example, after specifying that you wanted to change the "42" in http://example.net/foo/42/bar3/, URL Flipper will not show you the dialog when you subsequently try to increment or decrement http://example.net/foo/47/bar3/, http://example.net/foo/65536/bar3/, etc. However, if you try to increment or decrement http://example.org/foobar?x=42, then URL Flipper will pop up the selection dialog because this is a new and different URL pattern.

If you want to force URL Flipper to show the selection dialog the next time you want increment or decrement a URL, you can use the Clear URLs option to force URL Flipper to forget all of the URL patterns that it has encountered so far. For example, after specifying that you want to change the "42" in http://example.net/foo/42/bar3/, you decide that you now want to change the "3" in "bar3" instead. Clearing the list of encountered URL patterns will force URL Flipper to show you the selection dialog so that you can select a different portion of the URL to change.

How does the general-purpose alphanumeric option work?

While the decimal, octal, and hexadecimal options are fairly self-explanatory, the general-purpose alphanumeric option may seem confusing to some.

  1. When the alphanumeric option is used on a string consisting entirely of numbers, it behaves exactly like the decimal options. For example, "99" will decrement to "98" and increment to "100".
  2. When the alphanumeric option is used on a string consisting entirely of letters, it will increment and decrement as if the string was a base-26 number. For example, "C" will decrement to "B" and increment to "D", and "bZ" will decrement to "bY" and increment to "cA". Note that case is preserved.
  3. When the alphanumeric option is used on a string consisting of a mix of numbers and letters, it will treat the numbers as base-10 and the letters as base-26. Case is preserved. For example, "1zZ" will decrement to "1zY" and increment to "2aA". Similarly, "B0a0" will decrement to "A9z9" and increment to "B0a1".

Aside: The astute observer will note that the first two cases really are just sub-cases of the general third case. Indeed, URL Flipper makes no distinction between the three.