Skip to content

Commit

Permalink
broken addon.json but working on it
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazza-231 committed Mar 6, 2024
1 parent 66dbd7e commit 1cf3777
Showing 1 changed file with 22 additions and 14 deletions.
36 changes: 22 additions & 14 deletions addons/hide-ads/addon.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,37 @@
"default": "censor"
},
{
"id": "matchingStrings",
"name": "Strings that match as advertising",
"id": "matches",
"type": "table",
"default": [
{
"match": "scratch.mit.edu/projects"
}
],
"default": [{ "matchType": "link", "matchValue": "scratch.mit.edu/projects" }],
"row": [
{
"name": "String/Link",
"id": "match",
"name": "Type",
"id": "matchType",
"type": "select",
"default": "link",
"potentialValues": [
{ "name": "Link", "id": "link" },
{ "name": "String", "id": "string" },
{ "name": "User", "id": "user" },
{ "name": "RegExp", "id": "regExp" }
]
},
{
"name": "Match",
"id": "matchValue",
"type": "untranslated",
"default": ""
}
],
"presets": [
{ "name": "Project links", "values": { "match": "scratch.mit.edu/projects" } },
{ "name": "Profile links", "values": { "match": "scratch.mit.edu/users" } },
{ "name": "Studio links", "values": { "match": "scratch.mit.edu/studios" } },
{ "name": "Written advertising", "values": { "match": "my game" } },
{ "name": "Written follow request", "values": { "match": "follow me" } },
{ "name": "Friend for Friend", "values": { "match": "f4f" } }
{ "name": "Project links", "values": { "matchType": "link", "matchValue": "scratch.mit.edu/projects" } },
{ "name": "Profile links", "values": { "matchType": "link", "matchValue": "scratch.mit.edu/users" } },
{ "name": "Studio links", "values": { "matchType": "link", "matchValue": "scratch.mit.edu/studios" } },
{ "name": "Written advertising", "values": { "matchType": "string", "matchValue": "my game" } },
{ "name": "Written follow request", "values": { "matchType": "string", "matchValue": "follow me" } },
{ "name": "Friend for friend", "values": { "matchType": "string", "matchValue": "f4f" } }
]
}
],
Expand Down

0 comments on commit 1cf3777

Please sign in to comment.