Hack for Tabby Cat on Google Chrome
Tabby Cat
Google ChromeのエクステンションにTabby Catというものがあります。
Chromeで新しいタブを開くたびに新しいネコちゃんが現れるというギミックのエクステンションです。
こんな風に。
この猫ちゃんがデフォルトで他の動物を表示させるには課金制で$1から購入しなくてはならないのですが、Chromeの制御スクリプトをいじってほかの動物を一時的に表示させてみようという試みです。
- 新しいタブをCtrl+Tで開いて
- 右クリック+Iで検証タブを出し
- Applicationタブを確認します
- "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"}]
}
]
- 矢印が丸くなった更新マークを押してKey Valueを更新し
- ページをリロード!(またはページの左上を見ると"New Pet"と書かれているかもしれませんのでそこを確認)
参考
▼Git hub
tabbycatswag.json
Author And Source
この問題について(Hack for Tabby Cat on Google Chrome), 我々は、より多くの情報をここで見つけました https://qiita.com/M_amourr/items/5d96ceaad0ebf278c098著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .