Hack for Tabby Cat on Google Chrome


Tabby Cat

Google ChromeのエクステンションにTabby Catというものがあります。
Chromeで新しいタブを開くたびに新しいネコちゃんが現れるというギミックのエクステンションです。

こんな風に。

この猫ちゃんがデフォルトで他の動物を表示させるには課金制で$1から購入しなくてはならないのですが、Chromeの制御スクリプトをいじってほかの動物を一時的に表示させてみようという試みです。

  1. 新しいタブをCtrl+Tで開いて
  2. 右クリック+Iで検証タブを出し
  3. Applicationタブを確認します
  4. "allPets"のKey Valueを以下のスクリプトに変更します
to_get_all_the_animals
[
    {
        "sku":"cat_tabbycat",
        "displayName":"Tabby Cat",
        "isCollected":true,
        "petType": {"sku":"cat_tabbycat","type":"cat","name":"Cat"}
    },
    {
        "kind":"chromewebstore#inAppProduct",
        "sku":"dog_lildoggo",
        "item_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "type":"inapp",
        "state":"ACTIVE",
        "prices":[{"valueMicros":"1000000","currencyCode":"USD","regionCode":"US"}],
        "petType":{"sku":"dog_lildoggo","type":"dog","name":"LilDoggo","displayName":"Lil Doggo"},
        "isCollected":true,
        "isComingSoon":false,
        "isNew":true,
        "localeData":[{"title":"Lil Doggo","description":"","languageCode":"en-US"}]
    },
    {
        "kind":"chromewebstore#inAppProduct",
        "sku":"penguin_tuxedobird",
        "item_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "type":"inapp",
        "state":"ACTIVE",
        "prices":[{"valueMicros":"1000000","currencyCode":"USD","regionCode":"US"}],
        "petType":{"sku":"penguin_tuxedobird","type":"penguin","name":"TuxedoBird","displayName":"Tuxedo Birb"},
        "isCollected":true,
        "isComingSoon":false,
        "isNew":false,
        "localeData":[{"title":"Tuxedo Birb","description":"","languageCode":"en-US"}]
    },
    {
        "kind":"chromewebstore#inAppProduct",
        "sku":"wildcat_leopard",
        "item_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "type":"inapp",
        "state":"ACTIVE",
        "prices":[{"valueMicros":"1000000","currencyCode":"USD","regionCode":"US"}],
        "petType":{"sku":"wildcat_leopard","type":"wildcat","name":"Leopard","displayName":"Wild Kitty"},
        "isCollected":true,
        "isComingSoon":false,
        "isNew":false,
        "localeData":[{"title":"Wild Kitty","description":"","languageCode":"en-US"}]
    },
    {
        "kind":"chromewebstore#inAppProduct",
        "sku":"bear_bear",
        "item_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "type":"inapp",
        "state":"ACTIVE",
        "prices":[{"valueMicros":"1000000","currencyCode":"USD","regionCode":"US"}],
        "petType":{"sku":"bear_bear","type":"bear","name":"Bear","displayName":"Bear Cub"},
        "isCollected":true,
        "isComingSoon":false,
        "isNew":false,
        "localeData":[{"title":"Bear Cub","description":"","languageCode":"en-US"}]
    },
    {
        "kind":"chromewebstore#inAppProduct",
        "sku":"turtle_tortoise",
        "item_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "type":"inapp",
        "state":"ACTIVE",
        "prices":[{"valueMicros":"1000000","currencyCode":"USD","regionCode":"US"}],
        "petType":{"sku":"turtle_tortoise","type":"turtle","name":"Tortoise","displayName":"Happy Tortoise"},
        "isCollected":true,
        "isComingSoon":false,
        "isNew":false,
        "localeData":[{"title":"Happy Tortoise","description":"","languageCode":"en-US"}]
    },
    {
        "kind":"chromewebstore#inAppProduct",
        "sku":"dog_classicdoggo",
        "item_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "type":"inapp",
        "state":"ACTIVE",
        "prices":[{"valueMicros":"1000000","currencyCode":"USD","regionCode":"US"}],
        "petType":{"sku":"dog_classicdoggo","type":"classicdoggo","name":"ClassicDoggo","displayName":"Classic Doggo"},
        "isCollected":true,
        "isComingSoon":false,
        "isNew":false,
        "localeData":[{"title":"Classic Doggo","description":"","languageCode":"en-US"}]
    },
    {
        "kind":"chromewebstore#inAppProduct",
        "sku":"chicken_chicken",
        "item_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "type":"inapp",
        "state":"ACTIVE",
        "prices":[{"valueMicros":"1000000","currencyCode":"USD","regionCode":"US"}],
        "petType":{"sku":"chicken_chicken","type":"chicken","name":"Chicken","displayName":"Chicken Birb"},
        "isCollected":true,
        "isComingSoon":false,
        "isNew":false,
        "localeData":[{"title":"Chicken Birb","description":"","languageCode":"en-US"}]
    },
    {
        "kind":"chromewebstore#inAppProduct",
        "sku":"seal_seal",
        "item_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "type":"inapp",
        "state":"ACTIVE",
        "prices":[{"valueMicros":"1000000","currencyCode":"USD","regionCode":"US"}],
        "petType":{"sku":"seal_seal","type":"seal","name":"Seal","displayName":"Squishy Seal"},
        "isCollected":true,
        "isComingSoon":false,
        "isNew":false,
        "localeData":[{"title":"Squishy Seal","description":"","languageCode":"en-US"}]
    }
]

  1. 矢印が丸くなった更新マークを押してKey Valueを更新し

  1. ページをリロード!(またはページの左上を見ると"New Pet"と書かれているかもしれませんのでそこを確認)

Pet一覧を開いたとき
(動物たちの色は時々変わります)

参考
▼Git hub
tabbycatswag.json