Skip to content

Commit

Permalink
Add multiple Telegram terms
Browse files Browse the repository at this point in the history
Add Telegram Imprint
Add Telegram Vulnerability Disclosure Policy
Add Telegram Community Guidelines
Add Telegram Law Enforcement Guidelines
Add Telegram Copyright Claims Policy
Add Telegram Single Sign-On Policy
Add Telegram Complaints Policy
  • Loading branch information
MattiSG committed Sep 24, 2024
2 parents ced5d76 + 265c806 commit 8fd705f
Showing 1 changed file with 73 additions and 3 deletions.
76 changes: 73 additions & 3 deletions declarations/Telegram.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,86 @@
"documents": {
"Privacy Policy": {
"fetch": "https://telegram.org/privacy",
"select": "#dev_page_content_wrap"
"select": ".tl_page_container"
},
"Terms of Service": {
"fetch": "https://telegram.org/tos",
"select": "#dev_page_content_wrap"
"combine": [
{
"fetch": "https://telegram.org/tos",
"select": ".tl_page_container"
},
{
"fetch": "https://telegram.org/faq?setln=en",
"select": ".tl_page_container",
"remove": [
"img",
"video"
]
}
]
},
"Developer Terms": {
"fetch": "https://core.telegram.org/api/terms",
"select": "#dev_page_content_wrap",
"remove": ".breadcrumb"
},
"Imprint": {
"fetch": "https://telegram.org/faq?setln=en",
"select": [
{
"startBefore": "[name=q-who-are-the-people-behind-telegram]",
"endBefore": "[name=q-will-you-have-ads-in-my-private-chats-and-groups-or-sell-my-da]"
}
]
},
"Vulnerability Disclosure Policy": {
"fetch": "https://core.telegram.org/bug-bounty",
"select": ".dev_page"
},
"Community Guidelines": {
"fetch": "https://telegram.org/tos/eu-dsa?setln=en",
"select": ".tl_page_container"
},
"Law Enforcement Guidelines": {
"combine": [
{
"fetch": "https://telegram.org/tos/eu-dsa?setln=en",
"select": [
{
"startBefore": "[name=contact-points-for-competent-authorities-in-eu-countries]",
"endBefore": "[name=average-monthly-active-recipients-of-service-in-the-eu]"
}
]
},
{
"fetch": "https://telegram.org/faq?setln=en",
"select": [
{
"startBefore": "[name=q-do-you-process-data-requests]",
"endBefore": "[name=telegram-basics]"
}
],
"remove": "blockquote"
}
]
},
"Copyright Claims Policy": {
"fetch": "https://telegram.org/faq?setln=en",
"select": [
{
"startBefore": "[name=q-a-bot-or-channel-is-infringing-on-my-copyright-what-do-i-do]",
"endBefore": "[name=q-do-you-process-take-down-requests-from-third-parties]"
}
]
},
"Single Sign-On Policy": {
"fetch": "https://telegram.org/faq?setln=en",
"select": [
{
"startBefore": "[name=passport]",
"endBefore": "[name=troubleshooting]"
}
]
}
}
}

0 comments on commit 8fd705f

Please sign in to comment.