9003-FSDG-urihandlers.patch 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. From d9c12d8f61927264c6c0c9511ad33198797698c5 Mon Sep 17 00:00:00 2001
  2. From: various_authors <various_authors@parabola.nu>
  3. Date: Mon, 17 Sep 2001 00:00:00 +0100
  4. Subject: [PATCH] Remove URI handlers that serve nonfree software
  5. ---
  6. uriloader/exthandler/HandlerList.sys.mjs | 184 +----------------------
  7. 1 file changed, 6 insertions(+), 178 deletions(-)
  8. diff --git a/uriloader/exthandler/HandlerList.sys.mjs b/uriloader/exthandler/HandlerList.sys.mjs
  9. index e95d627c07..81f9218da9 100644
  10. --- a/uriloader/exthandler/HandlerList.sys.mjs
  11. +++ b/uriloader/exthandler/HandlerList.sys.mjs
  12. @@ -7,197 +7,25 @@ export const kHandlerListVersion = 1;
  13. export const kHandlerList = {
  14. default: {
  15. schemes: {
  16. - mailto: {
  17. - handlers: [
  18. - {
  19. - name: "Gmail",
  20. - uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  21. - },
  22. - ],
  23. - },
  24. - },
  25. - },
  26. - cs: {
  27. - schemes: {
  28. - mailto: {
  29. - handlers: [
  30. - {
  31. - name: "Seznam",
  32. - uriTemplate: "https://email.seznam.cz/newMessageScreen?mailto=%s",
  33. - },
  34. - {
  35. - name: "Gmail",
  36. - uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  37. - },
  38. - ],
  39. - },
  40. - },
  41. - },
  42. - "es-CL": {
  43. - schemes: {
  44. - mailto: {
  45. - handlers: [
  46. - {
  47. - name: "Gmail",
  48. - uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  49. - },
  50. - {
  51. - name: "Outlook",
  52. - uriTemplate:
  53. - "https://outlook.live.com/default.aspx?rru=compose&to=%s",
  54. - },
  55. - ],
  56. - },
  57. - },
  58. - },
  59. - "ja-JP-mac": {
  60. - schemes: {
  61. - mailto: {
  62. + irc: {
  63. handlers: [
  64. {
  65. - name: "Yahoo!メール",
  66. - uriTemplate: "https://mail.yahoo.co.jp/compose/?To=%s",
  67. - },
  68. - {
  69. - name: "Gmail",
  70. - uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  71. + name: "KiwiIRC",
  72. + uriTemplate: "https://web.libera.chat/?url=%s",
  73. },
  74. ],
  75. },
  76. - },
  77. - },
  78. - ja: {
  79. - schemes: {
  80. - mailto: {
  81. + ircs: {
  82. handlers: [
  83. {
  84. - name: "Yahoo!メール",
  85. - uriTemplate: "https://mail.yahoo.co.jp/compose/?To=%s",
  86. - },
  87. - {
  88. - name: "Gmail",
  89. - uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  90. + name: "KiwiIRC",
  91. + uriTemplate: "https://web.libera.chat/?url=%s",
  92. },
  93. ],
  94. },
  95. - },
  96. - },
  97. - kk: {
  98. - schemes: {
  99. mailto: {
  100. handlers: [
  101. {
  102. - name: "Яндекс.Почта",
  103. - uriTemplate: "https://mail.yandex.ru/compose?mailto=%s",
  104. - },
  105. - {
  106. - name: "Mail.Ru",
  107. - uriTemplate: "https://e.mail.ru/cgi-bin/sentmsg?mailto=%s",
  108. - },
  109. - {
  110. - name: "Gmail",
  111. - uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  112. - },
  113. - ],
  114. - },
  115. - },
  116. - },
  117. - ltg: {
  118. - schemes: {
  119. - mailto: {
  120. - handlers: [
  121. - {
  122. - name: "Gmail",
  123. - uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  124. - },
  125. - {
  126. - name: "inbox.lv mail",
  127. - uriTemplate: "https://mail.inbox.lv/compose?to=%s",
  128. - },
  129. - ],
  130. - },
  131. - },
  132. - },
  133. - lv: {
  134. - schemes: {
  135. - mailto: {
  136. - handlers: [
  137. - {
  138. - name: "Gmail",
  139. - uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  140. - },
  141. - {
  142. - name: "inbox.lv mail",
  143. - uriTemplate: "https://mail.inbox.lv/compose?to=%s",
  144. - },
  145. - ],
  146. - },
  147. - },
  148. - },
  149. - pl: {
  150. - schemes: {
  151. - mailto: {
  152. - handlers: [
  153. - {
  154. - name: "Poczta Interia.pl",
  155. - uriTemplate: "https://poczta.interia.pl/mh/?mailto=%s",
  156. - },
  157. - {
  158. - name: "Gmail",
  159. - uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  160. - },
  161. - ],
  162. - },
  163. - },
  164. - },
  165. - ru: {
  166. - schemes: {
  167. - mailto: {
  168. - handlers: [
  169. - {
  170. - name: "Яндекс.Почту",
  171. - uriTemplate: "https://mail.yandex.ru/compose?mailto=%s",
  172. - },
  173. - {
  174. - name: "Mail.Ru",
  175. - uriTemplate: "https://e.mail.ru/cgi-bin/sentmsg?mailto=%s",
  176. - },
  177. - {
  178. - name: "Gmail",
  179. - uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  180. - },
  181. - ],
  182. - },
  183. - },
  184. - },
  185. - uk: {
  186. - schemes: {
  187. - mailto: {
  188. - handlers: [
  189. - {
  190. - name: "Gmail",
  191. - uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  192. - },
  193. - {
  194. - name: "Outlook",
  195. - uriTemplate:
  196. - "https://outlook.live.com/default.aspx?rru=compose&to=%s",
  197. - },
  198. - ],
  199. - },
  200. - },
  201. - },
  202. - uz: {
  203. - schemes: {
  204. - mailto: {
  205. - handlers: [
  206. - {
  207. - name: "Gmail",
  208. - uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  209. - },
  210. - {
  211. - name: "Mail.Ru",
  212. - uriTemplate: "https://e.mail.ru/cgi-bin/sentmsg?mailto=%s",
  213. },
  214. ],
  215. },
  216. --
  217. 2.47.0