selenium_tor 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/lib/tor/driver.rb +9 -1
  4. data/lib/tor/libxul_checksums.yml +40 -0
  5. data/lib/tor/options.rb +3 -2
  6. data/lib/tor/version.rb +1 -1
  7. metadata +2 -147
  8. data/fonts/000_README.txt +0 -6
  9. data/fonts/Arimo-Bold.ttf +0 -0
  10. data/fonts/Arimo-BoldItalic.ttf +0 -0
  11. data/fonts/Arimo-Italic.ttf +0 -0
  12. data/fonts/Arimo-Regular.ttf +0 -0
  13. data/fonts/Cousine-Bold.ttf +0 -0
  14. data/fonts/Cousine-BoldItalic.ttf +0 -0
  15. data/fonts/Cousine-Italic.ttf +0 -0
  16. data/fonts/Cousine-Regular.ttf +0 -0
  17. data/fonts/Jigmo.ttf +0 -0
  18. data/fonts/Jigmo2.ttf +0 -0
  19. data/fonts/Jigmo3.ttf +0 -0
  20. data/fonts/NotoColorEmoji.ttf +0 -0
  21. data/fonts/NotoNaskhArabic-Regular.ttf +0 -0
  22. data/fonts/NotoSansAdlam-Regular.ttf +0 -0
  23. data/fonts/NotoSansArmenian-Regular.ttf +0 -0
  24. data/fonts/NotoSansBalinese-Regular.ttf +0 -0
  25. data/fonts/NotoSansBamum-Regular.ttf +0 -0
  26. data/fonts/NotoSansBassaVah-Regular.ttf +0 -0
  27. data/fonts/NotoSansBatak-Regular.ttf +0 -0
  28. data/fonts/NotoSansBengali-Regular.ttf +0 -0
  29. data/fonts/NotoSansBuginese-Regular.ttf +0 -0
  30. data/fonts/NotoSansBuhid-Regular.ttf +0 -0
  31. data/fonts/NotoSansCanadianAboriginal-Regular.ttf +0 -0
  32. data/fonts/NotoSansChakma-Regular.ttf +0 -0
  33. data/fonts/NotoSansCham-Regular.ttf +0 -0
  34. data/fonts/NotoSansCherokee-Regular.ttf +0 -0
  35. data/fonts/NotoSansCoptic-Regular.ttf +0 -0
  36. data/fonts/NotoSansDeseret-Regular.ttf +0 -0
  37. data/fonts/NotoSansDevanagari-Regular.ttf +0 -0
  38. data/fonts/NotoSansElbasan-Regular.ttf +0 -0
  39. data/fonts/NotoSansEthiopic-Regular.ttf +0 -0
  40. data/fonts/NotoSansGeorgian-Regular.ttf +0 -0
  41. data/fonts/NotoSansGrantha-Regular.ttf +0 -0
  42. data/fonts/NotoSansGujarati-Regular.ttf +0 -0
  43. data/fonts/NotoSansGunjalaGondi-Regular.ttf +0 -0
  44. data/fonts/NotoSansGurmukhi-Regular.ttf +0 -0
  45. data/fonts/NotoSansHanifiRohingya-Regular.ttf +0 -0
  46. data/fonts/NotoSansHanunoo-Regular.ttf +0 -0
  47. data/fonts/NotoSansHebrew-Regular.ttf +0 -0
  48. data/fonts/NotoSansJavanese-Regular.ttf +0 -0
  49. data/fonts/NotoSansKannada-Regular.ttf +0 -0
  50. data/fonts/NotoSansKayahLi-Regular.ttf +0 -0
  51. data/fonts/NotoSansKhmer-Regular.ttf +0 -0
  52. data/fonts/NotoSansKhojki-Regular.ttf +0 -0
  53. data/fonts/NotoSansKhudawadi-Regular.ttf +0 -0
  54. data/fonts/NotoSansLao-Regular.ttf +0 -0
  55. data/fonts/NotoSansLepcha-Regular.ttf +0 -0
  56. data/fonts/NotoSansLimbu-Regular.ttf +0 -0
  57. data/fonts/NotoSansLisu-Regular.ttf +0 -0
  58. data/fonts/NotoSansMahajani-Regular.ttf +0 -0
  59. data/fonts/NotoSansMalayalam-Regular.ttf +0 -0
  60. data/fonts/NotoSansMandaic-Regular.ttf +0 -0
  61. data/fonts/NotoSansMasaramGondi-Regular.ttf +0 -0
  62. data/fonts/NotoSansMedefaidrin-Regular.ttf +0 -0
  63. data/fonts/NotoSansMeeteiMayek-Regular.ttf +0 -0
  64. data/fonts/NotoSansMendeKikakui-Regular.ttf +0 -0
  65. data/fonts/NotoSansMiao-Regular.ttf +0 -0
  66. data/fonts/NotoSansModi-Regular.ttf +0 -0
  67. data/fonts/NotoSansMongolian-Regular.ttf +0 -0
  68. data/fonts/NotoSansMro-Regular.ttf +0 -0
  69. data/fonts/NotoSansMultani-Regular.ttf +0 -0
  70. data/fonts/NotoSansNKo-Regular.ttf +0 -0
  71. data/fonts/NotoSansNewTaiLue-Regular.ttf +0 -0
  72. data/fonts/NotoSansNewa-Regular.ttf +0 -0
  73. data/fonts/NotoSansOlChiki-Regular.ttf +0 -0
  74. data/fonts/NotoSansOriya-Regular.ttf +0 -0
  75. data/fonts/NotoSansOsage-Regular.ttf +0 -0
  76. data/fonts/NotoSansOsmanya-Regular.ttf +0 -0
  77. data/fonts/NotoSansPahawhHmong-Regular.ttf +0 -0
  78. data/fonts/NotoSansPauCinHau-Regular.ttf +0 -0
  79. data/fonts/NotoSansRejang-Regular.ttf +0 -0
  80. data/fonts/NotoSansRunic-Regular.ttf +0 -0
  81. data/fonts/NotoSansSamaritan-Regular.ttf +0 -0
  82. data/fonts/NotoSansSaurashtra-Regular.ttf +0 -0
  83. data/fonts/NotoSansSharada-Regular.ttf +0 -0
  84. data/fonts/NotoSansShavian-Regular.ttf +0 -0
  85. data/fonts/NotoSansSinhala-Regular.ttf +0 -0
  86. data/fonts/NotoSansSoraSompeng-Regular.ttf +0 -0
  87. data/fonts/NotoSansSoyombo-Regular.ttf +0 -0
  88. data/fonts/NotoSansSundanese-Regular.ttf +0 -0
  89. data/fonts/NotoSansSylotiNagri-Regular.ttf +0 -0
  90. data/fonts/NotoSansSymbols-Regular.ttf +0 -0
  91. data/fonts/NotoSansSymbols2-Regular.ttf +0 -0
  92. data/fonts/NotoSansSyriac-Regular.ttf +0 -0
  93. data/fonts/NotoSansTagalog-Regular.ttf +0 -0
  94. data/fonts/NotoSansTagbanwa-Regular.ttf +0 -0
  95. data/fonts/NotoSansTaiLe-Regular.ttf +0 -0
  96. data/fonts/NotoSansTaiTham-Regular.ttf +0 -0
  97. data/fonts/NotoSansTaiViet-Regular.ttf +0 -0
  98. data/fonts/NotoSansTakri-Regular.ttf +0 -0
  99. data/fonts/NotoSansTamil-Regular.ttf +0 -0
  100. data/fonts/NotoSansTelugu-Regular.ttf +0 -0
  101. data/fonts/NotoSansThaana-Regular.ttf +0 -0
  102. data/fonts/NotoSansThai-Regular.ttf +0 -0
  103. data/fonts/NotoSansTifinagh-Regular.ttf +0 -0
  104. data/fonts/NotoSansTifinaghAPT-Regular.ttf +0 -0
  105. data/fonts/NotoSansTifinaghAdrar-Regular.ttf +0 -0
  106. data/fonts/NotoSansTifinaghAgrawImazighen-Regular.ttf +0 -0
  107. data/fonts/NotoSansTifinaghAhaggar-Regular.ttf +0 -0
  108. data/fonts/NotoSansTifinaghAir-Regular.ttf +0 -0
  109. data/fonts/NotoSansTifinaghAzawagh-Regular.ttf +0 -0
  110. data/fonts/NotoSansTifinaghGhat-Regular.ttf +0 -0
  111. data/fonts/NotoSansTifinaghHawad-Regular.ttf +0 -0
  112. data/fonts/NotoSansTifinaghRhissaIxa-Regular.ttf +0 -0
  113. data/fonts/NotoSansTifinaghSIL-Regular.ttf +0 -0
  114. data/fonts/NotoSansTifinaghTawellemmet-Regular.ttf +0 -0
  115. data/fonts/NotoSansTirhuta-Regular.ttf +0 -0
  116. data/fonts/NotoSansVai-Regular.ttf +0 -0
  117. data/fonts/NotoSansWancho-Regular.ttf +0 -0
  118. data/fonts/NotoSansWarangCiti-Regular.ttf +0 -0
  119. data/fonts/NotoSansYi-Regular.ttf +0 -0
  120. data/fonts/NotoSansZanabazarSquare-Regular.ttf +0 -0
  121. data/fonts/NotoSerifArmenian-Regular.ttf +0 -0
  122. data/fonts/NotoSerifBalinese-Regular.ttf +0 -0
  123. data/fonts/NotoSerifBengali-Regular.ttf +0 -0
  124. data/fonts/NotoSerifDevanagari-Regular.ttf +0 -0
  125. data/fonts/NotoSerifDogra-Regular.ttf +0 -0
  126. data/fonts/NotoSerifEthiopic-Regular.ttf +0 -0
  127. data/fonts/NotoSerifGeorgian-Regular.ttf +0 -0
  128. data/fonts/NotoSerifGrantha-Regular.ttf +0 -0
  129. data/fonts/NotoSerifGujarati-Regular.ttf +0 -0
  130. data/fonts/NotoSerifGurmukhi-Regular.ttf +0 -0
  131. data/fonts/NotoSerifHebrew-Regular.ttf +0 -0
  132. data/fonts/NotoSerifKannada-Regular.ttf +0 -0
  133. data/fonts/NotoSerifKhmer-Regular.ttf +0 -0
  134. data/fonts/NotoSerifKhojki-Regular.ttf +0 -0
  135. data/fonts/NotoSerifLao-Regular.ttf +0 -0
  136. data/fonts/NotoSerifMalayalam-Regular.ttf +0 -0
  137. data/fonts/NotoSerifMyanmar-Regular.ttf +0 -0
  138. data/fonts/NotoSerifNPHmong-Regular.ttf +0 -0
  139. data/fonts/NotoSerifSinhala-Regular.ttf +0 -0
  140. data/fonts/NotoSerifTamil-Regular.ttf +0 -0
  141. data/fonts/NotoSerifTelugu-Regular.ttf +0 -0
  142. data/fonts/NotoSerifThai-Regular.ttf +0 -0
  143. data/fonts/NotoSerifTibetan-Regular.ttf +0 -0
  144. data/fonts/NotoSerifYezidi-Regular.ttf +0 -0
  145. data/fonts/Pyidaungsu-2.5.3_Regular.ttf +0 -0
  146. data/fonts/STIXTwoMath-Regular.otf +0 -0
  147. data/fonts/Tinos-Bold.ttf +0 -0
  148. data/fonts/Tinos-BoldItalic.ttf +0 -0
  149. data/fonts/Tinos-Italic.ttf +0 -0
  150. data/fonts/Tinos-Regular.ttf +0 -0
  151. data/fonts/TwemojiMozilla.ttf +0 -0
  152. data/fonts/fonts.conf +0 -183
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c4afffc8d47d738f3b7681fb5cd7a912462d110ae5b550081f306435ab1a78a
4
- data.tar.gz: b17ac5d81b86d3e7df1f040205745906372f8299ac0672e6b65451c38f1842a7
3
+ metadata.gz: f286a9ec3a4254f5dde3620fb7bfbc3a01b44cefcdecbc1b328063121311dd3e
4
+ data.tar.gz: 7afacf1a8f950a963801793b89da250145a5eb562a4bd5aa720aa54e21fd892a
5
5
  SHA512:
6
- metadata.gz: fb50836ee804e2d3e6da25007b678974c02107b951972c9a91c03a0970c07f7e628a31b1a4da290ec613bbac6a65a75cd4d4186fc5e9ba4d004cb382f90aa4be
7
- data.tar.gz: 70db8894e6728cf891d1e7f2f280486e10357867054f2eaa286ea3f51cd6e2b9de4e63d3e29212b51f7a9c7a09467057a63c5568878583c64369d875dfa27efb
6
+ metadata.gz: 735e4acd13a71084fad1dd72348c690942e4f2bbe517a69e24af06f51a4451569e4cb2c75ad162dfd7927640902ce83ca6387b0531a540bf3a8f7ad41da04737
7
+ data.tar.gz: e87c7db4bc1e5519ab4a31c492dfb9dd50e0c8e392ac9bd06a8c00e078037295a6b3bdac44241ca9ec312c00725d6bc9b5b739d720bd3e44e3dd57e4f3ef48f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  ## master (unreleased)
2
2
 
3
+ ## [2.4.0] - 2026-02-26
4
+
5
+ * remove unecessary fonts directory
6
+
7
+ ### Bug fixes
8
+
9
+ * Fix fonts fingerprint leak in 16.0a3 [#22](https://gitlab.com/matzfan/selenium-tor/-/issues/22)
10
+
11
+ ## [2.3.1] - 2025-11-13
12
+
13
+ * update fonts directory for Tor Browser 15.0.1
14
+
3
15
  ## [2.3.0] - 2025-10-29
4
16
 
5
17
  * add fonts dir
data/lib/tor/driver.rb CHANGED
@@ -38,7 +38,7 @@ module Selenium
38
38
  @options = options || Options.new # fix for issue #11, 'tis a puzzlement
39
39
  @options.add_argument '-remote-allow-system-access' # FF 138+
40
40
  add_torrc_path_to_options
41
- @instance = DriverDelegate.new(options: @options, **)
41
+ @instance = while_in_tbb_browser_directory { DriverDelegate.new(options: @options, **) } # fixes #22
42
42
  install_extensions @instance
43
43
  pid = create_tor_process_and_start_tor(@options.tor_opts)
44
44
  @instance.pref[PREF_SOCKS_PORT] = socks_port(pid)
@@ -74,6 +74,14 @@ module Selenium
74
74
 
75
75
  private
76
76
 
77
+ def while_in_tbb_browser_directory
78
+ cwd = FileUtils.pwd
79
+ FileUtils.cd Selenium::WebDriver::Tor::TBB_BROWSER_DIR # avoids font fingerprint leaks
80
+ yield
81
+ ensure
82
+ FileUtils.cd cwd
83
+ end
84
+
77
85
  def add_torrc_path_to_options
78
86
  @options.prefs[PREF_TORRC_PATH] = File.join(@data_dir, TORRC)
79
87
  end
@@ -1,4 +1,44 @@
1
1
  ---
2
+ 16.0a3:
3
+ unpatched_libxul: a187365b3f57776ea04a4bba4b23f51fe43f2900d87d2569ddfcf7fe4685fbda
4
+ patched_libxul: 9d485988ce3ad967f31a9a71025fcdf155ded283733455290a45991c19e869a1
5
+ patch_checksum: 1ac139fea9f3c2c67881bd7e26e9fb003c24fd208d54a2a213e40649add946bb
6
+ 16.0a2:
7
+ unpatched_libxul: 0dc16fd77c7aaac9f6d134cea5564e8243de36783973f4da760dd3560691cb0d
8
+ patched_libxul: a878adb5121b2bb2b2374f83c3b6fca74bf65fc6cbd7deab642a8059df72cc05
9
+ patch_checksum: 3f9199978ace876785179353950a46a6bc7ae4d27df077f89ccedfea0978fbe6
10
+ 16.0a1:
11
+ unpatched_libxul: 031bb945f33ab3c735c5a83005a73c0969eaff5c354e3d84aed2d7d39d0e05e1
12
+ patched_libxul: 7b87200bb0a406f8d4c0660413aab05b61eb539e7596082b8f4c78d083b072a1
13
+ patch_checksum: 6315196938fa4c3bae59b300426f2dac1141fb075c19fcdbebd656d0c3452dd5
14
+ 15.0.7:
15
+ unpatched_libxul: 46c9b9c8882645386a3ca9714f6abc09198fbd1ae233509cb658ebc6b689e444
16
+ patched_libxul: b1770187f513bd6bfb8a86fbd4617b1de142c43529f350e9ba79ac52216b4e5a
17
+ patch_checksum: 7728f963d584554c88d62ff8089b0b16d8c3069caeeb57ec7eff6ab166667f61
18
+ 15.0.6:
19
+ unpatched_libxul: 9dbfd27b2c88604ba04ea8c92683df34027b3392ef2171480da72b533c793614
20
+ patched_libxul: 82bfea6a5de59f9947e512a534229c2d1aee4d83fbe46638a4071f8d7512e65a
21
+ patch_checksum: 01e91f4e261f74351447a11533f5631ffef728118a411d3c8ba21c0c1a13e498
22
+ 15.0.5:
23
+ unpatched_libxul: 87104495fdf3e0299af0700545858a9c052c4374bf0bfcf46ee6abf066b65571
24
+ patched_libxul: c1261174d8acc26d78d12e16f73f0400ce40eb3910651c9858eee62a95268b72
25
+ patch_checksum: b0c4712a27ba8a14b4097080cc00cf1354e7fcafe180b1731597464ced781116
26
+ 15.0.4:
27
+ unpatched_libxul: 8a5feff13dead97c95f72feea58d59dc5739d17af87d4aaeaed89464d1c73c2e
28
+ patched_libxul: 4a1052cbbb934d7e4427bd8455d854ae8fc08d8fc34df55810023455d993a4ce
29
+ patch_checksum: c00b5829dee7e24996b0dd8a68867b8efd251b5f75ce263a044ff23d91608851
30
+ 15.0.3:
31
+ unpatched_libxul: c5f7d577b12012f1ff1fad8e02d99354b736f9bfba63ff8006f12b88c6e8a70f
32
+ patched_libxul: 26c521e23f1323f72f3526aa699782d88fca795cff72cd0380baf1e91be55a87
33
+ patch_checksum: ee3262639c6e12ce82a7f23a4f3b794656ae93f46538ced232b42ddbf16266fd
34
+ 15.0.2:
35
+ unpatched_libxul: 68e908562fd551d0801818de8a266ab4a39e67a20724443f8811bc400177be6a
36
+ patched_libxul: 8d332f6ca8c8008f3ca2ac77424253771152336677c050aa738ff4903c2e9672
37
+ patch_checksum: d877cb97c96eb41acbde29fd37fb53c83cfbb9e9ceaaf9da707c7c7da977f35e
38
+ 15.0.1:
39
+ unpatched_libxul: b2f51b7b3757ae122de10c11764588abd24e92106efcf0f2ca413f7fcbe57b0f
40
+ patched_libxul: f3eff899dc46a98bb8b0604c517f8078327ca8f01c18da578c492419fbc7caab
41
+ patch_checksum: b80b2148000cdf65acfab1c192f4bcc493fd512512a7d6f74e7b3844a49c39f3
2
42
  !!str 15.0:
3
43
  unpatched_libxul: 26f036483a287cd983e2d902509488ee0417852acfe604bdae20426af06cb40f
4
44
  patched_libxul: 38404fadd00e469dbae95981a7999d5204113a4bec0229ff193cf05a0363f364
data/lib/tor/options.rb CHANGED
@@ -37,9 +37,10 @@ module Selenium
37
37
 
38
38
  def do_start_tor_browser_script_stuff
39
39
  ENV['SESSION_MANAGER'] = nil
40
- ENV['GSETTINGS_BACKEND'] = 'memory'
41
40
  ENV['XAUTHORITY'] = File.join(Dir.home, '.Xauthority') unless ENV.fetch('XAUTHORITY', nil)
42
- FileUtils.rm_rf File.join(Tor::TBB_BROWSER_DIR, *%w[TorBrowser Data fontconfig])
41
+ ENV['BB_ORIGINAL_HOME'] = Dir.home
42
+ ENV['GSETTINGS_BACKEND'] = 'memory'
43
+ ENV['__GL_SHADER_DISK_CACHE'] = '0'
43
44
  end
44
45
  end
45
46
  end
data/lib/tor/version.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Selenium
4
4
  module WebDriver
5
5
  module Tor
6
- VERSION = '2.3.0'
6
+ VERSION = '2.4.0'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium_tor
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MatzFan
@@ -50,151 +50,6 @@ files:
50
50
  - LICENSE.txt
51
51
  - README.md
52
52
  - Rakefile
53
- - fonts/000_README.txt
54
- - fonts/Arimo-Bold.ttf
55
- - fonts/Arimo-BoldItalic.ttf
56
- - fonts/Arimo-Italic.ttf
57
- - fonts/Arimo-Regular.ttf
58
- - fonts/Cousine-Bold.ttf
59
- - fonts/Cousine-BoldItalic.ttf
60
- - fonts/Cousine-Italic.ttf
61
- - fonts/Cousine-Regular.ttf
62
- - fonts/Jigmo.ttf
63
- - fonts/Jigmo2.ttf
64
- - fonts/Jigmo3.ttf
65
- - fonts/NotoColorEmoji.ttf
66
- - fonts/NotoNaskhArabic-Regular.ttf
67
- - fonts/NotoSansAdlam-Regular.ttf
68
- - fonts/NotoSansArmenian-Regular.ttf
69
- - fonts/NotoSansBalinese-Regular.ttf
70
- - fonts/NotoSansBamum-Regular.ttf
71
- - fonts/NotoSansBassaVah-Regular.ttf
72
- - fonts/NotoSansBatak-Regular.ttf
73
- - fonts/NotoSansBengali-Regular.ttf
74
- - fonts/NotoSansBuginese-Regular.ttf
75
- - fonts/NotoSansBuhid-Regular.ttf
76
- - fonts/NotoSansCanadianAboriginal-Regular.ttf
77
- - fonts/NotoSansChakma-Regular.ttf
78
- - fonts/NotoSansCham-Regular.ttf
79
- - fonts/NotoSansCherokee-Regular.ttf
80
- - fonts/NotoSansCoptic-Regular.ttf
81
- - fonts/NotoSansDeseret-Regular.ttf
82
- - fonts/NotoSansDevanagari-Regular.ttf
83
- - fonts/NotoSansElbasan-Regular.ttf
84
- - fonts/NotoSansEthiopic-Regular.ttf
85
- - fonts/NotoSansGeorgian-Regular.ttf
86
- - fonts/NotoSansGrantha-Regular.ttf
87
- - fonts/NotoSansGujarati-Regular.ttf
88
- - fonts/NotoSansGunjalaGondi-Regular.ttf
89
- - fonts/NotoSansGurmukhi-Regular.ttf
90
- - fonts/NotoSansHanifiRohingya-Regular.ttf
91
- - fonts/NotoSansHanunoo-Regular.ttf
92
- - fonts/NotoSansHebrew-Regular.ttf
93
- - fonts/NotoSansJavanese-Regular.ttf
94
- - fonts/NotoSansKannada-Regular.ttf
95
- - fonts/NotoSansKayahLi-Regular.ttf
96
- - fonts/NotoSansKhmer-Regular.ttf
97
- - fonts/NotoSansKhojki-Regular.ttf
98
- - fonts/NotoSansKhudawadi-Regular.ttf
99
- - fonts/NotoSansLao-Regular.ttf
100
- - fonts/NotoSansLepcha-Regular.ttf
101
- - fonts/NotoSansLimbu-Regular.ttf
102
- - fonts/NotoSansLisu-Regular.ttf
103
- - fonts/NotoSansMahajani-Regular.ttf
104
- - fonts/NotoSansMalayalam-Regular.ttf
105
- - fonts/NotoSansMandaic-Regular.ttf
106
- - fonts/NotoSansMasaramGondi-Regular.ttf
107
- - fonts/NotoSansMedefaidrin-Regular.ttf
108
- - fonts/NotoSansMeeteiMayek-Regular.ttf
109
- - fonts/NotoSansMendeKikakui-Regular.ttf
110
- - fonts/NotoSansMiao-Regular.ttf
111
- - fonts/NotoSansModi-Regular.ttf
112
- - fonts/NotoSansMongolian-Regular.ttf
113
- - fonts/NotoSansMro-Regular.ttf
114
- - fonts/NotoSansMultani-Regular.ttf
115
- - fonts/NotoSansNKo-Regular.ttf
116
- - fonts/NotoSansNewTaiLue-Regular.ttf
117
- - fonts/NotoSansNewa-Regular.ttf
118
- - fonts/NotoSansOlChiki-Regular.ttf
119
- - fonts/NotoSansOriya-Regular.ttf
120
- - fonts/NotoSansOsage-Regular.ttf
121
- - fonts/NotoSansOsmanya-Regular.ttf
122
- - fonts/NotoSansPahawhHmong-Regular.ttf
123
- - fonts/NotoSansPauCinHau-Regular.ttf
124
- - fonts/NotoSansRejang-Regular.ttf
125
- - fonts/NotoSansRunic-Regular.ttf
126
- - fonts/NotoSansSamaritan-Regular.ttf
127
- - fonts/NotoSansSaurashtra-Regular.ttf
128
- - fonts/NotoSansSharada-Regular.ttf
129
- - fonts/NotoSansShavian-Regular.ttf
130
- - fonts/NotoSansSinhala-Regular.ttf
131
- - fonts/NotoSansSoraSompeng-Regular.ttf
132
- - fonts/NotoSansSoyombo-Regular.ttf
133
- - fonts/NotoSansSundanese-Regular.ttf
134
- - fonts/NotoSansSylotiNagri-Regular.ttf
135
- - fonts/NotoSansSymbols-Regular.ttf
136
- - fonts/NotoSansSymbols2-Regular.ttf
137
- - fonts/NotoSansSyriac-Regular.ttf
138
- - fonts/NotoSansTagalog-Regular.ttf
139
- - fonts/NotoSansTagbanwa-Regular.ttf
140
- - fonts/NotoSansTaiLe-Regular.ttf
141
- - fonts/NotoSansTaiTham-Regular.ttf
142
- - fonts/NotoSansTaiViet-Regular.ttf
143
- - fonts/NotoSansTakri-Regular.ttf
144
- - fonts/NotoSansTamil-Regular.ttf
145
- - fonts/NotoSansTelugu-Regular.ttf
146
- - fonts/NotoSansThaana-Regular.ttf
147
- - fonts/NotoSansThai-Regular.ttf
148
- - fonts/NotoSansTifinagh-Regular.ttf
149
- - fonts/NotoSansTifinaghAPT-Regular.ttf
150
- - fonts/NotoSansTifinaghAdrar-Regular.ttf
151
- - fonts/NotoSansTifinaghAgrawImazighen-Regular.ttf
152
- - fonts/NotoSansTifinaghAhaggar-Regular.ttf
153
- - fonts/NotoSansTifinaghAir-Regular.ttf
154
- - fonts/NotoSansTifinaghAzawagh-Regular.ttf
155
- - fonts/NotoSansTifinaghGhat-Regular.ttf
156
- - fonts/NotoSansTifinaghHawad-Regular.ttf
157
- - fonts/NotoSansTifinaghRhissaIxa-Regular.ttf
158
- - fonts/NotoSansTifinaghSIL-Regular.ttf
159
- - fonts/NotoSansTifinaghTawellemmet-Regular.ttf
160
- - fonts/NotoSansTirhuta-Regular.ttf
161
- - fonts/NotoSansVai-Regular.ttf
162
- - fonts/NotoSansWancho-Regular.ttf
163
- - fonts/NotoSansWarangCiti-Regular.ttf
164
- - fonts/NotoSansYi-Regular.ttf
165
- - fonts/NotoSansZanabazarSquare-Regular.ttf
166
- - fonts/NotoSerifArmenian-Regular.ttf
167
- - fonts/NotoSerifBalinese-Regular.ttf
168
- - fonts/NotoSerifBengali-Regular.ttf
169
- - fonts/NotoSerifDevanagari-Regular.ttf
170
- - fonts/NotoSerifDogra-Regular.ttf
171
- - fonts/NotoSerifEthiopic-Regular.ttf
172
- - fonts/NotoSerifGeorgian-Regular.ttf
173
- - fonts/NotoSerifGrantha-Regular.ttf
174
- - fonts/NotoSerifGujarati-Regular.ttf
175
- - fonts/NotoSerifGurmukhi-Regular.ttf
176
- - fonts/NotoSerifHebrew-Regular.ttf
177
- - fonts/NotoSerifKannada-Regular.ttf
178
- - fonts/NotoSerifKhmer-Regular.ttf
179
- - fonts/NotoSerifKhojki-Regular.ttf
180
- - fonts/NotoSerifLao-Regular.ttf
181
- - fonts/NotoSerifMalayalam-Regular.ttf
182
- - fonts/NotoSerifMyanmar-Regular.ttf
183
- - fonts/NotoSerifNPHmong-Regular.ttf
184
- - fonts/NotoSerifSinhala-Regular.ttf
185
- - fonts/NotoSerifTamil-Regular.ttf
186
- - fonts/NotoSerifTelugu-Regular.ttf
187
- - fonts/NotoSerifThai-Regular.ttf
188
- - fonts/NotoSerifTibetan-Regular.ttf
189
- - fonts/NotoSerifYezidi-Regular.ttf
190
- - fonts/Pyidaungsu-2.5.3_Regular.ttf
191
- - fonts/STIXTwoMath-Regular.otf
192
- - fonts/Tinos-Bold.ttf
193
- - fonts/Tinos-BoldItalic.ttf
194
- - fonts/Tinos-Italic.ttf
195
- - fonts/Tinos-Regular.ttf
196
- - fonts/TwemojiMozilla.ttf
197
- - fonts/fonts.conf
198
53
  - lib/driver.rb
199
54
  - lib/firefox_js_helpers.rb
200
55
  - lib/firefox_prefs.rb
@@ -234,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
89
  - !ruby/object:Gem::Version
235
90
  version: '0'
236
91
  requirements: []
237
- rubygems_version: 3.7.0.dev
92
+ rubygems_version: 4.0.6
238
93
  specification_version: 4
239
94
  summary: Selenium extension for Tor Browser
240
95
  test_files: []
data/fonts/000_README.txt DELETED
@@ -1,6 +0,0 @@
1
- DO NOT MODIFY THE CONTENTS OF THIS DIRECTORY
2
-
3
- Any adjustment to bundled fonts will result in an altered fingerprint. Font
4
- fingerprinting is more than just detecting what fonts you have, it also includes
5
- font fallbacks and characters (Unicode code points) and any change in those can
6
- be measured.
data/fonts/Arimo-Bold.ttf DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/fonts/Jigmo.ttf DELETED
Binary file
data/fonts/Jigmo2.ttf DELETED
Binary file
data/fonts/Jigmo3.ttf DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/fonts/Tinos-Bold.ttf DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
data/fonts/fonts.conf DELETED
@@ -1,183 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
- <!--
4
- **DO NOT EDIT THIS FILE!**
5
- This file sets Tor Browser's bundled fonts as the only available system fonts
6
- and standardizes rendering settings.
7
- Any changes might deanonymize you, or expose you to fingerprinting vectors.
8
- -->
9
- <!--
10
- Derived from fonts.conf.in of Fontconfig.
11
-
12
- Copyright © 2000,2001,2002,2003,2004,2006,2007 Keith Packard
13
- Copyright © 2005 Patrick Lam
14
- Copyright © 2009 Roozbeh Pournader
15
- Copyright © 2008,2009 Red Hat, Inc.
16
- Copyright © 2008 Danilo Šegan
17
- Copyright © 2012 Google, Inc.
18
-
19
-
20
- Permission to use, copy, modify, distribute, and sell this software and its
21
- documentation for any purpose is hereby granted without fee, provided that
22
- the above copyright notice appear in all copies and that both that
23
- copyright notice and this permission notice appear in supporting
24
- documentation, and that the name of the author(s) not be used in
25
- advertising or publicity pertaining to distribution of the software without
26
- specific, written prior permission. The authors make no
27
- representations about the suitability of this software for any purpose. It
28
- is provided "as is" without express or implied warranty.
29
-
30
- THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
31
- INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
32
- EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
33
- CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
34
- DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
35
- TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
36
- PERFORMANCE OF THIS SOFTWARE.
37
- -->
38
- <fontconfig>
39
-
40
- <!-- Font directory list -->
41
-
42
- <dir prefix="cwd">fonts</dir>
43
-
44
- <!--
45
- Accept deprecated 'mono' alias, replacing it with 'monospace'
46
- -->
47
- <match target="pattern">
48
- <test qual="any" name="family">
49
- <string>mono</string>
50
- </test>
51
- <edit name="family" mode="assign" binding="same">
52
- <string>monospace</string>
53
- </edit>
54
- </match>
55
-
56
- <!--
57
- Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
58
- -->
59
- <match target="pattern">
60
- <test qual="any" name="family">
61
- <string>sans serif</string>
62
- </test>
63
- <edit name="family" mode="assign" binding="same">
64
- <string>sans-serif</string>
65
- </edit>
66
- </match>
67
-
68
- <!--
69
- Accept deprecated 'sans' alias, replacing it with 'sans-serif'
70
- -->
71
- <match target="pattern">
72
- <test qual="any" name="family">
73
- <string>sans</string>
74
- </test>
75
- <edit name="family" mode="assign" binding="same">
76
- <string>sans-serif</string>
77
- </edit>
78
- </match>
79
-
80
- <!--
81
- Set our default generic families.
82
- -->
83
- <match target="pattern">
84
- <test qual="any" name="family">
85
- <string>sans-serif</string>
86
- </test>
87
- <edit name="family" mode="assign" binding="same">
88
- <string>Arimo</string>
89
- </edit>
90
- </match>
91
- <match target="pattern">
92
- <test qual="any" name="family">
93
- <string>serif</string>
94
- </test>
95
- <edit name="family" mode="assign" binding="same">
96
- <string>Tinos</string>
97
- </edit>
98
- </match>
99
- <match target="pattern">
100
- <test qual="any" name="family">
101
- <string>monospace</string>
102
- </test>
103
- <edit name="family" mode="assign" binding="same">
104
- <string>Cousine</string>
105
- </edit>
106
- </match>
107
-
108
- <!--
109
- tor-browser#41799, tor-browser-build#41237: Add some aliases for
110
- compatibility.
111
- -->
112
- <match target="pattern">
113
- <test qual="any" name="family">
114
- <string>Arial</string>
115
- </test>
116
- <edit name="family" mode="assign" binding="same">
117
- <string>Arimo</string>
118
- </edit>
119
- </match>
120
- <match target="pattern">
121
- <test qual="any" name="family">
122
- <string>Times New Roman</string>
123
- </test>
124
- <edit name="family" mode="assign" binding="same">
125
- <string>Tinos</string>
126
- </edit>
127
- </match>
128
- <match target="pattern">
129
- <test qual="any" name="family">
130
- <string>Courier New</string>
131
- </test>
132
- <edit name="family" mode="assign" binding="same">
133
- <string>Cousine</string>
134
- </edit>
135
- </match>
136
- <match target="pattern">
137
- <test qual="any" name="family">
138
- <string>Helvetica</string>
139
- </test>
140
- <edit name="family" mode="assign" binding="same">
141
- <string>Arimo</string>
142
- </edit>
143
- </match>
144
- <match target="pattern">
145
- <test qual="any" name="family">
146
- <string>Times</string>
147
- </test>
148
- <edit name="family" mode="assign" binding="same">
149
- <string>Tinos</string>
150
- </edit>
151
- </match>
152
- <match target="pattern">
153
- <test qual="any" name="family">
154
- <string>Courier</string>
155
- </test>
156
- <edit name="family" mode="assign" binding="same">
157
- <string>Cousine</string>
158
- </edit>
159
- </match>
160
-
161
- <!-- Font cache directory list -->
162
-
163
- <cachedir prefix="xdg">fontconfig</cachedir>
164
-
165
- <config>
166
- <!--
167
- Rescan configuration every 30 seconds when FcFontSetList is called
168
- -->
169
- <rescan>
170
- <int>30</int>
171
- </rescan>
172
- </config>
173
-
174
- <!-- Standardize rendering settings. -->
175
- <match target="pattern">
176
- <edit name="antialias" mode="assign"><bool>true</bool></edit>
177
- <edit name="autohint" mode="assign"><bool>false</bool></edit>
178
- <edit name="hinting" mode="assign"><bool>true</bool></edit>
179
- <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
180
- <edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
181
- <edit name="rgba" mode="assign"><const>none</const></edit>
182
- </match>
183
- </fontconfig>