Files
Abhilekh Gautam 3091fb8d39 Update api sample for action (#838)
* add sample for catifier that replaces every jpg image on web by another cat image

* add readme for catifier

* add section for set/get  badge text color

* add usage of isEnabled,getBadgeTextColor and setBadgeTextColor

* capitalize  button text

* use single quote and update badge text to test

* use <all_urls> host_permission
2023-03-09 16:08:28 +00:00

14 lines
525 B
JSON

[
{
"id": 1,
"priority": 100,
"action": { "type": "redirect", "redirect": { "url": "https://i.chzbgr.com/completestore/12/8/23/S__rxG9hIUK4sNuMdTIY9w2.jpg" } },
"condition": {"urlFilter": "*.jpeg", "resourceType": ["image"]}
},
{
"id": 2,
"priority": 100,
"action": { "type": "redirect", "redirect": { "url": "https://i.chzbgr.com/completestore/12/8/23/S__rxG9hIUK4sNuMdTIY9w2.jpg" } },
"condition": {"urlFilter": "*.jpg", "resourceType": ["image"]}
}
]