Skip to main content Link Search Menu Expand Document (external link)

Cookie Thinger

Jancy’s cookie thinger lets you do “things” with cookies and tabs. Some things you can currently do are:

  • delete all or specific cookies in a tab
  • copy all or specific cookies from one tab to other tabs

The cookie-thinger.txt file tells Jancy what actions should be performed when cookie thinger groups are ran.

[group 1]
copy 1 https://www.google.com AEC

[group 2]
del https://www.ticketmaster.com _GRECAPTCHA
  • On Windows the cookie thinger text file is located at %appdata%\Jancy\cookie-thinger.txt
  • On MacOS the cookie thinger text file is locatd at ~/Library/Application Support/Jancy/cookie-thinger.txt

To edit the cookie-thinger.txt file you can run the Edit cookie-thinger.txt command from the command palette. To have Jancy read the cookie-thinger.txt file you can run the Read cookie-thinger.txt from the command palette.

Jancy will automatically re-read the cookie-thinger.txt file after you save it.

Action Groups

The cookie thinger has 5 programmable action groups that let you specify the actions that will be run when a specific group is ran. To define an action group in the cookie-thinger.txt file the format is:

[group <id>]

where <id> is a value between 1 and 5 followed by the actions to run for that group.

To run a cookie thinger group there are the following commands that are accessible from the command palette:

  • Run cookie thinger group 1 in all selected tabs
  • Run cookie thinger group 1 in all selected tabs (all windows)
  • Run cookie thinger group 2 in all selected tabs
  • Run cookie thinger group 2 in all selected tabs (all windows)
  • Run cookie thinger group 3 in all selected tabs
  • Run cookie thinger group 3 in all selected tabs (all windows)
  • Run cookie thinger group 4 in all selected tabs
  • Run cookie thinger group 4 in all selected tabs (all windows)
  • Run cookie thinger group 5 in all selected tabs
  • Run cookie thinger group 5 in all selected tabs (all windows)

Actions

Cookie thinger actions lets you tell Jancy what to do when a group is ran. You can declare multiple actions per group. Actions are run in the order specified.

Delete Specific Cookies Action

This action will delete one or more cookies by name for the given url.

del <url> <cookie> [cookie...]
  • <url> the URL associated with the cookie or cookies you want to delete (e.g. https://www.google.com)
  • <cookie> the name of the cookie to delete. You can specify multiple cookies to delete.

To delete the AEC cookie from the selected tabs associated with https://www.google.com when you run the Run cookie thinger group 1 in selected tabs command:

[group 1]
del https://www.google.com AEC

Delete All Cookies Action

This action will delete all cookies for the given url.

delall <url>
  • <url> the URL associated with the cookies you want to delete (e.g. https://www.google.com)

To delete all cookies in the selected tabs associated with https://www.google.com when you run the Run cookie thinger group 1 in selected tabs command:

[group 1]
delall https://www.google.com

Copy Specific Cookies Action

This action will copy specific cookies from the specified cookie thinger tab for the specified url.

copy <cookie-thinger-tab> <url> <cookie> [cookie...]
  • <cookie-thinger-tab> a value from 1 to 5 that denotes the cookie thinger tab you want to use as the source of cookies you want copy
  • <url> the URL associated with the cookie or cookies you want to copy (e.g. https://www.google.com)
  • <cookie> the name of the cookie to copy. You can specify multiple cookies to copy

To copy the AEC cookie associated with https://www.google.com from cookie thinger tab 1 when you run the Run cookie thinger group 1 in selected tabs command:

[group 1]
copy 1 https://www.google.com AEC

Copy All Cookies Action

This action will copy all cookies from the specified cookie thinger tab for the specified url.

copyall <cookie-thinger-tab> <url>
  • <cookie-thinger-tab> a value from 1 to 5 that denotes the cookie thinger tab you want to use as the source of cookies you want copy
  • <url> the URL associated with the cookie or cookies you want to copy (e.g. https://www.google.com)

To copy all cookies associated with https://www.google.com from cookie thinger tab 1 when you run the Run cookie thinger group 1 in selected tabs command:

[group 1]
copyall 1 https://www.google.com AEC

Some actions require the user to designate a cookie-thinger-tab (e.g. the copy and copyall actions). Generally speaking this means the action requires a source tab. The cookie thinger lets you designate up to 5 tabs as cookie thinger tabs.

To set a specific tab as a specific cookie-thinger-tab you can use the following commands that are accessible from the command palette:

  • Set cookie thinger tab 1
  • Set cookie thinger tab 2
  • Set cookie thinger tab 3
  • Set cookie thinger tab 4
  • Set cookie thinger tab 5

You can set focus to specific cookie thinger tabs with the following commands that are accessible from the command palette:

  • Focus cookie thinger tab 1
  • Focus cookie thinger tab 2
  • Focus cookie thinger tab 3
  • Focus cookie thinger tab 4
  • Focus cookie thinger tab 5