Compare commits
2385 Commits
v1.0.6
...
april-fool
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e1f166d22 | ||
|
|
c89c98549d | ||
|
|
2dddd44537 | ||
|
|
cdfd5ae3a3 | ||
|
|
05d37ec650 | ||
|
|
f3ae38e77a | ||
|
|
6f5bde2d0e | ||
|
|
f50110636d | ||
|
|
2a64499ba9 | ||
|
|
bb901be43f | ||
|
|
e4f6bbfcd6 | ||
|
|
ece0c3c8f0 | ||
|
|
88fc02dacd | ||
|
|
834ae33696 | ||
|
|
46c5b5897e | ||
|
|
d2c50d2562 | ||
|
|
5d72498aac | ||
|
|
e8536fd404 | ||
|
|
9489354357 | ||
|
|
940350504a | ||
|
|
0e37ebd789 | ||
|
|
c66110a60f | ||
|
|
ac7f2eb5b1 | ||
|
|
0cdbcfc97e | ||
|
|
821bbc969b | ||
|
|
e20011ce08 | ||
|
|
e30bccd2b7 | ||
|
|
c0cfa3a683 | ||
|
|
f7510eea88 | ||
|
|
24fc5e4370 | ||
|
|
5b62e76a63 | ||
|
|
15c73d7940 | ||
|
|
36f0fccd9c | ||
|
|
d4544a7c47 | ||
|
|
d9f1ee9bb8 | ||
|
|
5f4c4332be | ||
|
|
1acda5fe0a | ||
|
|
21d4f0487c | ||
|
|
340127a7f3 | ||
|
|
38ab10a191 | ||
|
|
ced30c711e | ||
|
|
6bb265939a | ||
|
|
d495be18a3 | ||
|
|
476efff47b | ||
|
|
dcbefb5457 | ||
|
|
b167cecdce | ||
|
|
924c777736 | ||
|
|
405fb342f0 | ||
|
|
c76f241b63 | ||
|
|
54013681ef | ||
|
|
8e94a05fa9 | ||
|
|
7c747e6566 | ||
|
|
effac2449a | ||
|
|
d02aab4ba3 | ||
|
|
a1caf8fbdb | ||
|
|
a3734e050f | ||
|
|
5496b05c88 | ||
|
|
f6d2497e7b | ||
|
|
6ea18fd536 | ||
|
|
3d51c4eb53 | ||
|
|
e11a8531fe | ||
|
|
05ba554075 | ||
|
|
0e5606423e | ||
|
|
87354009b5 | ||
|
|
50c87a6842 | ||
|
|
84a234f9b6 | ||
|
|
fd5ab9f153 | ||
|
|
30fe40a523 | ||
|
|
6e23650a99 | ||
|
|
d6a0029b85 | ||
|
|
f25f986200 | ||
|
|
8843fb767e | ||
|
|
3a17299610 | ||
|
|
64d2c0a299 | ||
|
|
a2a5d27900 | ||
|
|
eb9e2d8726 | ||
|
|
ddc34bacc7 | ||
|
|
60b0a59ba1 | ||
|
|
c9903b5926 | ||
|
|
db7251cbfb | ||
|
|
fcf42560bf | ||
|
|
036b3967a9 | ||
|
|
e622ee725c | ||
|
|
5ace92dc8b | ||
|
|
bb490bf7ad | ||
|
|
4cc248eb17 | ||
|
|
2e8ce93c1d | ||
|
|
4fc9856e34 | ||
|
|
f92e3dbc9a | ||
|
|
7f75929d81 | ||
|
|
43699c1875 | ||
|
|
6128d37ac2 | ||
|
|
c64c5125fb | ||
|
|
cbb8d48820 | ||
|
|
008079c74c | ||
|
|
e65642237f | ||
|
|
84d4c9da4c | ||
|
|
e623af859f | ||
|
|
8c60f25d4a | ||
|
|
7896b474db | ||
|
|
4d60dec7f9 | ||
|
|
53d0ac8677 | ||
|
|
e4ba67999c | ||
|
|
0b6ade4a1d | ||
|
|
816e9a78be | ||
|
|
ccb0e8bed9 | ||
|
|
459de6654a | ||
|
|
8b6f0d8a2e | ||
|
|
cf792e849f | ||
|
|
fce82b48b0 | ||
|
|
3d2fe8c409 | ||
|
|
f513c3b8cb | ||
|
|
c66e624c16 | ||
|
|
ddca15ca01 | ||
|
|
199ccb1b12 | ||
|
|
552b33104b | ||
|
|
57b952f64c | ||
|
|
6867fa88d3 | ||
|
|
93af8d966b | ||
|
|
32fa9c3398 | ||
|
|
4a8e769596 | ||
|
|
9c836a89a3 | ||
|
|
b21b6edb0c | ||
|
|
ca49b48814 | ||
|
|
2b9a93deb0 | ||
|
|
d9dede6578 | ||
|
|
2a8a9ba667 | ||
|
|
1bd7c6a33a | ||
|
|
f5301fc374 | ||
|
|
159e7598d7 | ||
|
|
2bd1688d8d | ||
|
|
26143460b7 | ||
|
|
2575141d35 | ||
|
|
48124e56d6 | ||
|
|
e8307a2af7 | ||
|
|
d01ed86803 | ||
|
|
628c978286 | ||
|
|
a0ba496d83 | ||
|
|
0ac4ef7a4b | ||
|
|
ba2efe59cb | ||
|
|
88f61cf292 | ||
|
|
86e5ef7523 | ||
|
|
0451dcd975 | ||
|
|
ba7d46dd73 | ||
|
|
1115ffd8cf | ||
|
|
fa926ef686 | ||
|
|
22fcea99f5 | ||
|
|
876b55dcc1 | ||
|
|
6d0d533fa7 | ||
|
|
9457aff44f | ||
|
|
193374db30 | ||
|
|
2a7f08f360 | ||
|
|
b02e4c1b4f | ||
|
|
8922c6cb67 | ||
|
|
f555a8e7bb | ||
|
|
aac2572b4e | ||
|
|
56e7dc842e | ||
|
|
8452bfb32a | ||
|
|
c49ebbe371 | ||
|
|
e87ec3842b | ||
|
|
595cb84941 | ||
|
|
8d5f244d2f | ||
|
|
8455ac8b39 | ||
|
|
666aaab7f2 | ||
|
|
963ead0a30 | ||
|
|
28a711de75 | ||
|
|
1fca10a1c1 | ||
|
|
96cefeaaf3 | ||
|
|
23a6940894 | ||
|
|
7f2b1c60c7 | ||
|
|
c542cd9f73 | ||
|
|
7e091d1c67 | ||
|
|
6a07a9f693 | ||
|
|
c34d1e0bc1 | ||
|
|
b4c8e54d3e | ||
|
|
b83426caba | ||
|
|
9da99688d3 | ||
|
|
9bcee6afce | ||
|
|
1b5d7ccf3e | ||
|
|
41a8b2718a | ||
|
|
002f22c040 | ||
|
|
bf735f47b0 | ||
|
|
e4aa7efd3c | ||
|
|
b210b22af3 | ||
|
|
154e12f201 | ||
|
|
b6c1ee1743 | ||
|
|
6b6ca6198f | ||
|
|
6788394be1 | ||
|
|
059a674ae1 | ||
|
|
a45bd4c5c7 | ||
|
|
bb47863080 | ||
|
|
d50a69f1fd | ||
|
|
31014b78ac | ||
|
|
cf9e016581 | ||
|
|
dee836c783 | ||
|
|
5c7f8cef45 | ||
|
|
9f5ec09789 | ||
|
|
a82062da5b | ||
|
|
35da572f3f | ||
|
|
cf01679f16 | ||
|
|
16f4ab53b6 | ||
|
|
65f4a2ec28 | ||
|
|
983b1f64da | ||
|
|
70b2491975 | ||
|
|
0fdb76ffe0 | ||
|
|
e2ba5c2063 | ||
|
|
6d4ec823a0 | ||
|
|
917e644822 | ||
|
|
c986860a42 | ||
|
|
881cea4f6d | ||
|
|
5dd78e1cb3 | ||
|
|
83db64d084 | ||
|
|
0da8a34e7a | ||
|
|
ed17d4859f | ||
|
|
dc560cd73e | ||
|
|
90eaab4e50 | ||
|
|
3b54fde3f9 | ||
|
|
02d8bf9a6f | ||
|
|
2cf89b1850 | ||
|
|
fb74823c92 | ||
|
|
024480513c | ||
|
|
e9b217c685 | ||
|
|
7b917fb2b6 | ||
|
|
2db35a624a | ||
|
|
c31866ff5f | ||
|
|
e347165073 | ||
|
|
57de51475f | ||
|
|
d16a409db2 | ||
|
|
c63416fd7b | ||
|
|
4d724deba3 | ||
|
|
1aac863df0 | ||
|
|
c7d5011cc0 | ||
|
|
8e964b40b3 | ||
|
|
a6a9b7dd8c | ||
|
|
d23e434209 | ||
|
|
040bce2638 | ||
|
|
388b9179ac | ||
|
|
2883a50f27 | ||
|
|
d36b4a54f3 | ||
|
|
6ed946c998 | ||
|
|
44bc8741ef | ||
|
|
7a7b21cd87 | ||
|
|
229bd23a68 | ||
|
|
894410db98 | ||
|
|
0336157673 | ||
|
|
b758cbb25f | ||
|
|
f2be7a9c5b | ||
|
|
8763d173bd | ||
|
|
07e3117e22 | ||
|
|
12bc10ea1f | ||
|
|
2db1971190 | ||
|
|
9b152a5525 | ||
|
|
7f374f0f86 | ||
|
|
aca52abefc | ||
|
|
6930980a4d | ||
|
|
5af4833763 | ||
|
|
c3107ffcff | ||
|
|
4bca8ad2f7 | ||
|
|
e729e036cf | ||
|
|
7b74307013 | ||
|
|
6aa1665d7c | ||
|
|
a1bae95cdc | ||
|
|
c5b72a01a2 | ||
|
|
8ade66d7b3 | ||
|
|
d42862541b | ||
|
|
54001763a7 | ||
|
|
46e515b130 | ||
|
|
9a9e564dbf | ||
|
|
4971824067 | ||
|
|
dface28c84 | ||
|
|
7186829bc3 | ||
|
|
3d3b261f8f | ||
|
|
33094f2541 | ||
|
|
9f9df9479b | ||
|
|
1c911581db | ||
|
|
071f8b1729 | ||
|
|
8d1b35403d | ||
|
|
a8fee918e4 | ||
|
|
7bca8e508e | ||
|
|
e16aae393f | ||
|
|
44de741e84 | ||
|
|
bc990cd683 | ||
|
|
33098ac659 | ||
|
|
2f8ec7a5e5 | ||
|
|
48f7c1e0a1 | ||
|
|
29c3b80d0b | ||
|
|
dc47b9ffd2 | ||
|
|
eaa47c8d40 | ||
|
|
e4e453a11c | ||
|
|
2209c230e7 | ||
|
|
9d70332c9a | ||
|
|
8150d38df0 | ||
|
|
75b5c31d07 | ||
|
|
c007ac3d86 | ||
|
|
7218be73c6 | ||
|
|
96693342a3 | ||
|
|
d2ff7b5c04 | ||
|
|
9a0f1db31e | ||
|
|
06da4d6556 | ||
|
|
20d0c05049 | ||
|
|
96e4957f71 | ||
|
|
9c5eeac239 | ||
|
|
e685697bbb | ||
|
|
752e515a1c | ||
|
|
ca0f68bb7d | ||
|
|
34884026d9 | ||
|
|
7a38bf0c08 | ||
|
|
5adcec2ca5 | ||
|
|
36989907a2 | ||
|
|
db55778fd8 | ||
|
|
41be51b384 | ||
|
|
e87efe2c67 | ||
|
|
069299e968 | ||
|
|
4d09a603fe | ||
|
|
8b595af5e9 | ||
|
|
41739a8799 | ||
|
|
23bebbca7c | ||
|
|
5f2af12150 | ||
|
|
628abd03f0 | ||
|
|
8e254c5807 | ||
|
|
0647576d6f | ||
|
|
c803ae9499 | ||
|
|
95f45312e1 | ||
|
|
9dda9a583d | ||
|
|
d1e6421e5b | ||
|
|
bd0a6aaaad | ||
|
|
1e8b176c69 | ||
|
|
14018798f7 | ||
|
|
a0d06ca6e8 | ||
|
|
95fe1eef6f | ||
|
|
38b1dda20b | ||
|
|
07cf1764dc | ||
|
|
aeb9c5b203 | ||
|
|
ad3f0c1a06 | ||
|
|
4bc180077e | ||
|
|
510db57666 | ||
|
|
5ee6a2195d | ||
|
|
63d4c1aedb | ||
|
|
e9204be96f | ||
|
|
0863061665 | ||
|
|
8aea74160c | ||
|
|
d375a97e99 | ||
|
|
fe5499e80a | ||
|
|
598da2a7fe | ||
|
|
fcbeeb9fc1 | ||
|
|
d82ef63d89 | ||
|
|
a457a8009e | ||
|
|
7698be8462 | ||
|
|
738868da8d | ||
|
|
fc7fc693ed | ||
|
|
27f5997e5a | ||
|
|
45274f5c72 | ||
|
|
2bdfd3f39b | ||
|
|
9b9174ab9a | ||
|
|
3e3e9796b1 | ||
|
|
ff5fa4c724 | ||
|
|
b8ab05ccad | ||
|
|
93e440385f | ||
|
|
af66a77026 | ||
|
|
75607dea1c | ||
|
|
5b353b05ac | ||
|
|
3162ab93a1 | ||
|
|
b18f631d33 | ||
|
|
2e254cb917 | ||
|
|
77ce9433a7 | ||
|
|
509e54762f | ||
|
|
caeb347137 | ||
|
|
a2b054844a | ||
|
|
5b79d4ef48 | ||
|
|
3de66ebe23 | ||
|
|
60ef51b7f5 | ||
|
|
aa8ee02277 | ||
|
|
b927ebbbf7 | ||
|
|
d72d5dcbcb | ||
|
|
d9f703d808 | ||
|
|
a9cc43c586 | ||
|
|
844567dcdf | ||
|
|
52ed4f73f4 | ||
|
|
907bd68e4e | ||
|
|
f35afaf6bc | ||
|
|
85b1b51b76 | ||
|
|
9dc5449e37 | ||
|
|
6ea226c972 | ||
|
|
44f9ab9806 | ||
|
|
edd1011737 | ||
|
|
08558bfaeb | ||
|
|
4afc2c153a | ||
|
|
988905c155 | ||
|
|
51aab00985 | ||
|
|
84924b6364 | ||
|
|
93f02877a7 | ||
|
|
7baac9dcbf | ||
|
|
4045978b54 | ||
|
|
56bc3fca04 | ||
|
|
c571a9ecb6 | ||
|
|
1ad60720df | ||
|
|
e5fe99c89b | ||
|
|
3fc32a68c3 | ||
|
|
142cc2881f | ||
|
|
4de55ea5fe | ||
|
|
620e75517c | ||
|
|
cba26a42af | ||
|
|
f3f598d6c7 | ||
|
|
fe7d9986fa | ||
|
|
143ca6f6e0 | ||
|
|
69ce065588 | ||
|
|
bfa31429f1 | ||
|
|
66f0cc8883 | ||
|
|
1a0ac27e49 | ||
|
|
7b87ae7b08 | ||
|
|
9ab8e63b1d | ||
|
|
0e147134f3 | ||
|
|
8605e23fbb | ||
|
|
5f34a777f1 | ||
|
|
1f43d07e16 | ||
|
|
a88aaf4590 | ||
|
|
25f78ed55b | ||
|
|
26e73c515c | ||
|
|
028374e62d | ||
|
|
dc1e5ce762 | ||
|
|
8fcf8ac46c | ||
|
|
ef70e71051 | ||
|
|
23a91c626d | ||
|
|
c92f63af36 | ||
|
|
0a21ef7af0 | ||
|
|
5a74a28520 | ||
|
|
1bfb5cfb13 | ||
|
|
59f8f82655 | ||
|
|
2064afb235 | ||
|
|
ebcb600e99 | ||
|
|
9ec984065e | ||
|
|
63cfe760b6 | ||
|
|
1a717542c7 | ||
|
|
de607d317f | ||
|
|
76d9a9afa9 | ||
|
|
22ecc05a55 | ||
|
|
514ebe8660 | ||
|
|
2f4722162b | ||
|
|
f219122f00 | ||
|
|
008671d97f | ||
|
|
6fb3802fd4 | ||
|
|
73241a0bd1 | ||
|
|
cc995b9848 | ||
|
|
778379d294 | ||
|
|
1083520666 | ||
|
|
cad5cd97fc | ||
|
|
7f5728d4db | ||
|
|
06fa2748fe | ||
|
|
8b50373eab | ||
|
|
bdedf86d63 | ||
|
|
0fb84dc03d | ||
|
|
041ccdaf11 | ||
|
|
1f967b3f69 | ||
|
|
07f0b87379 | ||
|
|
840dbbde4a | ||
|
|
2b9000ff84 | ||
|
|
0d0171530c | ||
|
|
6040d177fa | ||
|
|
2c1f5f16c2 | ||
|
|
0e7a298967 | ||
|
|
9a9f151979 | ||
|
|
ca814c9dcc | ||
|
|
976dbb9159 | ||
|
|
90ce9808f1 | ||
|
|
ef942fca8e | ||
|
|
3671c4bb69 | ||
|
|
ef15526dcd | ||
|
|
096737dcbb | ||
|
|
02360c1f3c | ||
|
|
ccd8342ddb | ||
|
|
4ae2a42c8c | ||
|
|
206d7bc2bd | ||
|
|
0fc9e9b2fb | ||
|
|
5ad809cfb4 | ||
|
|
d1e46825af | ||
|
|
2763b6b6aa | ||
|
|
427b90a5e9 | ||
|
|
60e54ee129 | ||
|
|
4092bf9b05 | ||
|
|
f31c2985e2 | ||
|
|
34cfd14e74 | ||
|
|
3774ef9756 | ||
|
|
098d879fe2 | ||
|
|
49406b7ac6 | ||
|
|
5c704ad241 | ||
|
|
681eb61763 | ||
|
|
71cf9888e8 | ||
|
|
b1aaa0ac5e | ||
|
|
0367f7900f | ||
|
|
47261a360c | ||
|
|
a2c3116bdd | ||
|
|
48a49e4136 | ||
|
|
6de1a58d88 | ||
|
|
43a9ba0f9e | ||
|
|
c3489e54a6 | ||
|
|
75c003b204 | ||
|
|
da5de43121 | ||
|
|
d20a44751c | ||
|
|
15706fd3c4 | ||
|
|
a9e43f95f5 | ||
|
|
11fe87a09e | ||
|
|
52741b2c0a | ||
|
|
09b18a4f6d | ||
|
|
326385f325 | ||
|
|
28884f5e9f | ||
|
|
50d5f956c6 | ||
|
|
585038c902 | ||
|
|
c79b06aed3 | ||
|
|
8d2883b6e2 | ||
|
|
c96ce694b7 | ||
|
|
989b5c9370 | ||
|
|
032264d8bb | ||
|
|
d089e43b8a | ||
|
|
b3336a218e | ||
|
|
bea943dc96 | ||
|
|
12f41521f5 | ||
|
|
36aec560ca | ||
|
|
e8a106d36b | ||
|
|
2c52b9e600 | ||
|
|
3c5316a11c | ||
|
|
c5044d3ebd | ||
|
|
db34f1fd5b | ||
|
|
21f563fdb7 | ||
|
|
3bbc699d98 | ||
|
|
53d688f219 | ||
|
|
2231e2a345 | ||
|
|
e126b59078 | ||
|
|
2a0e893dfc | ||
|
|
8b348a2aeb | ||
|
|
28096e1ba6 | ||
|
|
56b74d6863 | ||
|
|
ffc8f0b6a0 | ||
|
|
4fef6dcfa0 | ||
|
|
a3c80573fa | ||
|
|
a13f5d2359 | ||
|
|
42beaf698c | ||
|
|
4e99754b8c | ||
|
|
422139f474 | ||
|
|
93e5bf5033 | ||
|
|
1bd78ec1c4 | ||
|
|
f01a1ae4ec | ||
|
|
c8611adf50 | ||
|
|
b974806514 | ||
|
|
668b956bb7 | ||
|
|
7b54b79f27 | ||
|
|
ef36c79092 | ||
|
|
c1898d0db7 | ||
|
|
e9e3114549 | ||
|
|
a56bba0612 | ||
|
|
afeba5f077 | ||
|
|
81d0c0cab1 | ||
|
|
de1f18612f | ||
|
|
ba37f5885a | ||
|
|
9c54d141e9 | ||
|
|
4ef8e36821 | ||
|
|
788d4bf73c | ||
|
|
d73c666e1f | ||
|
|
3187efaf1a | ||
|
|
b9bbbebc10 | ||
|
|
d93e9a7d8a | ||
|
|
2a3a04a504 | ||
|
|
13ad7516c2 | ||
|
|
bcb981ae3d | ||
|
|
8d83076ea1 | ||
|
|
17437870e7 | ||
|
|
2373b34067 | ||
|
|
839dd4613c | ||
|
|
c84a951acc | ||
|
|
d0949452da | ||
|
|
1a855a6993 | ||
|
|
1656fae2d4 | ||
|
|
22be10d33f | ||
|
|
324c28b867 | ||
|
|
d56637cb14 | ||
|
|
e720acc674 | ||
|
|
c396d1690d | ||
|
|
2f5d4dfe03 | ||
|
|
821c45a6b6 | ||
|
|
ff44016003 | ||
|
|
b11d99a196 | ||
|
|
6f548987a3 | ||
|
|
c6438872e2 | ||
|
|
8c9424b6c5 | ||
|
|
caae61a6a8 | ||
|
|
777f3a2769 | ||
|
|
6fa5aea680 | ||
|
|
a839480a33 | ||
|
|
797c9d67e4 | ||
|
|
528b475429 | ||
|
|
e39b441c16 | ||
|
|
b8cbedbc4d | ||
|
|
76b78ef132 | ||
|
|
572fee265d | ||
|
|
bfe1e8307d | ||
|
|
1b96e2107a | ||
|
|
3eccf855e5 | ||
|
|
069ae4bb58 | ||
|
|
7f8947dd0a | ||
|
|
0ae34c9603 | ||
|
|
41a3c695dc | ||
|
|
5f92056b94 | ||
|
|
62a64791c6 | ||
|
|
bcf082d760 | ||
|
|
0dd2d18b07 | ||
|
|
2de822c97e | ||
|
|
ad5248f65e | ||
|
|
8d3efb1a90 | ||
|
|
798221606d | ||
|
|
55b38dc30e | ||
|
|
a1722db8d5 | ||
|
|
d27ddc85ae | ||
|
|
6d07abf6c8 | ||
|
|
7adf0ad169 | ||
|
|
0086f00889 | ||
|
|
d458bb0cdf | ||
|
|
bd429f02a7 | ||
|
|
91f3ebed41 | ||
|
|
cc73d2a179 | ||
|
|
d9d2fc8e03 | ||
|
|
3a9d0ad692 | ||
|
|
2843cb6916 | ||
|
|
cbd1f43572 | ||
|
|
38bc6e2b1c | ||
|
|
522dbd7e4d | ||
|
|
31855f7501 | ||
|
|
278394e48a | ||
|
|
4f8166b809 | ||
|
|
c1a65a3383 | ||
|
|
c3b82e7aa7 | ||
|
|
ef435daf6d | ||
|
|
e54ad07901 | ||
|
|
99f1fc60ae | ||
|
|
a2c0c3f79e | ||
|
|
551d9144b7 | ||
|
|
bd2dac69b9 | ||
|
|
db72e490df | ||
|
|
e9b0fae747 | ||
|
|
693997d351 | ||
|
|
e7c92467bd | ||
|
|
e80b7afe80 | ||
|
|
a6728d34a0 | ||
|
|
43484ee656 | ||
|
|
af5946195a | ||
|
|
a7f4b66e22 | ||
|
|
5b59864639 | ||
|
|
d57d3e6b8b | ||
|
|
4dfef176db | ||
|
|
9b8daa7a3e | ||
|
|
b6d6856ff0 | ||
|
|
8fad730a77 | ||
|
|
a118d80548 | ||
|
|
930911e2b9 | ||
|
|
47b90b2c2e | ||
|
|
f2fa853f2c | ||
|
|
ccc879bd56 | ||
|
|
46db01e734 | ||
|
|
463cad4634 | ||
|
|
699566141b | ||
|
|
b4e269bce6 | ||
|
|
e9b908dacd | ||
|
|
b9bb996c28 | ||
|
|
71ec724295 | ||
|
|
a12ef41060 | ||
|
|
8da238f52a | ||
|
|
18c1b74858 | ||
|
|
7451963ad6 | ||
|
|
861ba4869e | ||
|
|
e587addeee | ||
|
|
6082411c75 | ||
|
|
69e788dbc7 | ||
|
|
8cb212a77b | ||
|
|
29b29e3f6e | ||
|
|
8d9b6e8c1e | ||
|
|
ac037c6f08 | ||
|
|
b0400f98be | ||
|
|
c3e1cfa04c | ||
|
|
8a58ae0fdd | ||
|
|
12f42d12b9 | ||
|
|
91959176f5 | ||
|
|
5ef890cbee | ||
|
|
d5addb524f | ||
|
|
34f4b14672 | ||
|
|
2c78d3ad87 | ||
|
|
3e672abbaa | ||
|
|
6a02d62ccd | ||
|
|
1dba081fde | ||
|
|
315901f69b | ||
|
|
dacf766b4a | ||
|
|
547acc89b9 | ||
|
|
4932fc6f45 | ||
|
|
890b172cf1 | ||
|
|
97b6e0ee42 | ||
|
|
919b72a590 | ||
|
|
8a1cab6765 | ||
|
|
d2847c6a77 | ||
|
|
df48705b67 | ||
|
|
2e1b17f8bd | ||
|
|
9478bfe6a4 | ||
|
|
42fa6c44c4 | ||
|
|
a9a85d9816 | ||
|
|
18161967fc | ||
|
|
6525f1ba87 | ||
|
|
a6b9af62f9 | ||
|
|
fc3bd9bb77 | ||
|
|
dabe3553a6 | ||
|
|
6da165d0c8 | ||
|
|
0aa346e18e | ||
|
|
deb0e9b9be | ||
|
|
da1d4bc1ce | ||
|
|
283790874d | ||
|
|
a929432ac6 | ||
|
|
99ecd32e82 | ||
|
|
d27d91bc91 | ||
|
|
95cdb7f691 | ||
|
|
d5abc1a9d9 | ||
|
|
5472919866 | ||
|
|
f6bbb1f2af | ||
|
|
92eafdb6f3 | ||
|
|
60c0af2ae7 | ||
|
|
5fbb8c0d4a | ||
|
|
628871f037 | ||
|
|
a5189014ad | ||
|
|
e70a8c724b | ||
|
|
9d46c2d048 | ||
|
|
25236f3a19 | ||
|
|
bcfe4924e2 | ||
|
|
60b9266a2a | ||
|
|
9392d16617 | ||
|
|
6879e90c16 | ||
|
|
8674e85df5 | ||
|
|
be6e12d531 | ||
|
|
32d3487b07 | ||
|
|
3ef2673bfc | ||
|
|
ac6cd2cec1 | ||
|
|
995ed929ca | ||
|
|
592af4e20f | ||
|
|
ecfcb0b846 | ||
|
|
18d10ada5e | ||
|
|
3a7b6b27c2 | ||
|
|
fea8f93b5a | ||
|
|
daa7a653c9 | ||
|
|
ddf3f7c6ff | ||
|
|
fbcff7f4c4 | ||
|
|
59f63f1b4b | ||
|
|
e432abe79d | ||
|
|
08a063b612 | ||
|
|
2d14176542 | ||
|
|
5fad4509f0 | ||
|
|
bd44c4721b | ||
|
|
606b2fbee3 | ||
|
|
f18aa19172 | ||
|
|
8337b54a44 | ||
|
|
ebf3b324b6 | ||
|
|
257098fd96 | ||
|
|
0403393124 | ||
|
|
11144fa77b | ||
|
|
e680099cec | ||
|
|
616981a2b7 | ||
|
|
2aaee2c1c4 | ||
|
|
ef7e5d1312 | ||
|
|
a8af7a0d78 | ||
|
|
dc5ecaded4 | ||
|
|
60ae3111c2 | ||
|
|
9f0f306439 | ||
|
|
08c5c73f4a | ||
|
|
35fc238891 | ||
|
|
8b7436320f | ||
|
|
081e03e4ba | ||
|
|
bf84139ea7 | ||
|
|
7498c6cf1b | ||
|
|
abe3f0532a | ||
|
|
97ed091432 | ||
|
|
90c78af59f | ||
|
|
756233a959 | ||
|
|
00045aa9d7 | ||
|
|
52f686977b | ||
|
|
9c13b7e8fd | ||
|
|
fd05281c09 | ||
|
|
cc3e613396 | ||
|
|
a0bdcbaf11 | ||
|
|
a812b16da5 | ||
|
|
4020cdc4f2 | ||
|
|
5cf6719681 | ||
|
|
0a587ed98b | ||
|
|
a08dbf4da1 | ||
|
|
6ca031d9e7 | ||
|
|
edcda31db4 | ||
|
|
0b560f3fbc | ||
|
|
a10d7c338c | ||
|
|
8dfa386cdb | ||
|
|
719010db97 | ||
|
|
928c075416 | ||
|
|
4469eada54 | ||
|
|
b630545702 | ||
|
|
3ff5fdb3a1 | ||
|
|
1eb1574943 | ||
|
|
80d014bc29 | ||
|
|
cd52137454 | ||
|
|
44c48ecfcc | ||
|
|
9b502b282f | ||
|
|
590c8b2078 | ||
|
|
41a0c12139 | ||
|
|
cc935624e9 | ||
|
|
2681dc1890 | ||
|
|
af201fcbf0 | ||
|
|
89415029a4 | ||
|
|
09ef9469a2 | ||
|
|
ca3732315c | ||
|
|
3c50f70b3b | ||
|
|
82f92c8cfa | ||
|
|
2d7640f394 | ||
|
|
8de4f904a5 | ||
|
|
26197d4ff9 | ||
|
|
f48e1895db | ||
|
|
f59b7516fc | ||
|
|
9474424a1e | ||
|
|
9772ea7d9d | ||
|
|
50aee79f32 | ||
|
|
bbc94e9404 | ||
|
|
3879cc6de3 | ||
|
|
cad77aef8e | ||
|
|
3927fe5630 | ||
|
|
7b65b73711 | ||
|
|
e3b0be23a7 | ||
|
|
d1a7209d69 | ||
|
|
2fdd43f96f | ||
|
|
026858509a | ||
|
|
7ecc1b9e41 | ||
|
|
54ba0c0958 | ||
|
|
27fe2ca8f0 | ||
|
|
54b4681fc3 | ||
|
|
2d550e99cb | ||
|
|
318d00a9c4 | ||
|
|
44571a67d9 | ||
|
|
83955fc746 | ||
|
|
647d46b7b4 | ||
|
|
4f50ead08d | ||
|
|
c0a515d8f0 | ||
|
|
2808703199 | ||
|
|
824d212a81 | ||
|
|
67f2798672 | ||
|
|
41fee58ab9 | ||
|
|
96f3264bff | ||
|
|
324565646a | ||
|
|
0c5ede6214 | ||
|
|
b66ea934f9 | ||
|
|
d2f377c8d7 | ||
|
|
551355d21a | ||
|
|
e269b1aec6 | ||
|
|
ff0dc6e570 | ||
|
|
209e42578f | ||
|
|
2fcfc989cf | ||
|
|
7bb8f446bf | ||
|
|
7307340afa | ||
|
|
e32a251ef3 | ||
|
|
edd8ac55d0 | ||
|
|
33ec82882d | ||
|
|
647a3839d0 | ||
|
|
87a7f85c24 | ||
|
|
2808b76655 | ||
|
|
ece66522e5 | ||
|
|
3ac68aa313 | ||
|
|
bddbedbdd0 | ||
|
|
1d83a4616d | ||
|
|
06f09f5fd9 | ||
|
|
e95029c229 | ||
|
|
6d1c51e7ec | ||
|
|
83a9526e52 | ||
|
|
0f68c503b3 | ||
|
|
3828c00d27 | ||
|
|
0baf01c1af | ||
|
|
edbbb9022b | ||
|
|
73b81424b1 | ||
|
|
bd12ccb6f4 | ||
|
|
d81229a157 | ||
|
|
0e32042634 | ||
|
|
54c36e65ef | ||
|
|
979e7e7629 | ||
|
|
cba0fc0a87 | ||
|
|
24df146c53 | ||
|
|
bc10690304 | ||
|
|
8dd9a79aa5 | ||
|
|
1bab5063aa | ||
|
|
1d7dab6ea0 | ||
|
|
bbda730f78 | ||
|
|
c30038fd26 | ||
|
|
81926367b1 | ||
|
|
5ac5b557b0 | ||
|
|
e5ec478e6a | ||
|
|
90d53a34b5 | ||
|
|
fbe64c115b | ||
|
|
9bd5c971c6 | ||
|
|
41e5cb25aa | ||
|
|
fd9116c81c | ||
|
|
1b4bee1b90 | ||
|
|
608aa73ae4 | ||
|
|
3b07bc638a | ||
|
|
2afe510912 | ||
|
|
b6b109b226 | ||
|
|
e31aaba24c | ||
|
|
c0d910decd | ||
|
|
17eead2bb6 | ||
|
|
cd4f5fc667 | ||
|
|
09c527417d | ||
|
|
094ef84f15 | ||
|
|
dc36e8097d | ||
|
|
b7ea5689c7 | ||
|
|
7756a89960 | ||
|
|
865422eaaa | ||
|
|
9b572609f8 | ||
|
|
ba01293067 | ||
|
|
59fbc84017 | ||
|
|
4b0c6b80f6 | ||
|
|
881f46c65c | ||
|
|
a8714409a6 | ||
|
|
ae6130259b | ||
|
|
bd51f5b621 | ||
|
|
3b22733c1a | ||
|
|
dbee744bd7 | ||
|
|
5d0559aebd | ||
|
|
120642667d | ||
|
|
1b92982f3b | ||
|
|
70667a43d7 | ||
|
|
b47a71c000 | ||
|
|
7078e1f033 | ||
|
|
59826aae6d | ||
|
|
fd4452a078 | ||
|
|
c3f32aae26 | ||
|
|
55856c5566 | ||
|
|
57e6268fc7 | ||
|
|
fd8a3a05fe | ||
|
|
06d600c6d0 | ||
|
|
0253016871 | ||
|
|
03e34281f6 | ||
|
|
125a83ac3f | ||
|
|
1afabb934f | ||
|
|
df84f328a7 | ||
|
|
7cc8cd75d4 | ||
|
|
b6fd1f0804 | ||
|
|
3f19506137 | ||
|
|
b23e6fa3d2 | ||
|
|
7bf0090195 | ||
|
|
bdcfec38c2 | ||
|
|
042f2eb4e8 | ||
|
|
7b27de279b | ||
|
|
dde6b44005 | ||
|
|
d80dad7963 | ||
|
|
a150a97991 | ||
|
|
141d8456d8 | ||
|
|
e353591a7b | ||
|
|
e2ef7412a4 | ||
|
|
36558f5460 | ||
|
|
105c148ccc | ||
|
|
0854b74080 | ||
|
|
3c0f24a0f3 | ||
|
|
f0152db605 | ||
|
|
c310e05ae0 | ||
|
|
1d35ac913e | ||
|
|
a3bcc8e3b0 | ||
|
|
b2ec8d5e61 | ||
|
|
3ccf7f6fff | ||
|
|
e39de9fd85 | ||
|
|
942f889360 | ||
|
|
cb5e770014 | ||
|
|
618f8a52f7 | ||
|
|
637dcbee00 | ||
|
|
e88de89e0f | ||
|
|
ff174f946a | ||
|
|
896dc602cd | ||
|
|
c6e24c87b1 | ||
|
|
f59d8035d8 | ||
|
|
8930f4cfeb | ||
|
|
c1cdcbcb8f | ||
|
|
5bc12e52f3 | ||
|
|
b6e5fe461f | ||
|
|
ad406d72e4 | ||
|
|
31d4c621d1 | ||
|
|
afa4cfa2c6 | ||
|
|
7c82a74e78 | ||
|
|
5e4aed7afd | ||
|
|
21f4d2928f | ||
|
|
a67c972e03 | ||
|
|
7a6f65803e | ||
|
|
0ad1abb108 | ||
|
|
4dc4160215 | ||
|
|
c5a37cf4d6 | ||
|
|
34bcb120e5 | ||
|
|
ded5fa3f49 | ||
|
|
905dfb0561 | ||
|
|
bf59f3d96a | ||
|
|
3c353bd835 | ||
|
|
5a4392423e | ||
|
|
a671b4ab46 | ||
|
|
0db7379a17 | ||
|
|
0841d90451 | ||
|
|
5c9878c968 | ||
|
|
ebb3a82edc | ||
|
|
bb7ab21503 | ||
|
|
7c5fe424cd | ||
|
|
30c2cad4bd | ||
|
|
65d9ff857d | ||
|
|
39fd98e19a | ||
|
|
eb2722d0d3 | ||
|
|
331cf16594 | ||
|
|
bdb82279ae | ||
|
|
bc9b922820 | ||
|
|
910998e12b | ||
|
|
e87bf736f1 | ||
|
|
5dbaaaed96 | ||
|
|
6fa0c44f7f | ||
|
|
2473f55091 | ||
|
|
7564289dfa | ||
|
|
43ea5cc3ec | ||
|
|
51c4a8f5be | ||
|
|
78a1e03857 | ||
|
|
739e6ad8a5 | ||
|
|
010b501bac | ||
|
|
dcc6f02a28 | ||
|
|
108f1f3379 | ||
|
|
56136d598b | ||
|
|
9b8d4bd713 | ||
|
|
718666cdf0 | ||
|
|
8cd3d92639 | ||
|
|
e3fb851713 | ||
|
|
9bd4f12d2b | ||
|
|
980e401628 | ||
|
|
03cba1940c | ||
|
|
7fecf2a8d4 | ||
|
|
8f7ed9ce13 | ||
|
|
357d7562a6 | ||
|
|
15da1b86d3 | ||
|
|
56fd9b13ab | ||
|
|
cc17ac7d5c | ||
|
|
2f9ad95310 | ||
|
|
b4e1cb0cfd | ||
|
|
815b28ec06 | ||
|
|
a7dbab771e | ||
|
|
f4016cee02 | ||
|
|
db4b88ae1f | ||
|
|
70a86e5a11 | ||
|
|
4d6456e406 | ||
|
|
41ce72cf0f | ||
|
|
0ad68b899e | ||
|
|
f0a9bf8fad | ||
|
|
a5343797c3 | ||
|
|
643a0052fe | ||
|
|
81afeeb340 | ||
|
|
112413b8bc | ||
|
|
3d4b9c85c7 | ||
|
|
7c6c42a931 | ||
|
|
93e5fd68fe | ||
|
|
f4bbd40b93 | ||
|
|
8438dc06cd | ||
|
|
e2718f1ebc | ||
|
|
909110bee0 | ||
|
|
459b47aee4 | ||
|
|
c87fafd332 | ||
|
|
b7500a2040 | ||
|
|
4d631ae614 | ||
|
|
924db3ef37 | ||
|
|
9e5a6a33c8 | ||
|
|
c831608b1b | ||
|
|
ce1652a6e5 | ||
|
|
824066e692 | ||
|
|
7343986b1e | ||
|
|
2c5cc926ca | ||
|
|
508553b2e1 | ||
|
|
82815ca6ba | ||
|
|
39bf141e79 | ||
|
|
586cce5561 | ||
|
|
633ae3b16f | ||
|
|
d0061985ca | ||
|
|
e0c6b687d3 | ||
|
|
65f7f9605f | ||
|
|
18b257b031 | ||
|
|
7d3593df30 | ||
|
|
d8a48ed9bc | ||
|
|
b6206fabbc | ||
|
|
35651d2a50 | ||
|
|
2798ac1254 | ||
|
|
0f8739abc0 | ||
|
|
1a48f556fa | ||
|
|
46e6b79b20 | ||
|
|
40d522694d | ||
|
|
0126f44617 | ||
|
|
0c9573ae4c | ||
|
|
c191132a01 | ||
|
|
4dec4df8e8 | ||
|
|
76db584daf | ||
|
|
abe6c280a0 | ||
|
|
cdf6aa5e65 | ||
|
|
f419d73a96 | ||
|
|
76532539a9 | ||
|
|
1904ecae12 | ||
|
|
fc02816291 | ||
|
|
3ec3a01128 | ||
|
|
d2e389296b | ||
|
|
042c305cec | ||
|
|
03a1af813e | ||
|
|
9636fd72de | ||
|
|
e0c11752e5 | ||
|
|
8c217746bb | ||
|
|
2f2a4e70b7 | ||
|
|
0f8df07fe0 | ||
|
|
5cb6f9335a | ||
|
|
cc65dea4c5 | ||
|
|
f84818dcb7 | ||
|
|
f6110899fb | ||
|
|
45f8c726b1 | ||
|
|
dd58dcb9ac | ||
|
|
306869f72a | ||
|
|
dcc9ed598a | ||
|
|
a8f27fa3ae | ||
|
|
31330b9863 | ||
|
|
e64410df91 | ||
|
|
f2317caad2 | ||
|
|
25c4819bef | ||
|
|
24c5253ab8 | ||
|
|
abc6f70329 | ||
|
|
34ea13ecba | ||
|
|
a4d9d83989 | ||
|
|
b073b3be8d | ||
|
|
fc48198ac4 | ||
|
|
7569de5ee3 | ||
|
|
2b8b72f4df | ||
|
|
34d520c2ca | ||
|
|
b189dea299 | ||
|
|
447445fcb0 | ||
|
|
df58e3670e | ||
|
|
f18d0762b3 | ||
|
|
0dd7a41d85 | ||
|
|
834f6194ed | ||
|
|
283342afb3 | ||
|
|
87c9489c0e | ||
|
|
24bb04e1ed | ||
|
|
721faa7032 | ||
|
|
e349ac8e33 | ||
|
|
f4e8909a8d | ||
|
|
506c4461e2 | ||
|
|
3a49eda47f | ||
|
|
017e22e977 | ||
|
|
8de57309ea | ||
|
|
fbb6963073 | ||
|
|
bf55b0f233 | ||
|
|
df1d3b401c | ||
|
|
4d55a71619 | ||
|
|
29e6ebab29 | ||
|
|
97e80c6f4e | ||
|
|
3ac730c053 | ||
|
|
d25951f313 | ||
|
|
886e134010 | ||
|
|
cde50b0cb5 | ||
|
|
19ac01a17c | ||
|
|
e9e53d1d43 | ||
|
|
07ab99a8d0 | ||
|
|
896120d311 | ||
|
|
3dc6563048 | ||
|
|
2d74ce2093 | ||
|
|
eac4ca4d71 | ||
|
|
399a5af990 | ||
|
|
48861439b7 | ||
|
|
bd60875c66 | ||
|
|
fe8f25fe23 | ||
|
|
87f3cf3881 | ||
|
|
0b9df8a45c | ||
|
|
59c5b7eefe | ||
|
|
dea9dac20a | ||
|
|
684cd676e5 | ||
|
|
929e3396cd | ||
|
|
fad3284c4f | ||
|
|
c69047c7f9 | ||
|
|
4fc7a69dd5 | ||
|
|
dd4c903c6a | ||
|
|
c9a2edaf3d | ||
|
|
8d41af073d | ||
|
|
bfafcd07cc | ||
|
|
77abc1d031 | ||
|
|
809de0e0fd | ||
|
|
e55d1f5115 | ||
|
|
037bd511b0 | ||
|
|
1265eeb941 | ||
|
|
b3a94142c3 | ||
|
|
367657e44e | ||
|
|
955ee32b46 | ||
|
|
cd0b1f4a31 | ||
|
|
5c4f0c960c | ||
|
|
5ac6dd1a7f | ||
|
|
8d53e776b8 | ||
|
|
ec2950786f | ||
|
|
f33fa2f621 | ||
|
|
fd77748b15 | ||
|
|
3b59389cab | ||
|
|
e6f53a3ef9 | ||
|
|
b2f1a737f5 | ||
|
|
e2c7f4d16f | ||
|
|
4a89dfaac5 | ||
|
|
e47330a79c | ||
|
|
72fc3620bc | ||
|
|
0ebd7f4f8d | ||
|
|
beea8181a1 | ||
|
|
f0716e8bbb | ||
|
|
783ea5cf5b | ||
|
|
42a813d325 | ||
|
|
e6dfb5041e | ||
|
|
c857308038 | ||
|
|
f73abdbabc | ||
|
|
43184e466f | ||
|
|
627c7769b0 | ||
|
|
759dba9cd3 | ||
|
|
7cac2c4045 | ||
|
|
27bb44189f | ||
|
|
4c44f3da25 | ||
|
|
e917a3e94a | ||
|
|
1570bfdd0a | ||
|
|
e511de9f88 | ||
|
|
e694393edc | ||
|
|
e1cb86e6b4 | ||
|
|
22221ba9bd | ||
|
|
9ad67c1a03 | ||
|
|
53071a9291 | ||
|
|
56e40b791f | ||
|
|
93316bf463 | ||
|
|
3f98e2fc73 | ||
|
|
9f4fec2a43 | ||
|
|
89cc6ed184 | ||
|
|
730d966019 | ||
|
|
c509b8807c | ||
|
|
7de907fa23 | ||
|
|
b4e03ae055 | ||
|
|
c9460bd6c6 | ||
|
|
d9800b3c14 | ||
|
|
fa7f577177 | ||
|
|
ca2727655e | ||
|
|
28cddf92d5 | ||
|
|
465a6dde9b | ||
|
|
5336399365 | ||
|
|
3f69b19e23 | ||
|
|
23103f1274 | ||
|
|
9bfaf98dda | ||
|
|
f21be82cce | ||
|
|
39155fdf99 | ||
|
|
1676e50e15 | ||
|
|
f165b3b602 | ||
|
|
0f82c16940 | ||
|
|
9ef3ef03a4 | ||
|
|
ef17cae9a1 | ||
|
|
05acb1669e | ||
|
|
0850421afb | ||
|
|
edf06ac908 | ||
|
|
842d35235a | ||
|
|
45d20574d9 | ||
|
|
252da8c56a | ||
|
|
99373c3e55 | ||
|
|
dce69b3642 | ||
|
|
bb670b93e9 | ||
|
|
c011ad105d | ||
|
|
856125f7fd | ||
|
|
178b122ab8 | ||
|
|
7b0488d068 | ||
|
|
02a9238869 | ||
|
|
2fb97409a1 | ||
|
|
3640463112 | ||
|
|
d872ed642d | ||
|
|
1ab1f33caf | ||
|
|
ba13f5951e | ||
|
|
f66e8ddf92 | ||
|
|
cff72b19c7 | ||
|
|
c046df7d18 | ||
|
|
941bd41cdb | ||
|
|
dd5ed6ce42 | ||
|
|
3a0d5221f6 | ||
|
|
a72f571bd4 | ||
|
|
50c9c9fe8a | ||
|
|
7f8badb34d | ||
|
|
f9d8daeca0 | ||
|
|
55070d5852 | ||
|
|
789bd5939b | ||
|
|
b591fbfc4b | ||
|
|
57eb122fce | ||
|
|
aec287f0cf | ||
|
|
c68aabaa40 | ||
|
|
167cff4693 | ||
|
|
99c343c2ce | ||
|
|
70239bc045 | ||
|
|
d1748f1758 | ||
|
|
ac3d27bf88 | ||
|
|
3fb5c1c14f | ||
|
|
b1d9cde715 | ||
|
|
aa8225c196 | ||
|
|
918adc7c28 | ||
|
|
ab84b9d2e0 | ||
|
|
9e0a9b4601 | ||
|
|
98fd841a54 | ||
|
|
3816313f1e | ||
|
|
a433dad080 | ||
|
|
dc04e045aa | ||
|
|
2f842a0455 | ||
|
|
7c38b1f8f2 | ||
|
|
6942bcb418 | ||
|
|
a335ae2b72 | ||
|
|
52020bcac6 | ||
|
|
5454861c78 | ||
|
|
1217b9ed0b | ||
|
|
e78a1b0fed | ||
|
|
a259949cd6 | ||
|
|
ebf333b8c6 | ||
|
|
9a5cb5ae0f | ||
|
|
20e1a96a84 | ||
|
|
822c7bda89 | ||
|
|
1526fbcbe8 | ||
|
|
b8f4f8bebc | ||
|
|
e3698dcdca | ||
|
|
fc3abc2b56 | ||
|
|
2a8a425627 | ||
|
|
9069f7cee6 | ||
|
|
a217831c22 | ||
|
|
44e8b316a5 | ||
|
|
885b38b682 | ||
|
|
938db4b8e0 | ||
|
|
ad361cdf28 | ||
|
|
fbafb723cb | ||
|
|
797fbf563b | ||
|
|
d23c8b0e1f | ||
|
|
18852d16ac | ||
|
|
6179278699 | ||
|
|
8a6488f082 | ||
|
|
89c4432b89 | ||
|
|
16896be97f | ||
|
|
8a9a19efeb | ||
|
|
f3c786eb57 | ||
|
|
19ab83fee9 | ||
|
|
0f9e794428 | ||
|
|
1b8af9da11 | ||
|
|
0b90539372 | ||
|
|
4131442066 | ||
|
|
e4f642e7d6 | ||
|
|
a65e40a87d | ||
|
|
edf467a6b9 | ||
|
|
3fbb11191e | ||
|
|
54a67e6aba | ||
|
|
8912f88131 | ||
|
|
c31d30821b | ||
|
|
7eb6f1c482 | ||
|
|
a7e2f83033 | ||
|
|
0cfe0dc90f | ||
|
|
8c1d837770 | ||
|
|
9a70599e60 | ||
|
|
89f72c185c | ||
|
|
2f5c239c82 | ||
|
|
31b76553dc | ||
|
|
eff73548e3 | ||
|
|
2ca98ad97b | ||
|
|
4e9b5ca0bc | ||
|
|
3d7d291d9a | ||
|
|
195ed1f5fc | ||
|
|
74f14b3bf8 | ||
|
|
290dff25f9 | ||
|
|
64ab6b5768 | ||
|
|
1b2bc6def4 | ||
|
|
18c7be8161 | ||
|
|
638439a671 | ||
|
|
9fafb9cf54 | ||
|
|
0223aa8307 | ||
|
|
07f1106579 | ||
|
|
2f78f31874 | ||
|
|
74a4ef0692 | ||
|
|
2d55ea0fc5 | ||
|
|
a50f030a3b | ||
|
|
ae690f0c65 | ||
|
|
e2128f7ae3 | ||
|
|
80fe28a952 | ||
|
|
be74ebe7bc | ||
|
|
e085163dfd | ||
|
|
adef65b878 | ||
|
|
b7870cbd74 | ||
|
|
cd03218940 | ||
|
|
6abf6a0044 | ||
|
|
6ef5dd4522 | ||
|
|
9f87c839b5 | ||
|
|
85c1a45c8b | ||
|
|
963fb58321 | ||
|
|
d1d4dcdc9c | ||
|
|
24dd98a98f | ||
|
|
5abc0bedd4 | ||
|
|
e1e570fb18 | ||
|
|
93c0a0c003 | ||
|
|
93f82de7fd | ||
|
|
f6945b56d8 | ||
|
|
55e17ceb60 | ||
|
|
2a432490bc | ||
|
|
0115a6df13 | ||
|
|
a5e9ceda60 | ||
|
|
09f53c80f0 | ||
|
|
8134b5a67e | ||
|
|
ebd6c9c952 | ||
|
|
37e2fb0972 | ||
|
|
7af44eae66 | ||
|
|
62c50d77c6 | ||
|
|
bac9029a28 | ||
|
|
48a614943d | ||
|
|
ec9f1efd55 | ||
|
|
59c6455298 | ||
|
|
d7a7476cd1 | ||
|
|
36981af95a | ||
|
|
d4d5e4743e | ||
|
|
3afde08a6e | ||
|
|
6ea87d7cd0 | ||
|
|
b6c243236b | ||
|
|
6fa67088bc | ||
|
|
d37abcfa9f | ||
|
|
5575eda7b1 | ||
|
|
e17eb60b4d | ||
|
|
e055a66342 | ||
|
|
72c98923f6 | ||
|
|
8ecea87c52 | ||
|
|
7727cd56db | ||
|
|
242fbf8009 | ||
|
|
24f2ce4a32 | ||
|
|
0d08e11b1d | ||
|
|
513a140754 | ||
|
|
88350e3421 | ||
|
|
36d79313de | ||
|
|
a9993d5d80 | ||
|
|
4a6ddf6774 | ||
|
|
b6172c6d9b | ||
|
|
b21a59f4e5 | ||
|
|
78dd44c502 | ||
|
|
f4a129b346 | ||
|
|
6d60a90533 | ||
|
|
0d33794636 | ||
|
|
e62d46f2dd | ||
|
|
7f36c7eec3 | ||
|
|
08d28798c6 | ||
|
|
fe33277d8f | ||
|
|
feec5b4e22 | ||
|
|
62b5e90d87 | ||
|
|
2c980a269d | ||
|
|
1da60e38a1 | ||
|
|
ed67cc52fe | ||
|
|
b614dce91a | ||
|
|
c013c7ef0f | ||
|
|
c78e2cd214 | ||
|
|
da5a3841bd | ||
|
|
e73d79071c | ||
|
|
f100ee4738 | ||
|
|
37662138df | ||
|
|
037d1089a3 | ||
|
|
0467dd5d21 | ||
|
|
1df123de6d | ||
|
|
3063591a4c | ||
|
|
a182354254 | ||
|
|
5f879bceab | ||
|
|
457bd15e17 | ||
|
|
cc1b8ee499 | ||
|
|
4a9ed1348e | ||
|
|
5595420be6 | ||
|
|
191e9ceb6f | ||
|
|
a02aef591e | ||
|
|
1e26faa57c | ||
|
|
1a92265e65 | ||
|
|
92a6065c98 | ||
|
|
d7ca56941a | ||
|
|
030256c9e1 | ||
|
|
77eff12d9b | ||
|
|
2967fce013 | ||
|
|
db1def623a | ||
|
|
140e324bf1 | ||
|
|
f0bf051259 | ||
|
|
2ec47d52cd | ||
|
|
50002cfbbd | ||
|
|
6ccd4b8b37 | ||
|
|
da6ccb561d | ||
|
|
c0894afff9 | ||
|
|
09f244150c | ||
|
|
c526a812e0 | ||
|
|
ccbc0456f9 | ||
|
|
efec8b320c | ||
|
|
e6ea9f77e9 | ||
|
|
0813aa4ba3 | ||
|
|
ba575f6b8d | ||
|
|
ff9b2338e0 | ||
|
|
d2bb4b38e3 | ||
|
|
760c08dd0c | ||
|
|
50517eb462 | ||
|
|
e77425c21e | ||
|
|
f63abb053d | ||
|
|
7b5703aa04 | ||
|
|
d641066312 | ||
|
|
44ca8d47d8 | ||
|
|
d5f41bf4ad | ||
|
|
73e8926444 | ||
|
|
5ad694af65 | ||
|
|
d7f7acb219 | ||
|
|
b4be51333a | ||
|
|
ae94811a00 | ||
|
|
a484f2f2cc | ||
|
|
9cce4e734d | ||
|
|
3c63644213 | ||
|
|
ad25bc34de | ||
|
|
0241e15691 | ||
|
|
af9a6b8a84 | ||
|
|
329b188435 | ||
|
|
2e49bb73c5 | ||
|
|
5158020293 | ||
|
|
feaf80ad1e | ||
|
|
7fbd89159e | ||
|
|
0d9b624fd5 | ||
|
|
008c9380b1 | ||
|
|
716861da18 | ||
|
|
d0a34d423c | ||
|
|
adfba72f19 | ||
|
|
f00337c376 | ||
|
|
737a023b65 | ||
|
|
5551344355 | ||
|
|
07f64382fb | ||
|
|
1c7cde2a19 | ||
|
|
8510a7f3d8 | ||
|
|
db60b11a17 | ||
|
|
6a212b762a | ||
|
|
c8ec2922cf | ||
|
|
b629b7d333 | ||
|
|
514a8b62d6 | ||
|
|
cd11618a5d | ||
|
|
8be3cb157a | ||
|
|
4ca57cc025 | ||
|
|
397bcc94c5 | ||
|
|
8b28bccfd7 | ||
|
|
c6107057d9 | ||
|
|
ab2a9530e9 | ||
|
|
bfc771bd99 | ||
|
|
e75e588755 | ||
|
|
0266bb49ca | ||
|
|
9e693fd555 | ||
|
|
1f30b9ec84 | ||
|
|
50862e3c03 | ||
|
|
20e90bbc34 | ||
|
|
2e212e6d10 | ||
|
|
2039bfa081 | ||
|
|
7dc8a99247 | ||
|
|
1b25ea7f95 | ||
|
|
1869382166 | ||
|
|
d58cd639c7 | ||
|
|
6cd2d4cf83 | ||
|
|
b681f5abd9 | ||
|
|
5b2a0feccf | ||
|
|
cd58f6bc73 | ||
|
|
aeabf806ac | ||
|
|
af7ba31c2f | ||
|
|
5b962b1b9d | ||
|
|
219a7ba8c3 | ||
|
|
933babb4e6 | ||
|
|
023ba2e051 | ||
|
|
8d82a6a3e6 | ||
|
|
88a8fda566 | ||
|
|
1c833a8b1d | ||
|
|
7143d7532d | ||
|
|
1f10bdf593 | ||
|
|
3b543916ff | ||
|
|
c4da85340a | ||
|
|
ec59c7e0f9 | ||
|
|
2454cd9a39 | ||
|
|
c19e2bea29 | ||
|
|
2f2c1ad49b | ||
|
|
657aff2167 | ||
|
|
2450457fe5 | ||
|
|
ba9e42e6f0 | ||
|
|
f05d80523b | ||
|
|
d2779aba86 | ||
|
|
852912a42b | ||
|
|
995fe072bd | ||
|
|
45e0f87f9f | ||
|
|
79b02c7ae7 | ||
|
|
cfb902180d | ||
|
|
1753c05686 | ||
|
|
c76d2c9a95 | ||
|
|
00117bdfac | ||
|
|
40cddbf8ee | ||
|
|
9026044528 | ||
|
|
50f293d783 | ||
|
|
2b558c43bd | ||
|
|
22cc51734f | ||
|
|
cd5adc1b82 | ||
|
|
b7e83a0efe | ||
|
|
6159605afd | ||
|
|
ceae02426d | ||
|
|
51d2886f70 | ||
|
|
c2eb973a28 | ||
|
|
f8532d39eb | ||
|
|
c2be1ee6d4 | ||
|
|
1735cdb45d | ||
|
|
be6cd62fbe | ||
|
|
cfe91f6280 | ||
|
|
4e7bfa5ed3 | ||
|
|
6f03c68fdc | ||
|
|
62653705ff | ||
|
|
8cdbebd6de | ||
|
|
94af8ab301 | ||
|
|
be3a4a4e91 | ||
|
|
3791c5c78b | ||
|
|
6bd22896b9 | ||
|
|
ea4331e4b1 | ||
|
|
84fbc93c8a | ||
|
|
553581f67b | ||
|
|
afe16e6623 | ||
|
|
0942da0cd1 | ||
|
|
c2b3835618 | ||
|
|
4a96a52398 | ||
|
|
4e1eb82538 | ||
|
|
885fae175d | ||
|
|
1cd84d8a2c | ||
|
|
0c891e0a09 | ||
|
|
08c7754f29 | ||
|
|
5f21d3f96f | ||
|
|
158b76c17e | ||
|
|
3455a79298 | ||
|
|
dd08ff1507 | ||
|
|
1c17464c94 | ||
|
|
b5996a9783 | ||
|
|
edb108bbcf | ||
|
|
8896c5707a | ||
|
|
feda7fd1a0 | ||
|
|
46ffb330fc | ||
|
|
2f7a4bdb36 | ||
|
|
96dab6b6b2 | ||
|
|
3e9afe1dc8 | ||
|
|
2df2b4c53d | ||
|
|
968dd34c3d | ||
|
|
0cbe73c527 | ||
|
|
6d312e7ba7 | ||
|
|
09a33c4252 | ||
|
|
76d966c1f9 | ||
|
|
da364b49f0 | ||
|
|
f6f416b899 | ||
|
|
3582f45fd8 | ||
|
|
13cef5ff14 | ||
|
|
4049d2d1ab | ||
|
|
db7ac02c7d | ||
|
|
26f3560e97 | ||
|
|
1eaf4f44c2 | ||
|
|
0a0d4d3e0f | ||
|
|
7f22687c24 | ||
|
|
7404e0831b | ||
|
|
e3be54cbe7 | ||
|
|
b0a23a5c4e | ||
|
|
5bb5dae20e | ||
|
|
bb9de35722 | ||
|
|
4907be7738 | ||
|
|
23141aa624 | ||
|
|
17381e7deb | ||
|
|
4bd410f04e | ||
|
|
20a09d3d27 | ||
|
|
98b36380b5 | ||
|
|
7716827a98 | ||
|
|
070a51954a | ||
|
|
de66e21d14 | ||
|
|
932cf8ecf1 | ||
|
|
4a491f1ebf | ||
|
|
5ebdfd8466 | ||
|
|
16c720e500 | ||
|
|
d77f8abf42 | ||
|
|
03836b69f2 | ||
|
|
5837205a9a | ||
|
|
0f346c2096 | ||
|
|
30acfdd788 | ||
|
|
478edfee7c | ||
|
|
a685950a66 | ||
|
|
69d1d709f6 | ||
|
|
1fcfdcd13c | ||
|
|
34a21c6d8c | ||
|
|
e6ef27936e | ||
|
|
2b7f940669 | ||
|
|
bdcd613f02 | ||
|
|
7255300903 | ||
|
|
21b2ad71b9 | ||
|
|
1ff7e69556 | ||
|
|
f7a3f98ad3 | ||
|
|
4cdb874b4f | ||
|
|
5df0801c64 | ||
|
|
e286797ac5 | ||
|
|
e784dc017d | ||
|
|
251339f26b | ||
|
|
3e3b8eab6f | ||
|
|
a7d769dd6d | ||
|
|
ad37e9abe7 | ||
|
|
f99a3f5088 | ||
|
|
6f2a09695b | ||
|
|
9ae8769869 | ||
|
|
f58a16179a | ||
|
|
297c95ac6b | ||
|
|
ced3100b4e | ||
|
|
7358be6faa | ||
|
|
03e29dbb81 | ||
|
|
7cb2915fd7 | ||
|
|
5348496768 | ||
|
|
7526abc3e1 | ||
|
|
1163b6f0ce | ||
|
|
7c809419f8 | ||
|
|
0a42f130ac | ||
|
|
4de0ae51e8 | ||
|
|
f5a4ffabde | ||
|
|
115b1edf11 | ||
|
|
04942a3a5d | ||
|
|
aee0712ef1 | ||
|
|
63568aae9c | ||
|
|
bf90d2a8e6 | ||
|
|
d87cb77895 | ||
|
|
36c4ebda65 | ||
|
|
968df5a2e4 | ||
|
|
259f7a9439 | ||
|
|
4f8e1bc827 | ||
|
|
9e8a520d1e | ||
|
|
7335429541 | ||
|
|
5c227f445a | ||
|
|
dce90e86bf | ||
|
|
36d7dcce9b | ||
|
|
502bec55c4 | ||
|
|
21a61bb238 | ||
|
|
fb974de53b | ||
|
|
a5adf73b88 | ||
|
|
1f4c4c0901 | ||
|
|
338fbcea9c | ||
|
|
a20fa9871e | ||
|
|
25436d9620 | ||
|
|
8d3a633d85 | ||
|
|
f67568e3b6 | ||
|
|
d902cc5efe | ||
|
|
9e89eb521a | ||
|
|
f4c5f50f8c | ||
|
|
4301a6bfe3 | ||
|
|
2c5a78947a | ||
|
|
8f7eb82b6e | ||
|
|
d2e1373e2a | ||
|
|
d705610855 | ||
|
|
c40b6576d6 | ||
|
|
1c3e2fcdad | ||
|
|
7acc6c3329 | ||
|
|
1715ee327f | ||
|
|
0481943737 | ||
|
|
c53bc20294 | ||
|
|
a8fc22eae8 | ||
|
|
4ba82f6e00 | ||
|
|
8fd671d4d3 | ||
|
|
309b1b007e | ||
|
|
d0e7213cc4 | ||
|
|
a2e9688418 | ||
|
|
f42c23cd9a | ||
|
|
52f60d70e2 | ||
|
|
339d05e157 | ||
|
|
c0c3640638 | ||
|
|
a314139302 | ||
|
|
bfa0472f84 | ||
|
|
fa19e435cc | ||
|
|
eb4bf89194 | ||
|
|
da8a1376a7 | ||
|
|
267132cdde | ||
|
|
b8ebe5076b | ||
|
|
cb9877b3b4 | ||
|
|
c73b9ed5a6 | ||
|
|
1bd0b4349f | ||
|
|
d15785146f | ||
|
|
47d9d93818 | ||
|
|
601ff44145 | ||
|
|
cbd451949b | ||
|
|
a7dc207c5f | ||
|
|
c20b67d11f | ||
|
|
0b9def800b | ||
|
|
d8ae73e96a | ||
|
|
c99f7925eb | ||
|
|
3627661e1f | ||
|
|
f1c68a98cf | ||
|
|
92f10d51aa | ||
|
|
bdae68be35 | ||
|
|
2a4abf958d | ||
|
|
1362331a93 | ||
|
|
a70aa7723e | ||
|
|
a3f5200c9a | ||
|
|
1005783034 | ||
|
|
278e40207c | ||
|
|
509b627e88 | ||
|
|
ecd9f6eaff | ||
|
|
1d2b6b2010 | ||
|
|
6c4d5c0705 | ||
|
|
0533919bde | ||
|
|
e02ca1c822 | ||
|
|
039c1a178f | ||
|
|
6f682baa45 | ||
|
|
0241c0a036 | ||
|
|
4ebdcf1cc5 | ||
|
|
46c3187c89 | ||
|
|
c65e3c21e3 | ||
|
|
e35774138f | ||
|
|
a9b678f0ff | ||
|
|
32356d711d | ||
|
|
477ae3eb2c | ||
|
|
0b41118232 | ||
|
|
ea3f9f246e | ||
|
|
9dd954e7d8 | ||
|
|
41352a5116 | ||
|
|
1ac9989288 | ||
|
|
b441cc2123 | ||
|
|
5e2bc43722 | ||
|
|
da17dd8bae | ||
|
|
87098d1c3e | ||
|
|
2a1b60596b | ||
|
|
7bbbe0dcf3 | ||
|
|
25672a6496 | ||
|
|
796bf6ef45 | ||
|
|
6ceeaebd9d | ||
|
|
61b8427270 | ||
|
|
4450aaa3b3 | ||
|
|
b0e0c380dd | ||
|
|
8baf11a053 | ||
|
|
67f9697f3f | ||
|
|
a94d941125 | ||
|
|
2917de6776 | ||
|
|
272698f97b | ||
|
|
3fbb689e0a | ||
|
|
4817af5e4f | ||
|
|
aba08a515e | ||
|
|
83801db82e | ||
|
|
84e4adbc12 | ||
|
|
6a37753753 | ||
|
|
0898c7e28c | ||
|
|
412be37ae5 | ||
|
|
beec376e10 | ||
|
|
df30f00347 | ||
|
|
dcfdade927 | ||
|
|
741ddcd8aa | ||
|
|
433db26078 | ||
|
|
fc033cb69d | ||
|
|
bd8c67bc24 | ||
|
|
a80fbc1a04 | ||
|
|
e347504616 | ||
|
|
94cbf089db | ||
|
|
cb2fb6925b | ||
|
|
b3361a473c | ||
|
|
fcb6ed7676 | ||
|
|
91f4d7f669 | ||
|
|
2e2ff60c23 | ||
|
|
13727270d4 | ||
|
|
b27f56bc00 | ||
|
|
7ad7d793d0 | ||
|
|
491bef680e | ||
|
|
e581dc818f | ||
|
|
8d0b032eb6 | ||
|
|
9cb4fd6f79 | ||
|
|
87abcae249 | ||
|
|
fe608b579e | ||
|
|
f74e25a482 | ||
|
|
1db9d25f3b | ||
|
|
f25aeefe83 | ||
|
|
1abc1b9b28 | ||
|
|
d10c8041bf | ||
|
|
c14c795474 | ||
|
|
e5937431c3 | ||
|
|
b24a688e63 | ||
|
|
10fd22f49c | ||
|
|
f1dda95847 | ||
|
|
f3f6dd171b | ||
|
|
c802212a62 | ||
|
|
afb666797d | ||
|
|
85a591c984 | ||
|
|
3edaea8102 | ||
|
|
93c39c3ecc | ||
|
|
ab2f0ef395 | ||
|
|
005ca73cce | ||
|
|
8dd8897f1f | ||
|
|
95555ed3fd | ||
|
|
11b71f7366 | ||
|
|
4537c70105 | ||
|
|
42a0cff162 | ||
|
|
527e6d4c24 | ||
|
|
2c19da2117 | ||
|
|
7ee1cc911f | ||
|
|
9fc846bd7a | ||
|
|
5b628ccbf9 | ||
|
|
5471273673 | ||
|
|
58c0c6e152 | ||
|
|
36078acaee | ||
|
|
7d62c9f575 | ||
|
|
45a64fcb03 | ||
|
|
630b099fd6 | ||
|
|
c17e47ddd3 | ||
|
|
81bf54c42d | ||
|
|
5b693e81fd | ||
|
|
00115cd707 | ||
|
|
e992844fa2 | ||
|
|
b30acaac78 | ||
|
|
46ac654224 | ||
|
|
8578e96c3a | ||
|
|
b42bdc6e6f | ||
|
|
369364f574 | ||
|
|
a5baebab3f | ||
|
|
b34e6076e4 | ||
|
|
226c5d601c | ||
|
|
cc1a12e1a2 | ||
|
|
1d342b21fd | ||
|
|
5dc67a386c | ||
|
|
6d442b9e80 | ||
|
|
2f6ddeb5f1 | ||
|
|
3d01ffee1b | ||
|
|
9c51df9159 | ||
|
|
3a29fcc3d8 | ||
|
|
b18f2ae60d | ||
|
|
ab07478e25 | ||
|
|
d6aeec933a | ||
|
|
cd5207f816 | ||
|
|
381c11ed99 | ||
|
|
62d4b365c2 | ||
|
|
524df6389a | ||
|
|
24292e771b | ||
|
|
f35d34a807 | ||
|
|
468e33eff7 | ||
|
|
600f9e4b85 | ||
|
|
9cb3da4a7f | ||
|
|
a66c7c8063 | ||
|
|
0a84dbd3a5 | ||
|
|
2fa412e574 | ||
|
|
f240416886 | ||
|
|
2a025b7977 | ||
|
|
f44d2b67e5 | ||
|
|
6b15ebac99 | ||
|
|
ff41251f17 | ||
|
|
c7c1cb79a8 | ||
|
|
fc155ccdfa | ||
|
|
dfad1a5636 | ||
|
|
6790952f86 | ||
|
|
1a28f714a1 | ||
|
|
55a55fefba | ||
|
|
fe74f7caa3 | ||
|
|
108aac0e79 | ||
|
|
008c07acc3 | ||
|
|
831a3c1b5a | ||
|
|
dc7b63d735 | ||
|
|
9267f36165 | ||
|
|
ae6d63c3ab | ||
|
|
a3214f0fa7 | ||
|
|
d4bd5313fc | ||
|
|
c69fe53ea6 | ||
|
|
d7c496847f | ||
|
|
44516648a1 | ||
|
|
fbeabc830b | ||
|
|
f370746382 | ||
|
|
e82beb861a | ||
|
|
1791d31681 | ||
|
|
784ddea34a | ||
|
|
69c93a0563 | ||
|
|
4e4d50de82 | ||
|
|
25b9edabf8 | ||
|
|
6851470547 | ||
|
|
73c1fc17b3 | ||
|
|
cba5b05c0c | ||
|
|
3f1573f1b3 | ||
|
|
93ffc93943 | ||
|
|
4214af4d56 | ||
|
|
01405dd32e | ||
|
|
047432af03 | ||
|
|
a8bd5d0068 | ||
|
|
eeb6d20e96 | ||
|
|
8bb8511bf4 | ||
|
|
563610cbcd | ||
|
|
04190b27d8 | ||
|
|
1782376e3d | ||
|
|
ef1b96bbf1 | ||
|
|
7deea5d648 | ||
|
|
c6460b006f | ||
|
|
4352667b1c | ||
|
|
a84502dc92 | ||
|
|
d7c67fb481 | ||
|
|
adc9748d4d | ||
|
|
f310c53f88 | ||
|
|
f2c2fd0d29 | ||
|
|
1b0cd0f485 | ||
|
|
48f6f2f66c | ||
|
|
85b70f8ad7 | ||
|
|
3e32f28d2e | ||
|
|
9bd1b03504 | ||
|
|
cdccc43b31 | ||
|
|
21ce614bd9 | ||
|
|
7f56ec238f | ||
|
|
e1625437d4 | ||
|
|
5b9afebd4e | ||
|
|
93afc06717 | ||
|
|
cfbf1f8995 | ||
|
|
516e5077a9 | ||
|
|
0c2ceb134b | ||
|
|
02bcb0b213 | ||
|
|
35c6ed81b5 | ||
|
|
a229aee2cc | ||
|
|
f91c6d5f9d | ||
|
|
0e93fb6f57 | ||
|
|
1f491d2031 | ||
|
|
32dd7d43d7 | ||
|
|
284efe9902 | ||
|
|
4e795c8fb1 | ||
|
|
c83eb589ea | ||
|
|
7cd6b324b9 | ||
|
|
5891fccacb | ||
|
|
59233f3307 | ||
|
|
796466a72a | ||
|
|
3f35642010 | ||
|
|
5bbfcf742d | ||
|
|
aaf79fda0d | ||
|
|
8604788d27 | ||
|
|
519a822751 | ||
|
|
fef31c399b | ||
|
|
5802e05228 | ||
|
|
da21081a12 | ||
|
|
6d739de57c | ||
|
|
edcd328743 | ||
|
|
5c9e6cac0e | ||
|
|
7ab5e2cf52 | ||
|
|
42dcdb40cf | ||
|
|
896357a943 | ||
|
|
2d96c24b13 | ||
|
|
1753f58120 | ||
|
|
7244ca8f5e | ||
|
|
ec0c989066 | ||
|
|
c801b1fecd | ||
|
|
57b50106d1 | ||
|
|
871ba63f67 | ||
|
|
f0888faf78 | ||
|
|
23fbbebc9e | ||
|
|
9951a19478 | ||
|
|
dd4ab2f38a | ||
|
|
6bcdb3e272 | ||
|
|
227bec4d8e | ||
|
|
556b4f88d2 | ||
|
|
2d12f957bc | ||
|
|
c1efe02614 | ||
|
|
f0e1979aab | ||
|
|
989db6d6b6 | ||
|
|
781096c290 | ||
|
|
536c6e3e41 | ||
|
|
de376176db | ||
|
|
e63389cfa3 | ||
|
|
1c4ca8da26 | ||
|
|
dcbd7ba4cd | ||
|
|
9fc8d385ab | ||
|
|
07e878e065 | ||
|
|
a2af4dba52 | ||
|
|
2fbafb6b10 | ||
|
|
98eb72ef1f | ||
|
|
89d127c5c5 | ||
|
|
a784c8a850 | ||
|
|
a533aaf5cf | ||
|
|
434b5bdbad | ||
|
|
d1f1f9213e | ||
|
|
d498c107a8 | ||
|
|
f12b44762e | ||
|
|
fc4da038e9 | ||
|
|
d5999ad330 | ||
|
|
146ece3bff | ||
|
|
92095acf36 | ||
|
|
279c10d555 | ||
|
|
0ae3820681 | ||
|
|
283e4d053e | ||
|
|
6dbb2f9d10 | ||
|
|
c657bb763b | ||
|
|
259cdb1abe | ||
|
|
86e96e59af | ||
|
|
9ba30dbafa | ||
|
|
2907db705c | ||
|
|
a6a0f917e0 | ||
|
|
bcdba798d9 | ||
|
|
32884372fa | ||
|
|
9b2364cfb7 | ||
|
|
c1aebf45c8 | ||
|
|
6e0c6332cc | ||
|
|
47d0d340d4 | ||
|
|
118804e139 | ||
|
|
0bef50e259 | ||
|
|
bfb876af8b | ||
|
|
84d5d3124c | ||
|
|
825d997d6d | ||
|
|
8e9e5bfddb | ||
|
|
05765682a5 | ||
|
|
2b5d56942a | ||
|
|
f097ff60aa | ||
|
|
655691a28f | ||
|
|
7ddef8d519 | ||
|
|
2fb79f0066 | ||
|
|
655d87ce0f | ||
|
|
ed7c98afa8 | ||
|
|
41bf0c9697 | ||
|
|
5eb0132660 | ||
|
|
c43695e596 | ||
|
|
9aeda25136 | ||
|
|
90e671ebf8 | ||
|
|
3ecc180d06 | ||
|
|
7ac9ec37ef | ||
|
|
e176a9f241 | ||
|
|
91bd910c40 | ||
|
|
a6c77185de | ||
|
|
b871d721db | ||
|
|
85f9bb1d34 | ||
|
|
adb60c6357 | ||
|
|
90046aed53 | ||
|
|
7adef119d3 | ||
|
|
4db6593681 | ||
|
|
f4c7e11ae1 | ||
|
|
b1393a563f | ||
|
|
279e49a143 | ||
|
|
db4182d074 | ||
|
|
cc2d1405b6 | ||
|
|
19802a7a31 | ||
|
|
50f929c11a | ||
|
|
e5e250ff36 | ||
|
|
6fe94a70a7 | ||
|
|
db2af83a34 | ||
|
|
cbab026f27 | ||
|
|
0c2c868e5c | ||
|
|
175cf62201 | ||
|
|
761ae63845 | ||
|
|
70948d9b36 | ||
|
|
3e0638d811 | ||
|
|
096bf0d750 | ||
|
|
c81d4cc2a1 | ||
|
|
628f1043fa | ||
|
|
73b8d82b0f | ||
|
|
d6ba6c83e8 | ||
|
|
3c56bc49fd | ||
|
|
1697bf5e6a | ||
|
|
960bca13d4 | ||
|
|
ccf6d8dd8f | ||
|
|
6822fa9a67 | ||
|
|
2266df88d5 | ||
|
|
5d075a6be4 | ||
|
|
215098f647 | ||
|
|
a7f3701272 | ||
|
|
08b8b63678 | ||
|
|
d550bb6b7f | ||
|
|
edb577cf5b | ||
|
|
739548d169 | ||
|
|
2e2e5d136a | ||
|
|
b1ce20cd5a | ||
|
|
2431f44a29 | ||
|
|
0e4d95dca7 | ||
|
|
5ee80d6e50 | ||
|
|
bfd841486e | ||
|
|
29da12ec71 | ||
|
|
d89238f76b | ||
|
|
57f076c5d3 | ||
|
|
ea41980fc6 | ||
|
|
33954aafaf | ||
|
|
a10b4ab06e | ||
|
|
f350f18190 | ||
|
|
60fc61560d | ||
|
|
fadb294c98 | ||
|
|
137ba895bb | ||
|
|
ecc48de396 | ||
|
|
aa95687b56 | ||
|
|
a8147738ef | ||
|
|
4a3d36b952 | ||
|
|
f9bd82db35 | ||
|
|
c8438b9d59 | ||
|
|
5347340c1c | ||
|
|
524e443f4d | ||
|
|
b9091c3a97 | ||
|
|
5445146b56 | ||
|
|
13d0e4a33a | ||
|
|
8f0a9d97f6 | ||
|
|
5feed6bfcc | ||
|
|
e8246a9a8a | ||
|
|
e141b1f4e8 | ||
|
|
f9fcd80552 | ||
|
|
8c7d749f11 | ||
|
|
bcc927f21a | ||
|
|
b13837ce44 | ||
|
|
806456d287 | ||
|
|
2deb2ff4b5 | ||
|
|
fb1836cd07 | ||
|
|
f2036885aa | ||
|
|
948293db04 | ||
|
|
5031a85a5c | ||
|
|
a5e3dcaf4d | ||
|
|
37816ba762 | ||
|
|
ed9a445b4c | ||
|
|
0b801ae986 | ||
|
|
5916baf5ea | ||
|
|
afa260b733 | ||
|
|
1c3a857fcf | ||
|
|
640ad58c65 | ||
|
|
41aa58e004 | ||
|
|
6b3eb09198 | ||
|
|
59c2e5cae7 | ||
|
|
a30c7cf383 | ||
|
|
334e32fb6b | ||
|
|
7a36277695 | ||
|
|
9a2bce4ba6 | ||
|
|
71d2231fb5 | ||
|
|
cc3f970aef | ||
|
|
189a28f027 | ||
|
|
a2750ad709 | ||
|
|
c8341a448d | ||
|
|
44c4671977 | ||
|
|
ac118173a5 | ||
|
|
3f815a18c4 | ||
|
|
e281b90699 | ||
|
|
012a36b931 | ||
|
|
43e3d03e9a | ||
|
|
5adeeed634 | ||
|
|
29a8608f9d | ||
|
|
5347b9c935 | ||
|
|
67c4acbc5e | ||
|
|
a5d605f539 | ||
|
|
66b6985c5e | ||
|
|
0025785a78 | ||
|
|
ba284aec2f | ||
|
|
5ffe207a86 | ||
|
|
3a4d867ae3 | ||
|
|
7a2c57aae9 | ||
|
|
05faa7e138 | ||
|
|
455189d916 | ||
|
|
1c05de3098 | ||
|
|
577baa508b | ||
|
|
aebb4313bc | ||
|
|
d42377a5cd | ||
|
|
f254a99d6f | ||
|
|
19a1a5efda | ||
|
|
28322f19b5 | ||
|
|
c7d03aa423 | ||
|
|
60242df3c9 | ||
|
|
1aab52edbe | ||
|
|
2580577ce0 | ||
|
|
1ab33375ec | ||
|
|
e1f5046ace | ||
|
|
699ca91a94 | ||
|
|
30c12e3983 | ||
|
|
15d6a48359 | ||
|
|
b700d4eec0 | ||
|
|
5be8ecb32b | ||
|
|
ccafbf663c | ||
|
|
3f7e9e22ec | ||
|
|
e5d9c75392 | ||
|
|
b28087f723 | ||
|
|
866cc33f0e | ||
|
|
02448307ab | ||
|
|
b34b3f5651 | ||
|
|
7c787b77e8 | ||
|
|
1b5d5f8a3a | ||
|
|
6707d6df8d | ||
|
|
0c669d6b83 | ||
|
|
883871123a | ||
|
|
301e16b8f1 | ||
|
|
df1bc9d7a6 | ||
|
|
e1f1814748 | ||
|
|
074f7c5456 | ||
|
|
2a64afe9dc | ||
|
|
4c12bb9c2f | ||
|
|
22e7c6a40d | ||
|
|
a9ea22f505 | ||
|
|
2067b1c787 | ||
|
|
410f5fc138 | ||
|
|
077efd2de3 | ||
|
|
62632792cc | ||
|
|
7e2925a1e3 | ||
|
|
4c37bd24ac | ||
|
|
8e3a46d393 | ||
|
|
c7f8a39282 | ||
|
|
c09cff86b5 | ||
|
|
24c61bab71 | ||
|
|
37df697b3d | ||
|
|
86fee63a8b | ||
|
|
21b5fc9723 | ||
|
|
e5add6c392 | ||
|
|
b964d93ea9 | ||
|
|
baba619fe7 | ||
|
|
dce036b0e6 | ||
|
|
c6c8d7de49 | ||
|
|
02e11503cb | ||
|
|
d75a7ca897 | ||
|
|
2b5402fa57 | ||
|
|
7ad5e426fb | ||
|
|
bbbb4f4877 | ||
|
|
9a32710ef8 | ||
|
|
d25792f39a | ||
|
|
5ee279dec7 | ||
|
|
e6fa832cb8 | ||
|
|
64befaebfc | ||
|
|
5425c54fca | ||
|
|
aae0998426 | ||
|
|
f6c9e8e235 | ||
|
|
18909ffef6 | ||
|
|
3a037818a8 | ||
|
|
101d94f46e | ||
|
|
38bb50a472 | ||
|
|
3b3653af67 | ||
|
|
6be7408d80 | ||
|
|
6d67559627 | ||
|
|
db46d0438f | ||
|
|
a5580daebd | ||
|
|
809be3b2fb | ||
|
|
0319c507d3 | ||
|
|
8ffab867e1 | ||
|
|
fcf7141733 | ||
|
|
1c1fb6006c | ||
|
|
6cb07b5be3 | ||
|
|
9342112bac | ||
|
|
3d1be7158d | ||
|
|
efe512b561 | ||
|
|
d738eac42d | ||
|
|
a83969e3eb | ||
|
|
92cb8fb65c | ||
|
|
932702cca1 | ||
|
|
ca8404147d | ||
|
|
35c3b5b97f | ||
|
|
015b283731 | ||
|
|
2667838937 | ||
|
|
a5ec7b2466 | ||
|
|
3a0a267e12 | ||
|
|
cbdb715fac | ||
|
|
64fb12289c | ||
|
|
25801b6fcd | ||
|
|
1341d5e11d | ||
|
|
e1dc5fbdf5 | ||
|
|
83b4bbc95a | ||
|
|
585be8adf4 | ||
|
|
9462886539 | ||
|
|
85518d8130 | ||
|
|
e3aeb0caa1 | ||
|
|
7ed72fad40 | ||
|
|
a2b4f8d141 | ||
|
|
6ad1070c44 | ||
|
|
b1784fa311 | ||
|
|
74affbd9c0 | ||
|
|
10d1978566 | ||
|
|
d51e8044f4 | ||
|
|
69dee25ea8 | ||
|
|
0d8c18a38a | ||
|
|
a1c8ecabca | ||
|
|
a4eb37db18 | ||
|
|
53f611a43a | ||
|
|
b0929e2431 | ||
|
|
da20709512 | ||
|
|
6ff461fa86 | ||
|
|
e205447968 | ||
|
|
ff6234bffe | ||
|
|
d93d475c1f | ||
|
|
0d0b919106 | ||
|
|
366fd43752 | ||
|
|
1119adffb7 | ||
|
|
9d14f02bec | ||
|
|
9fada00028 | ||
|
|
e0d2436372 | ||
|
|
e4c94aa5c5 | ||
|
|
e3e4121a21 | ||
|
|
a75ea50098 | ||
|
|
6b6e74b5a0 | ||
|
|
d6c5dbaff1 | ||
|
|
a66804064a | ||
|
|
919f9f56bd | ||
|
|
bd614e250b | ||
|
|
6275c2d62c | ||
|
|
feea7aa51d | ||
|
|
16263d463f | ||
|
|
6673272e14 | ||
|
|
6358ba2e11 | ||
|
|
2415784eee | ||
|
|
acb3c67629 | ||
|
|
622b2ea158 | ||
|
|
7a9af6cbcf | ||
|
|
51a389284d | ||
|
|
2ff70f1511 | ||
|
|
ff9badf2e9 | ||
|
|
aefc880486 | ||
|
|
e749456719 | ||
|
|
a2312a10be | ||
|
|
b0090a3334 | ||
|
|
7100831956 | ||
|
|
30c1b2d919 | ||
|
|
3ec6caee9d | ||
|
|
7f505a52ca | ||
|
|
84b8e59b39 | ||
|
|
808dfe42ce | ||
|
|
600365d998 | ||
|
|
569699cbc1 | ||
|
|
08cb324125 | ||
|
|
504f0b0ede | ||
|
|
00877fb087 | ||
|
|
d654d8934b | ||
|
|
97e202dbd0 | ||
|
|
64be41b008 | ||
|
|
b3684a8730 | ||
|
|
45f0d65f69 |
18
.editorconfig
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# EditorConfig is awesome: https://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Unix-style newlines with a newline ending every file
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.{js,json,ts,tsx}]
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[package.json]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
33
.eslintrc.js
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
browser: true,
|
||||||
|
es2021: true,
|
||||||
|
node: true,
|
||||||
|
jest: true,
|
||||||
|
jasmine: true,
|
||||||
|
},
|
||||||
|
extends: [
|
||||||
|
"eslint:recommended",
|
||||||
|
"plugin:react/recommended",
|
||||||
|
"plugin:@typescript-eslint/recommended",
|
||||||
|
],
|
||||||
|
parser: "@typescript-eslint/parser",
|
||||||
|
parserOptions: {
|
||||||
|
ecmaFeatures: {
|
||||||
|
jsx: true,
|
||||||
|
},
|
||||||
|
ecmaVersion: 12,
|
||||||
|
sourceType: "module",
|
||||||
|
},
|
||||||
|
plugins: ["react", "@typescript-eslint"],
|
||||||
|
rules: {
|
||||||
|
// TODO: Remove warn rules when not needed anymore
|
||||||
|
"no-self-assign": "off",
|
||||||
|
"@typescript-eslint/no-empty-interface": "off",
|
||||||
|
},
|
||||||
|
settings: {
|
||||||
|
react: {
|
||||||
|
version: "detect",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
3
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
github: ajayyy-org
|
||||||
|
patreon: ajayyy
|
||||||
|
custom: [sponsor.ajay.app/donate]
|
||||||
5
.github/pull_request_template.md
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
- [ ] I agree to license my contribution under LGPL-3.0 **or** my contribution is from another project with a license compatible with LGPL-3.0
|
||||||
|
|
||||||
|
To test this pull request, follow the [instructions in the wiki](https://github.com/ajayyy/SponsorBlock/wiki/Testing-a-Pull-Request).
|
||||||
|
|
||||||
|
***
|
||||||
68
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
name: Create artifacts
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
# Initialization
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
- run: npm ci
|
||||||
|
- name: Copy configuration
|
||||||
|
run: cp config.json.example config.json
|
||||||
|
|
||||||
|
# Run linter
|
||||||
|
- name: Lint
|
||||||
|
run: npm run lint
|
||||||
|
|
||||||
|
# Create Chrome artifacts
|
||||||
|
- name: Create Chrome artifacts
|
||||||
|
run: npm run build:chrome
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ChromeExtension
|
||||||
|
path: dist
|
||||||
|
- run: mkdir ./builds
|
||||||
|
- uses: montudor/action-zip@v1
|
||||||
|
with:
|
||||||
|
args: zip -qq -r ./builds/ChromeExtension.zip ./dist
|
||||||
|
|
||||||
|
# Create Firefox artifacts
|
||||||
|
- name: Create Firefox artifacts
|
||||||
|
run: npm run build:firefox
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: FirefoxExtension
|
||||||
|
path: dist
|
||||||
|
- uses: montudor/action-zip@v1
|
||||||
|
with:
|
||||||
|
args: zip -qq -r ./builds/FirefoxExtension.zip ./dist
|
||||||
|
|
||||||
|
# Create Beta artifacts (Builds with the name changed to beta)
|
||||||
|
- name: Create Chrome Beta artifacts
|
||||||
|
run: npm run build:chrome -- --env stream=beta
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ChromeExtensionBeta
|
||||||
|
path: dist
|
||||||
|
- uses: montudor/action-zip@v1
|
||||||
|
with:
|
||||||
|
args: zip -qq -r ./builds/ChromeExtensionBeta.zip ./dist
|
||||||
|
|
||||||
|
- name: Create Firefox Beta artifacts
|
||||||
|
run: npm run build:firefox -- --env stream=beta
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: FirefoxExtensionBeta
|
||||||
|
path: dist
|
||||||
|
- uses: montudor/action-zip@v1
|
||||||
|
with:
|
||||||
|
args: zip -qq -r ./builds/FirefoxExtensionBeta.zip ./dist
|
||||||
|
|
||||||
145
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
name: Upload Release Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
name: Upload Release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
# Initialization
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
- run: npm ci
|
||||||
|
- name: Copy configuration
|
||||||
|
run: cp config.json.example config.json
|
||||||
|
|
||||||
|
# Create Chrome artifacts
|
||||||
|
- name: Create Chrome artifacts
|
||||||
|
run: npm run build:chrome
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ChromeExtension
|
||||||
|
path: dist
|
||||||
|
- run: mkdir ./builds
|
||||||
|
- name: Zip Artifacts
|
||||||
|
run: cd ./dist ; zip -r ../builds/ChromeExtension.zip *
|
||||||
|
|
||||||
|
# Create Firefox artifacts
|
||||||
|
- name: Create Firefox artifacts
|
||||||
|
run: npm run build:firefox
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: FirefoxExtension
|
||||||
|
path: dist
|
||||||
|
- name: Zip Artifacts
|
||||||
|
run: cd ./dist ; zip -r ../builds/FirefoxExtension.zip *
|
||||||
|
|
||||||
|
# Create Beta artifacts (Builds with the name changed to beta)
|
||||||
|
- name: Create Chrome Beta artifacts
|
||||||
|
run: npm run build:chrome -- --env stream=beta
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ChromeExtensionBeta
|
||||||
|
path: dist
|
||||||
|
- name: Zip Artifacts
|
||||||
|
run: cd ./dist ; zip -r ../builds/ChromeExtensionBeta.zip *
|
||||||
|
|
||||||
|
|
||||||
|
# Create Safari artifacts
|
||||||
|
- name: Create Safari artifacts
|
||||||
|
run: npm run build:safari
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: SafariExtension
|
||||||
|
path: dist
|
||||||
|
- name: Zip Artifacts
|
||||||
|
run: cd ./dist ; zip -r ../builds/SafariExtension.zip *
|
||||||
|
# Create Edge artifacts
|
||||||
|
- name: Clear dist for Edge
|
||||||
|
run: rm -rf ./dist
|
||||||
|
- name: Create Edge artifacts
|
||||||
|
run: npm run build:edge
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: EdgeExtension
|
||||||
|
path: dist
|
||||||
|
- name: Zip Artifacts
|
||||||
|
run: cd ./dist ; zip -r ../builds/EdgeExtension.zip *
|
||||||
|
|
||||||
|
# Upload each release asset
|
||||||
|
- name: Upload ChromeExtension to release
|
||||||
|
uses: Shopify/upload-to-release@master
|
||||||
|
with:
|
||||||
|
args: builds/ChromeExtension.zip
|
||||||
|
name: ChromeExtension.zip
|
||||||
|
path: ./builds/ChromeExtension.zip
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Upload ChromeExtensionBeta to release
|
||||||
|
uses: Shopify/upload-to-release@master
|
||||||
|
with:
|
||||||
|
args: builds/ChromeExtensionBeta.zip
|
||||||
|
name: ChromeExtensionBeta.zip
|
||||||
|
path: ./builds/ChromeExtensionBeta.zip
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Upload FirefoxExtension to release
|
||||||
|
uses: Shopify/upload-to-release@master
|
||||||
|
with:
|
||||||
|
args: builds/FirefoxExtension.zip
|
||||||
|
name: FirefoxExtension.zip
|
||||||
|
path: ./builds/FirefoxExtension.zip
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Upload SafariExtension to release
|
||||||
|
uses: Shopify/upload-to-release@master
|
||||||
|
with:
|
||||||
|
args: builds/SafariExtension.zip
|
||||||
|
name: SafariExtension.zip
|
||||||
|
path: ./builds/SafariExtension.zip
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Upload EdgeExtension to release
|
||||||
|
uses: Shopify/upload-to-release@master
|
||||||
|
with:
|
||||||
|
args: builds/EdgeExtension.zip
|
||||||
|
name: EdgeExtension.zip
|
||||||
|
path: ./builds/EdgeExtension.zip
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
# Firefox Beta
|
||||||
|
- name: Create Firefox Beta artifacts
|
||||||
|
run: npm run build:firefox -- --env stream=beta
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: FirefoxExtensionBeta
|
||||||
|
path: dist
|
||||||
|
- name: Zip Artifacts
|
||||||
|
run: cd ./dist ; zip -r ../builds/FirefoxExtensionBeta.zip *
|
||||||
|
|
||||||
|
# Create Firefox Signed Beta version
|
||||||
|
- name: Create Firefox Signed Beta artifacts
|
||||||
|
run: npm run web-sign
|
||||||
|
env:
|
||||||
|
WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }}
|
||||||
|
WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }}
|
||||||
|
- name: Install rename
|
||||||
|
run: sudo apt-get install rename
|
||||||
|
- name: Rename signed file
|
||||||
|
run: cd ./web-ext-artifacts ; rename 's/.*/FirefoxSignedInstaller.xpi/' *
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: FirefoxExtensionSigned.xpi
|
||||||
|
path: ./web-ext-artifacts/FirefoxSignedInstaller.xpi
|
||||||
|
|
||||||
|
- name: Upload FirefoxSignedInstaller.xpi to release
|
||||||
|
uses: Shopify/upload-to-release@master
|
||||||
|
with:
|
||||||
|
args: web-ext-artifacts/FirefoxSignedInstaller.xpi
|
||||||
|
name: FirefoxSignedInstaller.xpi
|
||||||
|
path: ./web-ext-artifacts/FirefoxSignedInstaller.xpi
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
14
.github/workflows/take-action.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# .github/workflows/take.yml
|
||||||
|
name: Assign issue to contributor
|
||||||
|
on:
|
||||||
|
issue_comment:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
assign:
|
||||||
|
name: Take an issue
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: take the issue
|
||||||
|
uses: bdougie/take-action@main
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
20
.github/workflows/tests.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Tests
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
name: Run tests
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
# Initialization
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
- run: npm ci
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: npm run test-without-building
|
||||||
34
.github/workflows/update-oss-attribution.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
name: update oss attributions
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- 'package.json'
|
||||||
|
- 'package-lock.json'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-oss:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
- name: Install and generate attribution
|
||||||
|
run: |
|
||||||
|
npm ci
|
||||||
|
npm i -g oss-attribution-generator
|
||||||
|
generate-attribution
|
||||||
|
mv ./oss-attribution/attribution.txt ./public/oss-attribution/attribution.txt
|
||||||
|
|
||||||
|
- name: Create pull request to update list
|
||||||
|
uses: peter-evans/create-pull-request@v3
|
||||||
|
with:
|
||||||
|
commit-message: Update OSS Attribution
|
||||||
|
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
||||||
|
branch: ci/oss_attribution
|
||||||
|
title: Update OSS Attribution
|
||||||
|
body: Automated OSS Attribution update
|
||||||
28
.github/workflows/updateInvidous.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
name: update invidious
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 1 * *' # check every month
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-list:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Download instance list
|
||||||
|
run: |
|
||||||
|
wget https://api.invidious.io/instances.json -O ci/data.json
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
- name: "Run CI"
|
||||||
|
run: npm run ci:invidious
|
||||||
|
|
||||||
|
- name: Create pull request to update list
|
||||||
|
uses: peter-evans/create-pull-request@v3
|
||||||
|
with:
|
||||||
|
commit-message: Update Invidious List
|
||||||
|
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
||||||
|
branch: ci/update_invidious_list
|
||||||
|
title: Update Invidious List
|
||||||
|
body: Automated Invidious list update
|
||||||
12
.gitignore
vendored
@@ -1,2 +1,10 @@
|
|||||||
config.js
|
config.json
|
||||||
ignored
|
ignored
|
||||||
|
.idea/
|
||||||
|
node_modules
|
||||||
|
web-ext-artifacts
|
||||||
|
.vscode/
|
||||||
|
dist/
|
||||||
|
tmp/
|
||||||
|
.DS_Store
|
||||||
|
ci/data.json
|
||||||
1
CONTRIBUTING.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
If you make any contributions to SponsorBlock after this file was created, you are agreeing that any code you have contributed will be licensed under LGPL-3.0.
|
||||||
829
LICENSE
@@ -1,674 +1,165 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
Version 3, 29 June 2007
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
This version of the GNU Lesser General Public License incorporates
|
||||||
The GNU General Public License is a free, copyleft license for
|
the terms and conditions of version 3 of the GNU General Public
|
||||||
software and other kinds of works.
|
License, supplemented by the additional permissions listed below.
|
||||||
|
|
||||||
The licenses for most software and other practical works are designed
|
0. Additional Definitions.
|
||||||
to take away your freedom to share and change the works. By contrast,
|
|
||||||
the GNU General Public License is intended to guarantee your freedom to
|
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||||
share and change all versions of a program--to make sure it remains free
|
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||||
software for all its users. We, the Free Software Foundation, use the
|
General Public License.
|
||||||
GNU General Public License for most of our software; it applies also to
|
|
||||||
any other work released this way by its authors. You can apply it to
|
"The Library" refers to a covered work governed by this License,
|
||||||
your programs, too.
|
other than an Application or a Combined Work as defined below.
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
An "Application" is any work that makes use of an interface provided
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
by the Library, but which is not otherwise based on the Library.
|
||||||
have the freedom to distribute copies of free software (and charge for
|
Defining a subclass of a class defined by the Library is deemed a mode
|
||||||
them if you wish), that you receive source code or can get it if you
|
of using an interface provided by the Library.
|
||||||
want it, that you can change the software or use pieces of it in new
|
|
||||||
free programs, and that you know you can do these things.
|
A "Combined Work" is a work produced by combining or linking an
|
||||||
|
Application with the Library. The particular version of the Library
|
||||||
To protect your rights, we need to prevent others from denying you
|
with which the Combined Work was made is also called the "Linked
|
||||||
these rights or asking you to surrender the rights. Therefore, you have
|
Version".
|
||||||
certain responsibilities if you distribute copies of the software, or if
|
|
||||||
you modify it: responsibilities to respect the freedom of others.
|
The "Minimal Corresponding Source" for a Combined Work means the
|
||||||
|
Corresponding Source for the Combined Work, excluding any source code
|
||||||
For example, if you distribute copies of such a program, whether
|
for portions of the Combined Work that, considered in isolation, are
|
||||||
gratis or for a fee, you must pass on to the recipients the same
|
based on the Application, and not on the Linked Version.
|
||||||
freedoms that you received. You must make sure that they, too, receive
|
|
||||||
or can get the source code. And you must show them these terms so they
|
The "Corresponding Application Code" for a Combined Work means the
|
||||||
know their rights.
|
object code and/or source code for the Application, including any data
|
||||||
|
and utility programs needed for reproducing the Combined Work from the
|
||||||
Developers that use the GNU GPL protect your rights with two steps:
|
Application, but excluding the System Libraries of the Combined Work.
|
||||||
(1) assert copyright on the software, and (2) offer you this License
|
|
||||||
giving you legal permission to copy, distribute and/or modify it.
|
1. Exception to Section 3 of the GNU GPL.
|
||||||
|
|
||||||
For the developers' and authors' protection, the GPL clearly explains
|
You may convey a covered work under sections 3 and 4 of this License
|
||||||
that there is no warranty for this free software. For both users' and
|
without being bound by section 3 of the GNU GPL.
|
||||||
authors' sake, the GPL requires that modified versions be marked as
|
|
||||||
changed, so that their problems will not be attributed erroneously to
|
2. Conveying Modified Versions.
|
||||||
authors of previous versions.
|
|
||||||
|
If you modify a copy of the Library, and, in your modifications, a
|
||||||
Some devices are designed to deny users access to install or run
|
facility refers to a function or data to be supplied by an Application
|
||||||
modified versions of the software inside them, although the manufacturer
|
that uses the facility (other than as an argument passed when the
|
||||||
can do so. This is fundamentally incompatible with the aim of
|
facility is invoked), then you may convey a copy of the modified
|
||||||
protecting users' freedom to change the software. The systematic
|
version:
|
||||||
pattern of such abuse occurs in the area of products for individuals to
|
|
||||||
use, which is precisely where it is most unacceptable. Therefore, we
|
a) under this License, provided that you make a good faith effort to
|
||||||
have designed this version of the GPL to prohibit the practice for those
|
ensure that, in the event an Application does not supply the
|
||||||
products. If such problems arise substantially in other domains, we
|
function or data, the facility still operates, and performs
|
||||||
stand ready to extend this provision to those domains in future versions
|
whatever part of its purpose remains meaningful, or
|
||||||
of the GPL, as needed to protect the freedom of users.
|
|
||||||
|
b) under the GNU GPL, with none of the additional permissions of
|
||||||
Finally, every program is threatened constantly by software patents.
|
this License applicable to that copy.
|
||||||
States should not allow patents to restrict development and use of
|
|
||||||
software on general-purpose computers, but in those that do, we wish to
|
3. Object Code Incorporating Material from Library Header Files.
|
||||||
avoid the special danger that patents applied to a free program could
|
|
||||||
make it effectively proprietary. To prevent this, the GPL assures that
|
The object code form of an Application may incorporate material from
|
||||||
patents cannot be used to render the program non-free.
|
a header file that is part of the Library. You may convey such object
|
||||||
|
code under terms of your choice, provided that, if the incorporated
|
||||||
The precise terms and conditions for copying, distribution and
|
material is not limited to numerical parameters, data structure
|
||||||
modification follow.
|
layouts and accessors, or small macros, inline functions and templates
|
||||||
|
(ten or fewer lines in length), you do both of the following:
|
||||||
TERMS AND CONDITIONS
|
|
||||||
|
a) Give prominent notice with each copy of the object code that the
|
||||||
0. Definitions.
|
Library is used in it and that the Library and its use are
|
||||||
|
covered by this License.
|
||||||
"This License" refers to version 3 of the GNU General Public License.
|
|
||||||
|
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
document.
|
||||||
works, such as semiconductor masks.
|
|
||||||
|
4. Combined Works.
|
||||||
"The Program" refers to any copyrightable work licensed under this
|
|
||||||
License. Each licensee is addressed as "you". "Licensees" and
|
You may convey a Combined Work under terms of your choice that,
|
||||||
"recipients" may be individuals or organizations.
|
taken together, effectively do not restrict modification of the
|
||||||
|
portions of the Library contained in the Combined Work and reverse
|
||||||
To "modify" a work means to copy from or adapt all or part of the work
|
engineering for debugging such modifications, if you also do each of
|
||||||
in a fashion requiring copyright permission, other than the making of an
|
the following:
|
||||||
exact copy. The resulting work is called a "modified version" of the
|
|
||||||
earlier work or a work "based on" the earlier work.
|
a) Give prominent notice with each copy of the Combined Work that
|
||||||
|
the Library is used in it and that the Library and its use are
|
||||||
A "covered work" means either the unmodified Program or a work based
|
covered by this License.
|
||||||
on the Program.
|
|
||||||
|
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||||
To "propagate" a work means to do anything with it that, without
|
document.
|
||||||
permission, would make you directly or secondarily liable for
|
|
||||||
infringement under applicable copyright law, except executing it on a
|
c) For a Combined Work that displays copyright notices during
|
||||||
computer or modifying a private copy. Propagation includes copying,
|
execution, include the copyright notice for the Library among
|
||||||
distribution (with or without modification), making available to the
|
these notices, as well as a reference directing the user to the
|
||||||
public, and in some countries other activities as well.
|
copies of the GNU GPL and this license document.
|
||||||
|
|
||||||
To "convey" a work means any kind of propagation that enables other
|
d) Do one of the following:
|
||||||
parties to make or receive copies. Mere interaction with a user through
|
|
||||||
a computer network, with no transfer of a copy, is not conveying.
|
0) Convey the Minimal Corresponding Source under the terms of this
|
||||||
|
License, and the Corresponding Application Code in a form
|
||||||
An interactive user interface displays "Appropriate Legal Notices"
|
suitable for, and under terms that permit, the user to
|
||||||
to the extent that it includes a convenient and prominently visible
|
recombine or relink the Application with a modified version of
|
||||||
feature that (1) displays an appropriate copyright notice, and (2)
|
the Linked Version to produce a modified Combined Work, in the
|
||||||
tells the user that there is no warranty for the work (except to the
|
manner specified by section 6 of the GNU GPL for conveying
|
||||||
extent that warranties are provided), that licensees may convey the
|
Corresponding Source.
|
||||||
work under this License, and how to view a copy of this License. If
|
|
||||||
the interface presents a list of user commands or options, such as a
|
1) Use a suitable shared library mechanism for linking with the
|
||||||
menu, a prominent item in the list meets this criterion.
|
Library. A suitable mechanism is one that (a) uses at run time
|
||||||
|
a copy of the Library already present on the user's computer
|
||||||
1. Source Code.
|
system, and (b) will operate properly with a modified version
|
||||||
|
of the Library that is interface-compatible with the Linked
|
||||||
The "source code" for a work means the preferred form of the work
|
Version.
|
||||||
for making modifications to it. "Object code" means any non-source
|
|
||||||
form of a work.
|
e) Provide Installation Information, but only if you would otherwise
|
||||||
|
be required to provide such information under section 6 of the
|
||||||
A "Standard Interface" means an interface that either is an official
|
GNU GPL, and only to the extent that such information is
|
||||||
standard defined by a recognized standards body, or, in the case of
|
necessary to install and execute a modified version of the
|
||||||
interfaces specified for a particular programming language, one that
|
Combined Work produced by recombining or relinking the
|
||||||
is widely used among developers working in that language.
|
Application with a modified version of the Linked Version. (If
|
||||||
|
you use option 4d0, the Installation Information must accompany
|
||||||
The "System Libraries" of an executable work include anything, other
|
the Minimal Corresponding Source and Corresponding Application
|
||||||
than the work as a whole, that (a) is included in the normal form of
|
Code. If you use option 4d1, you must provide the Installation
|
||||||
packaging a Major Component, but which is not part of that Major
|
Information in the manner specified by section 6 of the GNU GPL
|
||||||
Component, and (b) serves only to enable use of the work with that
|
for conveying Corresponding Source.)
|
||||||
Major Component, or to implement a Standard Interface for which an
|
|
||||||
implementation is available to the public in source code form. A
|
5. Combined Libraries.
|
||||||
"Major Component", in this context, means a major essential component
|
|
||||||
(kernel, window system, and so on) of the specific operating system
|
You may place library facilities that are a work based on the
|
||||||
(if any) on which the executable work runs, or a compiler used to
|
Library side by side in a single library together with other library
|
||||||
produce the work, or an object code interpreter used to run it.
|
facilities that are not Applications and are not covered by this
|
||||||
|
License, and convey such a combined library under terms of your
|
||||||
The "Corresponding Source" for a work in object code form means all
|
choice, if you do both of the following:
|
||||||
the source code needed to generate, install, and (for an executable
|
|
||||||
work) run the object code and to modify the work, including scripts to
|
a) Accompany the combined library with a copy of the same work based
|
||||||
control those activities. However, it does not include the work's
|
on the Library, uncombined with any other library facilities,
|
||||||
System Libraries, or general-purpose tools or generally available free
|
conveyed under the terms of this License.
|
||||||
programs which are used unmodified in performing those activities but
|
|
||||||
which are not part of the work. For example, Corresponding Source
|
b) Give prominent notice with the combined library that part of it
|
||||||
includes interface definition files associated with source files for
|
is a work based on the Library, and explaining where to find the
|
||||||
the work, and the source code for shared libraries and dynamically
|
accompanying uncombined form of the same work.
|
||||||
linked subprograms that the work is specifically designed to require,
|
|
||||||
such as by intimate data communication or control flow between those
|
6. Revised Versions of the GNU Lesser General Public License.
|
||||||
subprograms and other parts of the work.
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions
|
||||||
The Corresponding Source need not include anything that users
|
of the GNU Lesser General Public License from time to time. Such new
|
||||||
can regenerate automatically from other parts of the Corresponding
|
versions will be similar in spirit to the present version, but may
|
||||||
Source.
|
differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
The Corresponding Source for a work in source code form is that
|
Each version is given a distinguishing version number. If the
|
||||||
same work.
|
Library as you received it specifies that a certain numbered version
|
||||||
|
of the GNU Lesser General Public License "or any later version"
|
||||||
2. Basic Permissions.
|
applies to it, you have the option of following the terms and
|
||||||
|
conditions either of that published version or of any later version
|
||||||
All rights granted under this License are granted for the term of
|
published by the Free Software Foundation. If the Library as you
|
||||||
copyright on the Program, and are irrevocable provided the stated
|
received it does not specify a version number of the GNU Lesser
|
||||||
conditions are met. This License explicitly affirms your unlimited
|
General Public License, you may choose any version of the GNU Lesser
|
||||||
permission to run the unmodified Program. The output from running a
|
General Public License ever published by the Free Software Foundation.
|
||||||
covered work is covered by this License only if the output, given its
|
|
||||||
content, constitutes a covered work. This License acknowledges your
|
If the Library as you received it specifies that a proxy can decide
|
||||||
rights of fair use or other equivalent, as provided by copyright law.
|
whether future versions of the GNU Lesser General Public License shall
|
||||||
|
apply, that proxy's public statement of acceptance of any version is
|
||||||
You may make, run and propagate covered works that you do not
|
permanent authorization for you to choose that version for the
|
||||||
convey, without conditions so long as your license otherwise remains
|
Library.
|
||||||
in force. You may convey covered works to others for the sole purpose
|
|
||||||
of having them make modifications exclusively for you, or provide you
|
|
||||||
with facilities for running those works, provided that you comply with
|
|
||||||
the terms of this License in conveying all material for which you do
|
|
||||||
not control copyright. Those thus making or running the covered works
|
|
||||||
for you must do so exclusively on your behalf, under your direction
|
|
||||||
and control, on terms that prohibit them from making any copies of
|
|
||||||
your copyrighted material outside their relationship with you.
|
|
||||||
|
|
||||||
Conveying under any other circumstances is permitted solely under
|
|
||||||
the conditions stated below. Sublicensing is not allowed; section 10
|
|
||||||
makes it unnecessary.
|
|
||||||
|
|
||||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
||||||
|
|
||||||
No covered work shall be deemed part of an effective technological
|
|
||||||
measure under any applicable law fulfilling obligations under article
|
|
||||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
|
||||||
similar laws prohibiting or restricting circumvention of such
|
|
||||||
measures.
|
|
||||||
|
|
||||||
When you convey a covered work, you waive any legal power to forbid
|
|
||||||
circumvention of technological measures to the extent such circumvention
|
|
||||||
is effected by exercising rights under this License with respect to
|
|
||||||
the covered work, and you disclaim any intention to limit operation or
|
|
||||||
modification of the work as a means of enforcing, against the work's
|
|
||||||
users, your or third parties' legal rights to forbid circumvention of
|
|
||||||
technological measures.
|
|
||||||
|
|
||||||
4. Conveying Verbatim Copies.
|
|
||||||
|
|
||||||
You may convey verbatim copies of the Program's source code as you
|
|
||||||
receive it, in any medium, provided that you conspicuously and
|
|
||||||
appropriately publish on each copy an appropriate copyright notice;
|
|
||||||
keep intact all notices stating that this License and any
|
|
||||||
non-permissive terms added in accord with section 7 apply to the code;
|
|
||||||
keep intact all notices of the absence of any warranty; and give all
|
|
||||||
recipients a copy of this License along with the Program.
|
|
||||||
|
|
||||||
You may charge any price or no price for each copy that you convey,
|
|
||||||
and you may offer support or warranty protection for a fee.
|
|
||||||
|
|
||||||
5. Conveying Modified Source Versions.
|
|
||||||
|
|
||||||
You may convey a work based on the Program, or the modifications to
|
|
||||||
produce it from the Program, in the form of source code under the
|
|
||||||
terms of section 4, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) The work must carry prominent notices stating that you modified
|
|
||||||
it, and giving a relevant date.
|
|
||||||
|
|
||||||
b) The work must carry prominent notices stating that it is
|
|
||||||
released under this License and any conditions added under section
|
|
||||||
7. This requirement modifies the requirement in section 4 to
|
|
||||||
"keep intact all notices".
|
|
||||||
|
|
||||||
c) You must license the entire work, as a whole, under this
|
|
||||||
License to anyone who comes into possession of a copy. This
|
|
||||||
License will therefore apply, along with any applicable section 7
|
|
||||||
additional terms, to the whole of the work, and all its parts,
|
|
||||||
regardless of how they are packaged. This License gives no
|
|
||||||
permission to license the work in any other way, but it does not
|
|
||||||
invalidate such permission if you have separately received it.
|
|
||||||
|
|
||||||
d) If the work has interactive user interfaces, each must display
|
|
||||||
Appropriate Legal Notices; however, if the Program has interactive
|
|
||||||
interfaces that do not display Appropriate Legal Notices, your
|
|
||||||
work need not make them do so.
|
|
||||||
|
|
||||||
A compilation of a covered work with other separate and independent
|
|
||||||
works, which are not by their nature extensions of the covered work,
|
|
||||||
and which are not combined with it such as to form a larger program,
|
|
||||||
in or on a volume of a storage or distribution medium, is called an
|
|
||||||
"aggregate" if the compilation and its resulting copyright are not
|
|
||||||
used to limit the access or legal rights of the compilation's users
|
|
||||||
beyond what the individual works permit. Inclusion of a covered work
|
|
||||||
in an aggregate does not cause this License to apply to the other
|
|
||||||
parts of the aggregate.
|
|
||||||
|
|
||||||
6. Conveying Non-Source Forms.
|
|
||||||
|
|
||||||
You may convey a covered work in object code form under the terms
|
|
||||||
of sections 4 and 5, provided that you also convey the
|
|
||||||
machine-readable Corresponding Source under the terms of this License,
|
|
||||||
in one of these ways:
|
|
||||||
|
|
||||||
a) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by the
|
|
||||||
Corresponding Source fixed on a durable physical medium
|
|
||||||
customarily used for software interchange.
|
|
||||||
|
|
||||||
b) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by a
|
|
||||||
written offer, valid for at least three years and valid for as
|
|
||||||
long as you offer spare parts or customer support for that product
|
|
||||||
model, to give anyone who possesses the object code either (1) a
|
|
||||||
copy of the Corresponding Source for all the software in the
|
|
||||||
product that is covered by this License, on a durable physical
|
|
||||||
medium customarily used for software interchange, for a price no
|
|
||||||
more than your reasonable cost of physically performing this
|
|
||||||
conveying of source, or (2) access to copy the
|
|
||||||
Corresponding Source from a network server at no charge.
|
|
||||||
|
|
||||||
c) Convey individual copies of the object code with a copy of the
|
|
||||||
written offer to provide the Corresponding Source. This
|
|
||||||
alternative is allowed only occasionally and noncommercially, and
|
|
||||||
only if you received the object code with such an offer, in accord
|
|
||||||
with subsection 6b.
|
|
||||||
|
|
||||||
d) Convey the object code by offering access from a designated
|
|
||||||
place (gratis or for a charge), and offer equivalent access to the
|
|
||||||
Corresponding Source in the same way through the same place at no
|
|
||||||
further charge. You need not require recipients to copy the
|
|
||||||
Corresponding Source along with the object code. If the place to
|
|
||||||
copy the object code is a network server, the Corresponding Source
|
|
||||||
may be on a different server (operated by you or a third party)
|
|
||||||
that supports equivalent copying facilities, provided you maintain
|
|
||||||
clear directions next to the object code saying where to find the
|
|
||||||
Corresponding Source. Regardless of what server hosts the
|
|
||||||
Corresponding Source, you remain obligated to ensure that it is
|
|
||||||
available for as long as needed to satisfy these requirements.
|
|
||||||
|
|
||||||
e) Convey the object code using peer-to-peer transmission, provided
|
|
||||||
you inform other peers where the object code and Corresponding
|
|
||||||
Source of the work are being offered to the general public at no
|
|
||||||
charge under subsection 6d.
|
|
||||||
|
|
||||||
A separable portion of the object code, whose source code is excluded
|
|
||||||
from the Corresponding Source as a System Library, need not be
|
|
||||||
included in conveying the object code work.
|
|
||||||
|
|
||||||
A "User Product" is either (1) a "consumer product", which means any
|
|
||||||
tangible personal property which is normally used for personal, family,
|
|
||||||
or household purposes, or (2) anything designed or sold for incorporation
|
|
||||||
into a dwelling. In determining whether a product is a consumer product,
|
|
||||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
|
||||||
product received by a particular user, "normally used" refers to a
|
|
||||||
typical or common use of that class of product, regardless of the status
|
|
||||||
of the particular user or of the way in which the particular user
|
|
||||||
actually uses, or expects or is expected to use, the product. A product
|
|
||||||
is a consumer product regardless of whether the product has substantial
|
|
||||||
commercial, industrial or non-consumer uses, unless such uses represent
|
|
||||||
the only significant mode of use of the product.
|
|
||||||
|
|
||||||
"Installation Information" for a User Product means any methods,
|
|
||||||
procedures, authorization keys, or other information required to install
|
|
||||||
and execute modified versions of a covered work in that User Product from
|
|
||||||
a modified version of its Corresponding Source. The information must
|
|
||||||
suffice to ensure that the continued functioning of the modified object
|
|
||||||
code is in no case prevented or interfered with solely because
|
|
||||||
modification has been made.
|
|
||||||
|
|
||||||
If you convey an object code work under this section in, or with, or
|
|
||||||
specifically for use in, a User Product, and the conveying occurs as
|
|
||||||
part of a transaction in which the right of possession and use of the
|
|
||||||
User Product is transferred to the recipient in perpetuity or for a
|
|
||||||
fixed term (regardless of how the transaction is characterized), the
|
|
||||||
Corresponding Source conveyed under this section must be accompanied
|
|
||||||
by the Installation Information. But this requirement does not apply
|
|
||||||
if neither you nor any third party retains the ability to install
|
|
||||||
modified object code on the User Product (for example, the work has
|
|
||||||
been installed in ROM).
|
|
||||||
|
|
||||||
The requirement to provide Installation Information does not include a
|
|
||||||
requirement to continue to provide support service, warranty, or updates
|
|
||||||
for a work that has been modified or installed by the recipient, or for
|
|
||||||
the User Product in which it has been modified or installed. Access to a
|
|
||||||
network may be denied when the modification itself materially and
|
|
||||||
adversely affects the operation of the network or violates the rules and
|
|
||||||
protocols for communication across the network.
|
|
||||||
|
|
||||||
Corresponding Source conveyed, and Installation Information provided,
|
|
||||||
in accord with this section must be in a format that is publicly
|
|
||||||
documented (and with an implementation available to the public in
|
|
||||||
source code form), and must require no special password or key for
|
|
||||||
unpacking, reading or copying.
|
|
||||||
|
|
||||||
7. Additional Terms.
|
|
||||||
|
|
||||||
"Additional permissions" are terms that supplement the terms of this
|
|
||||||
License by making exceptions from one or more of its conditions.
|
|
||||||
Additional permissions that are applicable to the entire Program shall
|
|
||||||
be treated as though they were included in this License, to the extent
|
|
||||||
that they are valid under applicable law. If additional permissions
|
|
||||||
apply only to part of the Program, that part may be used separately
|
|
||||||
under those permissions, but the entire Program remains governed by
|
|
||||||
this License without regard to the additional permissions.
|
|
||||||
|
|
||||||
When you convey a copy of a covered work, you may at your option
|
|
||||||
remove any additional permissions from that copy, or from any part of
|
|
||||||
it. (Additional permissions may be written to require their own
|
|
||||||
removal in certain cases when you modify the work.) You may place
|
|
||||||
additional permissions on material, added by you to a covered work,
|
|
||||||
for which you have or can give appropriate copyright permission.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, for material you
|
|
||||||
add to a covered work, you may (if authorized by the copyright holders of
|
|
||||||
that material) supplement the terms of this License with terms:
|
|
||||||
|
|
||||||
a) Disclaiming warranty or limiting liability differently from the
|
|
||||||
terms of sections 15 and 16 of this License; or
|
|
||||||
|
|
||||||
b) Requiring preservation of specified reasonable legal notices or
|
|
||||||
author attributions in that material or in the Appropriate Legal
|
|
||||||
Notices displayed by works containing it; or
|
|
||||||
|
|
||||||
c) Prohibiting misrepresentation of the origin of that material, or
|
|
||||||
requiring that modified versions of such material be marked in
|
|
||||||
reasonable ways as different from the original version; or
|
|
||||||
|
|
||||||
d) Limiting the use for publicity purposes of names of licensors or
|
|
||||||
authors of the material; or
|
|
||||||
|
|
||||||
e) Declining to grant rights under trademark law for use of some
|
|
||||||
trade names, trademarks, or service marks; or
|
|
||||||
|
|
||||||
f) Requiring indemnification of licensors and authors of that
|
|
||||||
material by anyone who conveys the material (or modified versions of
|
|
||||||
it) with contractual assumptions of liability to the recipient, for
|
|
||||||
any liability that these contractual assumptions directly impose on
|
|
||||||
those licensors and authors.
|
|
||||||
|
|
||||||
All other non-permissive additional terms are considered "further
|
|
||||||
restrictions" within the meaning of section 10. If the Program as you
|
|
||||||
received it, or any part of it, contains a notice stating that it is
|
|
||||||
governed by this License along with a term that is a further
|
|
||||||
restriction, you may remove that term. If a license document contains
|
|
||||||
a further restriction but permits relicensing or conveying under this
|
|
||||||
License, you may add to a covered work material governed by the terms
|
|
||||||
of that license document, provided that the further restriction does
|
|
||||||
not survive such relicensing or conveying.
|
|
||||||
|
|
||||||
If you add terms to a covered work in accord with this section, you
|
|
||||||
must place, in the relevant source files, a statement of the
|
|
||||||
additional terms that apply to those files, or a notice indicating
|
|
||||||
where to find the applicable terms.
|
|
||||||
|
|
||||||
Additional terms, permissive or non-permissive, may be stated in the
|
|
||||||
form of a separately written license, or stated as exceptions;
|
|
||||||
the above requirements apply either way.
|
|
||||||
|
|
||||||
8. Termination.
|
|
||||||
|
|
||||||
You may not propagate or modify a covered work except as expressly
|
|
||||||
provided under this License. Any attempt otherwise to propagate or
|
|
||||||
modify it is void, and will automatically terminate your rights under
|
|
||||||
this License (including any patent licenses granted under the third
|
|
||||||
paragraph of section 11).
|
|
||||||
|
|
||||||
However, if you cease all violation of this License, then your
|
|
||||||
license from a particular copyright holder is reinstated (a)
|
|
||||||
provisionally, unless and until the copyright holder explicitly and
|
|
||||||
finally terminates your license, and (b) permanently, if the copyright
|
|
||||||
holder fails to notify you of the violation by some reasonable means
|
|
||||||
prior to 60 days after the cessation.
|
|
||||||
|
|
||||||
Moreover, your license from a particular copyright holder is
|
|
||||||
reinstated permanently if the copyright holder notifies you of the
|
|
||||||
violation by some reasonable means, this is the first time you have
|
|
||||||
received notice of violation of this License (for any work) from that
|
|
||||||
copyright holder, and you cure the violation prior to 30 days after
|
|
||||||
your receipt of the notice.
|
|
||||||
|
|
||||||
Termination of your rights under this section does not terminate the
|
|
||||||
licenses of parties who have received copies or rights from you under
|
|
||||||
this License. If your rights have been terminated and not permanently
|
|
||||||
reinstated, you do not qualify to receive new licenses for the same
|
|
||||||
material under section 10.
|
|
||||||
|
|
||||||
9. Acceptance Not Required for Having Copies.
|
|
||||||
|
|
||||||
You are not required to accept this License in order to receive or
|
|
||||||
run a copy of the Program. Ancillary propagation of a covered work
|
|
||||||
occurring solely as a consequence of using peer-to-peer transmission
|
|
||||||
to receive a copy likewise does not require acceptance. However,
|
|
||||||
nothing other than this License grants you permission to propagate or
|
|
||||||
modify any covered work. These actions infringe copyright if you do
|
|
||||||
not accept this License. Therefore, by modifying or propagating a
|
|
||||||
covered work, you indicate your acceptance of this License to do so.
|
|
||||||
|
|
||||||
10. Automatic Licensing of Downstream Recipients.
|
|
||||||
|
|
||||||
Each time you convey a covered work, the recipient automatically
|
|
||||||
receives a license from the original licensors, to run, modify and
|
|
||||||
propagate that work, subject to this License. You are not responsible
|
|
||||||
for enforcing compliance by third parties with this License.
|
|
||||||
|
|
||||||
An "entity transaction" is a transaction transferring control of an
|
|
||||||
organization, or substantially all assets of one, or subdividing an
|
|
||||||
organization, or merging organizations. If propagation of a covered
|
|
||||||
work results from an entity transaction, each party to that
|
|
||||||
transaction who receives a copy of the work also receives whatever
|
|
||||||
licenses to the work the party's predecessor in interest had or could
|
|
||||||
give under the previous paragraph, plus a right to possession of the
|
|
||||||
Corresponding Source of the work from the predecessor in interest, if
|
|
||||||
the predecessor has it or can get it with reasonable efforts.
|
|
||||||
|
|
||||||
You may not impose any further restrictions on the exercise of the
|
|
||||||
rights granted or affirmed under this License. For example, you may
|
|
||||||
not impose a license fee, royalty, or other charge for exercise of
|
|
||||||
rights granted under this License, and you may not initiate litigation
|
|
||||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
|
||||||
any patent claim is infringed by making, using, selling, offering for
|
|
||||||
sale, or importing the Program or any portion of it.
|
|
||||||
|
|
||||||
11. Patents.
|
|
||||||
|
|
||||||
A "contributor" is a copyright holder who authorizes use under this
|
|
||||||
License of the Program or a work on which the Program is based. The
|
|
||||||
work thus licensed is called the contributor's "contributor version".
|
|
||||||
|
|
||||||
A contributor's "essential patent claims" are all patent claims
|
|
||||||
owned or controlled by the contributor, whether already acquired or
|
|
||||||
hereafter acquired, that would be infringed by some manner, permitted
|
|
||||||
by this License, of making, using, or selling its contributor version,
|
|
||||||
but do not include claims that would be infringed only as a
|
|
||||||
consequence of further modification of the contributor version. For
|
|
||||||
purposes of this definition, "control" includes the right to grant
|
|
||||||
patent sublicenses in a manner consistent with the requirements of
|
|
||||||
this License.
|
|
||||||
|
|
||||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
|
||||||
patent license under the contributor's essential patent claims, to
|
|
||||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
|
||||||
propagate the contents of its contributor version.
|
|
||||||
|
|
||||||
In the following three paragraphs, a "patent license" is any express
|
|
||||||
agreement or commitment, however denominated, not to enforce a patent
|
|
||||||
(such as an express permission to practice a patent or covenant not to
|
|
||||||
sue for patent infringement). To "grant" such a patent license to a
|
|
||||||
party means to make such an agreement or commitment not to enforce a
|
|
||||||
patent against the party.
|
|
||||||
|
|
||||||
If you convey a covered work, knowingly relying on a patent license,
|
|
||||||
and the Corresponding Source of the work is not available for anyone
|
|
||||||
to copy, free of charge and under the terms of this License, through a
|
|
||||||
publicly available network server or other readily accessible means,
|
|
||||||
then you must either (1) cause the Corresponding Source to be so
|
|
||||||
available, or (2) arrange to deprive yourself of the benefit of the
|
|
||||||
patent license for this particular work, or (3) arrange, in a manner
|
|
||||||
consistent with the requirements of this License, to extend the patent
|
|
||||||
license to downstream recipients. "Knowingly relying" means you have
|
|
||||||
actual knowledge that, but for the patent license, your conveying the
|
|
||||||
covered work in a country, or your recipient's use of the covered work
|
|
||||||
in a country, would infringe one or more identifiable patents in that
|
|
||||||
country that you have reason to believe are valid.
|
|
||||||
|
|
||||||
If, pursuant to or in connection with a single transaction or
|
|
||||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
|
||||||
covered work, and grant a patent license to some of the parties
|
|
||||||
receiving the covered work authorizing them to use, propagate, modify
|
|
||||||
or convey a specific copy of the covered work, then the patent license
|
|
||||||
you grant is automatically extended to all recipients of the covered
|
|
||||||
work and works based on it.
|
|
||||||
|
|
||||||
A patent license is "discriminatory" if it does not include within
|
|
||||||
the scope of its coverage, prohibits the exercise of, or is
|
|
||||||
conditioned on the non-exercise of one or more of the rights that are
|
|
||||||
specifically granted under this License. You may not convey a covered
|
|
||||||
work if you are a party to an arrangement with a third party that is
|
|
||||||
in the business of distributing software, under which you make payment
|
|
||||||
to the third party based on the extent of your activity of conveying
|
|
||||||
the work, and under which the third party grants, to any of the
|
|
||||||
parties who would receive the covered work from you, a discriminatory
|
|
||||||
patent license (a) in connection with copies of the covered work
|
|
||||||
conveyed by you (or copies made from those copies), or (b) primarily
|
|
||||||
for and in connection with specific products or compilations that
|
|
||||||
contain the covered work, unless you entered into that arrangement,
|
|
||||||
or that patent license was granted, prior to 28 March 2007.
|
|
||||||
|
|
||||||
Nothing in this License shall be construed as excluding or limiting
|
|
||||||
any implied license or other defenses to infringement that may
|
|
||||||
otherwise be available to you under applicable patent law.
|
|
||||||
|
|
||||||
12. No Surrender of Others' Freedom.
|
|
||||||
|
|
||||||
If conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot convey a
|
|
||||||
covered work so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you may
|
|
||||||
not convey it at all. For example, if you agree to terms that obligate you
|
|
||||||
to collect a royalty for further conveying from those to whom you convey
|
|
||||||
the Program, the only way you could satisfy both those terms and this
|
|
||||||
License would be to refrain entirely from conveying the Program.
|
|
||||||
|
|
||||||
13. Use with the GNU Affero General Public License.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, you have
|
|
||||||
permission to link or combine any covered work with a work licensed
|
|
||||||
under version 3 of the GNU Affero General Public License into a single
|
|
||||||
combined work, and to convey the resulting work. The terms of this
|
|
||||||
License will continue to apply to the part which is the covered work,
|
|
||||||
but the special requirements of the GNU Affero General Public License,
|
|
||||||
section 13, concerning interaction through a network will apply to the
|
|
||||||
combination as such.
|
|
||||||
|
|
||||||
14. Revised Versions of this License.
|
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions of
|
|
||||||
the GNU General Public License from time to time. Such new versions will
|
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
|
||||||
address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
|
||||||
Program specifies that a certain numbered version of the GNU General
|
|
||||||
Public License "or any later version" applies to it, you have the
|
|
||||||
option of following the terms and conditions either of that numbered
|
|
||||||
version or of any later version published by the Free Software
|
|
||||||
Foundation. If the Program does not specify a version number of the
|
|
||||||
GNU General Public License, you may choose any version ever published
|
|
||||||
by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Program specifies that a proxy can decide which future
|
|
||||||
versions of the GNU General Public License can be used, that proxy's
|
|
||||||
public statement of acceptance of a version permanently authorizes you
|
|
||||||
to choose that version for the Program.
|
|
||||||
|
|
||||||
Later license versions may give you additional or different
|
|
||||||
permissions. However, no additional obligations are imposed on any
|
|
||||||
author or copyright holder as a result of your choosing to follow a
|
|
||||||
later version.
|
|
||||||
|
|
||||||
15. Disclaimer of Warranty.
|
|
||||||
|
|
||||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
|
||||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
|
||||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
|
||||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
|
||||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
|
||||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
16. Limitation of Liability.
|
|
||||||
|
|
||||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
|
||||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
|
||||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
|
||||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
|
||||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
|
||||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
|
||||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
|
||||||
SUCH DAMAGES.
|
|
||||||
|
|
||||||
17. Interpretation of Sections 15 and 16.
|
|
||||||
|
|
||||||
If the disclaimer of warranty and limitation of liability provided
|
|
||||||
above cannot be given local legal effect according to their terms,
|
|
||||||
reviewing courts shall apply local law that most closely approximates
|
|
||||||
an absolute waiver of all civil liability in connection with the
|
|
||||||
Program, unless a warranty or assumption of liability accompanies a
|
|
||||||
copy of the Program in return for a fee.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
|
||||||
possible use to the public, the best way to achieve this is to make it
|
|
||||||
free software which everyone can redistribute and change under these terms.
|
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
|
||||||
to attach them to the start of each source file to most effectively
|
|
||||||
state the exclusion of warranty; and each file should have at least
|
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
|
||||||
Copyright (C) <year> <name of author>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
If the program does terminal interaction, make it output a short
|
|
||||||
notice like this when it starts in an interactive mode:
|
|
||||||
|
|
||||||
<program> Copyright (C) <year> <name of author>
|
|
||||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
|
||||||
This is free software, and you are welcome to redistribute it
|
|
||||||
under certain conditions; type `show c' for details.
|
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
||||||
parts of the General Public License. Of course, your program's commands
|
|
||||||
might be different; for a GUI interface, you would use an "about box".
|
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or school,
|
|
||||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
||||||
For more information on this, and how to apply and follow the GNU GPL, see
|
|
||||||
<http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
The GNU General Public License does not permit incorporating your program
|
|
||||||
into proprietary programs. If your program is a subroutine library, you
|
|
||||||
may consider it more useful to permit linking proprietary applications with
|
|
||||||
the library. If this is what you want to do, use the GNU Lesser General
|
|
||||||
Public License instead of this License. But first, please read
|
|
||||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
|
||||||
|
|||||||
95
README.md
@@ -1,36 +1,99 @@
|
|||||||

|
<p align="center">
|
||||||
<br/><sub>Logo by [@munadikieh](https://github.com/munadikieh)</sub>
|
<a href="https://sponsor.ajay.app"><img src="public/icons/LogoSponsorBlocker256px.png" alt="Logo"></img></a>
|
||||||
|
|
||||||
# SponsorBlock
|
<br/>
|
||||||
|
<sub>Logo by <a href="https://github.com/munadikieh">@munadikieh</a></sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
SponsorBlock is an extension that will skip over sponsored segments of YouTube videos. SponsorBlock is a crowdsourced browser extension that let's anyone submit the start and end time's of sponsored segments of YouTube videos. Once one person submits this information, everyone else with this extension will skip right over the sponsored segment.
|
<h1 align="center">SponsorLock</h1>
|
||||||
|
|
||||||
# Available for Chrome and Firefox
|
<p align="center">
|
||||||
|
<b>Download:</b>
|
||||||
|
<a href="https://chrome.google.com/webstore/detail/mnjggcdmjocbbbhaepdhchncahnbgone">Chrome/Chromium</a> |
|
||||||
|
<a href="https://addons.mozilla.org/addon/sponsorblock/?src=external-github">Firefox</a> |
|
||||||
|
<a href="https://github.com/ajayyy/SponsorBlock/wiki/Android">Android</a> |
|
||||||
|
<a href="https://github.com/ajayyy/SponsorBlock/wiki/Edge">Edge</a> |
|
||||||
|
<a href="https://github.com/ajayyy/SponsorBlock/wiki/Safari">Safari for MacOS</a> |
|
||||||
|
<a href="https://sponsor.ajay.app">Website</a> |
|
||||||
|
<a href="https://sponsor.ajay.app/stats">Stats</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
Chrome: https://chrome.google.com/webstore/detail/mnjggcdmjocbbbhaepdhchncahnbgone/
|
<p align="center">
|
||||||
|
<b>3rd-Party Ports:</b>
|
||||||
|
<a href="https://github.com/ajayyy/SponsorBlock/wiki/3rd-Party-Ports#mpv-media-player">MPV</a> |
|
||||||
|
<a href="https://github.com/ajayyy/SponsorBlock/wiki/3rd-Party-Ports#kodi">Kodi</a> |
|
||||||
|
<a href="https://github.com/ajayyy/SponsorBlock/wiki/3rd-Party-Ports#Chromecast">Chromecast</a> |
|
||||||
|
<a href="https://github.com/ajayyy/SponsorBlock/wiki/3rd-Party-Ports#ios">iOS</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
Firefox: https://addons.mozilla.org/addon/sponsorblock/
|
<p align="center">
|
||||||
|
<a href="https://addons.mozilla.org/addon/sponsorblock/?src=external-github"><img src="https://img.shields.io/amo/users/sponsorblock?label=Firefox%20Users" alt="Badge"></img></a>
|
||||||
|
<a href="https://chrome.google.com/webstore/detail/mnjggcdmjocbbbhaepdhchncahnbgone"><img src="https://img.shields.io/chrome-web-store/users/mnjggcdmjocbbbhaepdhchncahnbgone?label=Chrome%20Users" alt="Badge"></img></a>
|
||||||
|
<a href="https://sponsor.ajay.app/stats"><img src="https://img.shields.io/badge/dynamic/json?label=Submissions&query=totalSubmissions&suffix=%20segments&url=http%3A%2F%2Fsponsor.ajay.app%2Fapi%2FgetTotalStats&color=darkred" alt="Badge"></img></a>
|
||||||
|
<a href="https://sponsor.ajay.app/stats"><img src="https://img.shields.io/badge/dynamic/json?label=Active%20Users&query=apiUsers&url=http%3A%2F%2Fsponsor.ajay.app%2Fapi%2FgetTotalStats&color=darkblue" alt="Badge"></img></a>
|
||||||
|
<a href="https://sponsor.ajay.app/stats"><img src="https://img.shields.io/badge/dynamic/json?label=Time%20Saved%20From%20Skips&query=daysSaved&url=http%3A%2F%2Fsponsor.ajay.app%2Fapi%2FgetDaysSavedFormatted&color=darkgreen&suffix=%20days" alt="Badge"></img></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
SponsorLock is an open-source crowdsourced browser extension to isolate sponsor segments in YouTube videos. Users submit when a sponsor happens from the extension, and the extension only shows you sponsor segments.
|
||||||
|
|
||||||
|
It also supports Invidio.us.
|
||||||
|
|
||||||
|
**Translate:** [](https://crowdin.com/project/sponsorblock)
|
||||||
|
|
||||||
|
# Important Links
|
||||||
|
|
||||||
|
See the [Wiki](https://github.com/ajayyy/SponsorBlock/wiki) for important links.
|
||||||
|
|
||||||
# Server
|
# Server
|
||||||
|
|
||||||
The backend server code is available here: https://github.com/ajayyy/SponsorBlockServer
|
The backend server code is available here: https://github.com/ajayyy/SponsorBlockServer
|
||||||
|
|
||||||
It is a simple Sqlite database that will hold all the timing data.
|
To make sure that this project doesn't die, I have made the database publicly downloadable at https://sponsor.ajay.app/database ([License](https://github.com/ajayyy/SponsorBlock/wiki/Database-and-API-License)). If you are planning on using the database in another project, please read the [API Docs](https://wiki.sponsor.ajay.app/index.php/API_Docs) page for more information.
|
||||||
|
|
||||||
To make sure that this project doesn't die, I have made the database publicly downloadable at https://sponsor.ajay.app/database.db. So, you can download a backup or get archive.org to take a backup if you do desire.
|
The dataset and API are now being used in some [ports](https://github.com/ajayyy/SponsorBlock/wiki/3rd-Party-Ports) as well as a [neural network](https://github.com/andrewzlee/NeuralBlock).
|
||||||
|
|
||||||
Hopefully this project can be combined with projects like [this](https://github.com/Sponsoff/sponsorship_remover) and use this data to create a neural network to predict when sponsored segments happen. That project is sadly abandoned now, so I have decided to attempt to revive this idea.
|
# API
|
||||||
|
|
||||||
# Previous extension
|
You can read the API docs [here](https://wiki.sponsor.ajay.app/index.php/API_Docs).
|
||||||
|
|
||||||
This project is partially based off of [this experimental extension](https://github.com/OfficialNoob/YTSponsorSkip). That extension has the basic video skipping functionality.
|
# Building
|
||||||
|
|
||||||
# Build Yourself
|
You must have [Node.js 16](https://nodejs.org/) and npm installed.
|
||||||
|
|
||||||
You can load this project as an unpacked extension. Make sure to rename the `config.js.example` file to `config.js` before installing.
|
1. Copy the file `config.json.example` to `config.json` and adjust configuration as desired.
|
||||||
|
|
||||||
|
- You will need to repeat this step in the future if you get build errors related to `CompileConfig`. This can happen for example when a new category is added.
|
||||||
|
|
||||||
|
2. Run `npm install` in the repository to install dependencies.
|
||||||
|
|
||||||
|
3. Run `npm run build:dev` (for Chrome) or `npm run build:dev:firefox` (for Firefox) to generate a development version of the extension with source maps.
|
||||||
|
|
||||||
|
- You can also run `npm run build` (for Chrome) or `npm run build:firefox` (for Firefox) to generate a production build.
|
||||||
|
|
||||||
|
4. The built extension is now in `dist/`. You can load this folder directly in Chrome as an [unpacked extension](https://developer.chrome.com/docs/extensions/mv3/getstarted/#manifest), or convert it to a zip file to load it as a [temporary extension](https://developer.mozilla.org/en-US/docs/Tools/about:debugging#loading_a_temporary_extension) in Firefox.
|
||||||
|
|
||||||
|
### Developing with a clean profile and hot reloading
|
||||||
|
|
||||||
|
Run `npm run dev` (for Chrome) or `npm run dev:firefox` (for Firefox) to run the extension using a clean browser profile with hot reloading. This uses [`web-ext run`](https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#commands).
|
||||||
|
|
||||||
|
Known chromium bug: Extension is not loaded properly on first start. Visit `chrome://extensions/` and reload the extension.
|
||||||
|
|
||||||
|
For Firefox for Android, use `npm run dev:firefox-android -- --adb-device <ip-address of the device>`. See the [Firefox documentation](https://extensionworkshop.com/documentation/develop/developing-extensions-for-firefox-for-android/#debug-your-extension) for more information.
|
||||||
|
|
||||||
# Credit
|
# Credit
|
||||||
|
|
||||||
The awesome [Invidious API](https://github.com/omarroth/invidious/wiki/API) is used to grab the time the video was published.
|
The awesome [Invidious API](https://docs.invidious.io/API.md) was previously used, and the server is now using [NewLeaf](https://git.sr.ht/~cadence/NewLeaf) as a to get video info from YouTube.
|
||||||
|
|
||||||
Some icons made by <a href="https://www.flaticon.com/authors/gregor-cresnar" title="Gregor Cresnar">Gregor Cresnar</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> and are licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a>
|
Originally forked from [YTSponsorSkip](https://github.com/NDevTK/YTSponsorSkip), but very little code remains.
|
||||||
|
|
||||||
|
Icons made by:
|
||||||
|
* <a href="https://www.flaticon.com/authors/gregor-cresnar" title="Gregor Cresnar">Gregor Cresnar</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> and are licensed by <a href="https://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a>
|
||||||
|
* <a href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> and are licensed by <a href="https://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a>
|
||||||
|
* <a href="https://iconmonstr.com/about/#creator">Alexander Kahlkopf</a> from <a href="https://iconmonstr.com/">iconmonstr.com</a> and are licensed by <a href="https://iconmonstr.com/license/">iconmonstr License</a>
|
||||||
|
|
||||||
|
|
||||||
|
### License
|
||||||
|
|
||||||
|
This project is licensed under GNU LGPL v3 or any later version
|
||||||
|
|||||||
244
background.js
@@ -1,244 +0,0 @@
|
|||||||
var previousVideoID = null
|
|
||||||
|
|
||||||
//the id of this user, randomly generated once per install
|
|
||||||
var userID = null;
|
|
||||||
|
|
||||||
//when a new tab is highlighted
|
|
||||||
chrome.tabs.onActivated.addListener(
|
|
||||||
function(activeInfo) {
|
|
||||||
chrome.tabs.get(activeInfo.tabId, function(tab) {
|
|
||||||
let id = getYouTubeVideoID(tab.url);
|
|
||||||
|
|
||||||
//if this even is a YouTube tab
|
|
||||||
if (id) {
|
|
||||||
videoIDChange(id, activeInfo.tabId);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
//when a tab changes URLs
|
|
||||||
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
|
|
||||||
if (changeInfo != undefined && changeInfo.url != undefined) {
|
|
||||||
let id = getYouTubeVideoID(changeInfo.url);
|
|
||||||
|
|
||||||
//if URL changed and is youtube video message contentScript the video id
|
|
||||||
if (changeInfo.url && id) {
|
|
||||||
videoIDChange(id, tabId);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
chrome.runtime.onMessage.addListener(function (request, sender, callback) {
|
|
||||||
if (request.message == "submitTimes") {
|
|
||||||
submitTimes(request.videoID, callback);
|
|
||||||
|
|
||||||
//this allows the callback to be called later by the submitTimes function
|
|
||||||
return true;
|
|
||||||
} else if (request.message == "addSponsorTime") {
|
|
||||||
addSponsorTime(request.time, request.videoID);
|
|
||||||
} else if (request.message == "getSponsorTimes") {
|
|
||||||
getSponsorTimes(request.videoID, function(sponsorTimes) {
|
|
||||||
callback({
|
|
||||||
sponsorTimes: sponsorTimes
|
|
||||||
})
|
|
||||||
});
|
|
||||||
|
|
||||||
//this allows the callback to be called later
|
|
||||||
return true;
|
|
||||||
} else if (request.message == "submitVote") {
|
|
||||||
submitVote(request.type, request.UUID, callback);
|
|
||||||
|
|
||||||
//this allows the callback to be called later
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
//gets the sponsor times from memory
|
|
||||||
function getSponsorTimes(videoID, callback) {
|
|
||||||
let sponsorTimes = [];
|
|
||||||
let sponsorTimeKey = "sponsorTimes" + videoID;
|
|
||||||
chrome.storage.sync.get([sponsorTimeKey], function(result) {
|
|
||||||
let sponsorTimesStorage = result[sponsorTimeKey];
|
|
||||||
if (sponsorTimesStorage != undefined && sponsorTimesStorage.length > 0) {
|
|
||||||
sponsorTimes = sponsorTimesStorage;
|
|
||||||
}
|
|
||||||
|
|
||||||
callback(sponsorTimes)
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function addSponsorTime(time, videoID) {
|
|
||||||
getSponsorTimes(videoID, function(sponsorTimes) {
|
|
||||||
//add to sponsorTimes
|
|
||||||
if (sponsorTimes.length > 0 && sponsorTimes[sponsorTimes.length - 1].length < 2) {
|
|
||||||
//it is an end time
|
|
||||||
sponsorTimes[sponsorTimes.length - 1][1] = parseInt(time);
|
|
||||||
} else {
|
|
||||||
//it is a start time
|
|
||||||
let sponsorTimesIndex = sponsorTimes.length;
|
|
||||||
sponsorTimes[sponsorTimesIndex] = [];
|
|
||||||
|
|
||||||
sponsorTimes[sponsorTimesIndex][0] = parseInt(time);
|
|
||||||
}
|
|
||||||
|
|
||||||
//save this info
|
|
||||||
let sponsorTimeKey = "sponsorTimes" + videoID;
|
|
||||||
chrome.storage.sync.set({[sponsorTimeKey]: sponsorTimes});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function submitVote(type, UUID, callback) {
|
|
||||||
getUserID(function(userID) {
|
|
||||||
//publish this vote
|
|
||||||
sendRequestToServer('GET', "/api/voteOnSponsorTime?UUID=" + UUID + "&userID=" + userID + "&type=" + type, function(xmlhttp, error) {
|
|
||||||
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
|
|
||||||
callback({
|
|
||||||
successType: 1
|
|
||||||
});
|
|
||||||
} else if (xmlhttp.readyState == 4 && xmlhttp.status == 405) {
|
|
||||||
//duplicate vote
|
|
||||||
callback({
|
|
||||||
successType: 0
|
|
||||||
});
|
|
||||||
} else if (error) {
|
|
||||||
//error while connect
|
|
||||||
callback({
|
|
||||||
successType: -1
|
|
||||||
});
|
|
||||||
}
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
function submitTimes(videoID, callback) {
|
|
||||||
//get the video times from storage
|
|
||||||
let sponsorTimeKey = 'sponsorTimes' + videoID;
|
|
||||||
chrome.storage.sync.get([sponsorTimeKey], function(result) {
|
|
||||||
let sponsorTimes = result[sponsorTimeKey];
|
|
||||||
|
|
||||||
if (sponsorTimes != undefined && sponsorTimes.length > 0) {
|
|
||||||
//submit these times
|
|
||||||
for (let i = 0; i < sponsorTimes.length; i++) {
|
|
||||||
getUserID(function(userIDStorage) {
|
|
||||||
//submit the sponsorTime
|
|
||||||
sendRequestToServer('GET', "/api/postVideoSponsorTimes?videoID=" + videoID + "&startTime=" + sponsorTimes[i][0] + "&endTime=" + sponsorTimes[i][1]
|
|
||||||
+ "&userID=" + userIDStorage, function(xmlhttp, error) {
|
|
||||||
if (xmlhttp.readyState == 4 && !error) {
|
|
||||||
callback({
|
|
||||||
statusCode: xmlhttp.status
|
|
||||||
});
|
|
||||||
} else if (error) {
|
|
||||||
callback({
|
|
||||||
statusCode: -1
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
//add these to the storage log
|
|
||||||
chrome.storage.sync.get(["sponsorTimesContributed"], function(result) {
|
|
||||||
let currentContributionAmount = 0;
|
|
||||||
if (result.sponsorTimesContributed != undefined) {
|
|
||||||
//current contribution amount is known
|
|
||||||
currentContributionAmount = result.sponsorTimesContributed;
|
|
||||||
}
|
|
||||||
|
|
||||||
//save the amount contributed
|
|
||||||
chrome.storage.sync.set({"sponsorTimesContributed": currentContributionAmount + sponsorTimes.length});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function videoIDChange(currentVideoID, tabId) {
|
|
||||||
//send a message to the content script
|
|
||||||
chrome.tabs.sendMessage(tabId, {
|
|
||||||
message: 'ytvideoid',
|
|
||||||
id: currentVideoID
|
|
||||||
});
|
|
||||||
|
|
||||||
//warn them if they had unsubmitted times
|
|
||||||
if (previousVideoID != null) {
|
|
||||||
//get the sponsor times from storage
|
|
||||||
let sponsorTimeKey = 'sponsorTimes' + previousVideoID;
|
|
||||||
chrome.storage.sync.get([sponsorTimeKey], function(result) {
|
|
||||||
let sponsorTimes = result[sponsorTimeKey];
|
|
||||||
|
|
||||||
if (sponsorTimes != undefined && sponsorTimes.length > 0) {
|
|
||||||
//warn them that they have unsubmitted sponsor times
|
|
||||||
chrome.notifications.create("stillThere" + Math.random(), {
|
|
||||||
type: "basic",
|
|
||||||
title: "Do you want to submit the sponsor times for watch?v=" + previousVideoID + "?",
|
|
||||||
message: "You seem to have left some sponsor times unsubmitted. Go back to that page to submit them (they are not deleted).",
|
|
||||||
iconUrl: "./icons/LogoSponsorBlocker256px.png"
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
//set the previous video id to the currentID
|
|
||||||
previousVideoID = currentVideoID;
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
previousVideoID = currentVideoID;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function getUserID(callback) {
|
|
||||||
if (userID != null) {
|
|
||||||
callback(userID);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
//if it is not cached yet, grab it from storage
|
|
||||||
chrome.storage.sync.get(["userID"], function(result) {
|
|
||||||
let userIDStorage = result.userID;
|
|
||||||
if (userIDStorage != undefined) {
|
|
||||||
userID = userIDStorage;
|
|
||||||
callback(userID);
|
|
||||||
} else {
|
|
||||||
//double check if a UUID hasn't been created since this was first called
|
|
||||||
if (userID != null) {
|
|
||||||
callback(userID);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
//generate a userID
|
|
||||||
userID = generateUUID();
|
|
||||||
|
|
||||||
//save this UUID
|
|
||||||
chrome.storage.sync.set({"userID": userID});
|
|
||||||
|
|
||||||
callback(userID);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function sendRequestToServer(type, address, callback) {
|
|
||||||
let xmlhttp = new XMLHttpRequest();
|
|
||||||
|
|
||||||
xmlhttp.open(type, serverAddress + address, true);
|
|
||||||
|
|
||||||
if (callback != undefined) {
|
|
||||||
xmlhttp.onreadystatechange = function () {
|
|
||||||
callback(xmlhttp, false);
|
|
||||||
};
|
|
||||||
|
|
||||||
xmlhttp.onerror = function(ev) {
|
|
||||||
callback(xmlhttp, true);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
//submit this request
|
|
||||||
xmlhttp.send();
|
|
||||||
}
|
|
||||||
|
|
||||||
function getYouTubeVideoID(url) { // Return video id or false
|
|
||||||
var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/;
|
|
||||||
var match = url.match(regExp);
|
|
||||||
return (match && match[7].length == 11) ? match[7] : false;
|
|
||||||
}
|
|
||||||
|
|
||||||
//uuid generator function from https://gist.github.com/jed/982883
|
|
||||||
function generateUUID(a){return a?(a^Math.random()*16>>a/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,generateUUID)}
|
|
||||||
55
ci/invidiousCI.ts
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
This file is only ran by GitHub Actions in order to populate the Invidious instances list
|
||||||
|
|
||||||
|
This file should not be shipped with the extension
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { writeFile, existsSync } from 'fs';
|
||||||
|
import { join } from 'path';
|
||||||
|
|
||||||
|
// import file from https://api.invidious.io/instances.json
|
||||||
|
if (!existsSync(join(__dirname, "data.json"))) {
|
||||||
|
process.exit(1);
|
||||||
|
}
|
||||||
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
|
// @ts-ignore
|
||||||
|
import * as data from "../ci/data.json";
|
||||||
|
|
||||||
|
type instanceMap = {
|
||||||
|
name: string,
|
||||||
|
url: string,
|
||||||
|
dailyRatios: {ratio: string, label: string }[],
|
||||||
|
thirtyDayUptime: string
|
||||||
|
}[]
|
||||||
|
|
||||||
|
// only https servers
|
||||||
|
const mapped: instanceMap = data
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
.filter((i: any) => i[1]?.type === 'https')
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
.map((instance: any) => {
|
||||||
|
return {
|
||||||
|
name: instance[0],
|
||||||
|
url: instance[1].uri,
|
||||||
|
dailyRatios: instance[1].monitor.dailyRatios,
|
||||||
|
thirtyDayUptime: instance[1]?.monitor['30dRatio'].ratio,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
// reliability and sanity checks
|
||||||
|
const reliableCheck = mapped
|
||||||
|
.filter((instance) => {
|
||||||
|
// 30d uptime >= 90%
|
||||||
|
const thirtyDayUptime = Number(instance.thirtyDayUptime) >= 90
|
||||||
|
// available for at least 80/90 days
|
||||||
|
const dailyRatioCheck = instance.dailyRatios.filter(status => status.label !== "black")
|
||||||
|
return (thirtyDayUptime && dailyRatioCheck.length >= 80)
|
||||||
|
})
|
||||||
|
// url includes name
|
||||||
|
.filter(instance => instance.url.includes(instance.name))
|
||||||
|
|
||||||
|
// finally map to array
|
||||||
|
const result: string[] = reliableCheck.map(instance => instance.name)
|
||||||
|
writeFile(join(__dirname, "./invidiouslist.json"), JSON.stringify(result), (err) => {
|
||||||
|
if (err) return console.log(err);
|
||||||
|
})
|
||||||
1
ci/invidiouslist.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
["yewtu.be","invidious.snopyta.org","vid.puffyan.us","invidious.kavin.rocks","invidio.xamh.de","inv.riverside.rocks","invidious-us.kavin.rocks","invidious.osi.kr","tube.cthd.icu","yt.artemislena.eu","youtube.076.ne.jp","invidious.namazso.eu"]
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
//this file is loaded along iwth content.js
|
|
||||||
//this file sets the server to connect to, and is gitignored
|
|
||||||
var serverAddress = "https://sponsor.ajay.app";
|
|
||||||
32
config.json.example
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"serverAddress": "https://sponsor.ajay.app",
|
||||||
|
"testingServerAddress": "https://sponsor.ajay.app/test",
|
||||||
|
"serverAddressComment": "This specifies the default SponsorBlock server to connect to",
|
||||||
|
"categoryList": ["sponsor", "selfpromo", "exclusive_access", "interaction", "poi_highlight", "intro", "outro", "preview", "filler", "music_offtopic"],
|
||||||
|
"categorySupport": {
|
||||||
|
"sponsor": ["skip", "mute", "full"],
|
||||||
|
"selfpromo": ["skip", "mute", "full"],
|
||||||
|
"exclusive_access": ["full"],
|
||||||
|
"interaction": ["skip", "mute"],
|
||||||
|
"intro": ["skip", "mute"],
|
||||||
|
"outro": ["skip", "mute"],
|
||||||
|
"preview": ["skip", "mute"],
|
||||||
|
"filler": ["skip", "mute"],
|
||||||
|
"music_offtopic": ["skip"],
|
||||||
|
"poi_highlight": ["poi"]
|
||||||
|
},
|
||||||
|
"wikiLinks": {
|
||||||
|
"sponsor": "https://wiki.sponsor.ajay.app/w/Sponsor",
|
||||||
|
"selfpromo": "https://wiki.sponsor.ajay.app/w/Unpaid/Self_Promotion",
|
||||||
|
"exclusive_access": "https://wiki.sponsor.ajay.app/w/Exclusive_Access",
|
||||||
|
"interaction": "https://wiki.sponsor.ajay.app/w/Interaction_Reminder_(Subscribe)",
|
||||||
|
"intro": "https://wiki.sponsor.ajay.app/w/Intermission/Intro_Animation",
|
||||||
|
"outro": "https://wiki.sponsor.ajay.app/w/Endcards/Credits",
|
||||||
|
"preview": "https://wiki.sponsor.ajay.app/w/Preview/Recap",
|
||||||
|
"filler": "https://wiki.sponsor.ajay.app/w/Filler_Tangent",
|
||||||
|
"music_offtopic": "https://wiki.sponsor.ajay.app/w/Music:_Non-Music_Section",
|
||||||
|
"poi_highlight": "https://wiki.sponsor.ajay.app/w/Highlight",
|
||||||
|
"guidelines": "https://wiki.sponsor.ajay.app/w/Guidelines",
|
||||||
|
"mute": "https://wiki.sponsor.ajay.app/w/Mute_Segment"
|
||||||
|
}
|
||||||
|
}
|
||||||
195
content.css
@@ -1,195 +0,0 @@
|
|||||||
.playerButtonImage {
|
|
||||||
height: 60%;
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
display: block;
|
|
||||||
margin: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.playerButton {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sponsorSkipObject {
|
|
||||||
font-family: 'Source Sans Pro', sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sponsorSkipLogo {
|
|
||||||
height: 64px;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
margin: auto;
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes fadeIn {
|
|
||||||
from { opacity: 0; }
|
|
||||||
to { opacity: 1; }
|
|
||||||
}
|
|
||||||
|
|
||||||
.sponsorSkipNotice {
|
|
||||||
min-height: 165px;
|
|
||||||
min-width: 400px;
|
|
||||||
background-color: rgba(255, 217, 217, 0.8);
|
|
||||||
position: absolute;
|
|
||||||
z-index: 1;
|
|
||||||
border: 3px solid rgba(0, 0, 0, 0.8);
|
|
||||||
margin-top: -50px;
|
|
||||||
|
|
||||||
animation: fadeIn 0.5s;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* if two are very close to eachother */
|
|
||||||
.secondSkipNotice {
|
|
||||||
margin-left: 500px;
|
|
||||||
|
|
||||||
transition: margin-left 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sponsorSkipMessage {
|
|
||||||
font-size: 18px;
|
|
||||||
color: #000000;
|
|
||||||
text-align: center;
|
|
||||||
margin-top: 10px;
|
|
||||||
font-weight: bold;
|
|
||||||
margin-top: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sponsorSkipInfo {
|
|
||||||
font-size: 10px;
|
|
||||||
color: #000000;
|
|
||||||
text-align: center;
|
|
||||||
margin-top: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sponsorTimesThanksForVotingText {
|
|
||||||
font-size: 20px;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #000000;
|
|
||||||
text-align: center;
|
|
||||||
margin-top: 0px;
|
|
||||||
margin-bottom: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sponsorTimesThanksForVotingInfoText {
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #000000;
|
|
||||||
text-align: center;
|
|
||||||
margin-top: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sponsorTimesInfoMessage {
|
|
||||||
font-size: 15px;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #000000;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.voteButton {
|
|
||||||
height: 32px;
|
|
||||||
margin-right: 15px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.voteButton:hover {
|
|
||||||
filter: brightness(80%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.submitButton {
|
|
||||||
background-color:#ec1c1c;
|
|
||||||
-moz-border-radius:28px;
|
|
||||||
-webkit-border-radius:28px;
|
|
||||||
border-radius:28px;
|
|
||||||
border:1px solid #d31919;
|
|
||||||
display:inline-block;
|
|
||||||
cursor:pointer;
|
|
||||||
color:#ffffff;
|
|
||||||
font-size:14px;
|
|
||||||
padding:4px 15px;
|
|
||||||
text-decoration:none;
|
|
||||||
text-shadow:0px 0px 0px #662727;
|
|
||||||
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: 15px;
|
|
||||||
}
|
|
||||||
.submitButton:hover {
|
|
||||||
background-color:#bf2a2a;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submitButton:focus {
|
|
||||||
outline: none;
|
|
||||||
background-color:#bf2a2a;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submitButton:active {
|
|
||||||
position:relative;
|
|
||||||
top:1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes rotate {
|
|
||||||
from { transform: rotate(0deg); }
|
|
||||||
to { transform: rotate(360deg); }
|
|
||||||
}
|
|
||||||
|
|
||||||
.sponsorSkipButton {
|
|
||||||
background-color:#ec1c1c;
|
|
||||||
-moz-border-radius:28px;
|
|
||||||
-webkit-border-radius:28px;
|
|
||||||
border-radius:28px;
|
|
||||||
border:1px solid #d31919;
|
|
||||||
display:inline-block;
|
|
||||||
cursor:pointer;
|
|
||||||
color:#ffffff;
|
|
||||||
font-size:14px;
|
|
||||||
padding:4px 15px;
|
|
||||||
text-decoration:none;
|
|
||||||
text-shadow:0px 0px 0px #662727;
|
|
||||||
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: 15px;
|
|
||||||
}
|
|
||||||
.sponsorSkipButton:hover {
|
|
||||||
background-color:#bf2a2a;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sponsorSkipButton:focus {
|
|
||||||
outline: none;
|
|
||||||
background-color:#bf2a2a;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sponsorSkipButton:active {
|
|
||||||
position:relative;
|
|
||||||
top:1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sponsorSkipDontShowButton {
|
|
||||||
-moz-box-shadow:inset 0px 1px 0px 0px #cf866c;
|
|
||||||
-webkit-box-shadow:inset 0px 1px 0px 0px #cf866c;
|
|
||||||
box-shadow:inset 0px 1px 0px 0px #cf866c;
|
|
||||||
background-color:#d0451b;
|
|
||||||
-moz-border-radius:3px;
|
|
||||||
-webkit-border-radius:3px;
|
|
||||||
border-radius:3px;
|
|
||||||
border:1px solid #942911;
|
|
||||||
display:inline-block;
|
|
||||||
cursor:pointer;
|
|
||||||
color:#ffffff;
|
|
||||||
font-size:13px;
|
|
||||||
padding:6px 24px;
|
|
||||||
text-decoration:none;
|
|
||||||
text-shadow:0px 1px 0px #854629;
|
|
||||||
}
|
|
||||||
.sponsorSkipDontShowButton:hover {
|
|
||||||
background-color:#bc3315;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sponsorSkipDontShowButton:focus {
|
|
||||||
outline: none;
|
|
||||||
background-color:#bc3315;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sponsorSkipDontShowButton:active {
|
|
||||||
position:relative;
|
|
||||||
top:1px;
|
|
||||||
}
|
|
||||||
669
content.js
@@ -1,669 +0,0 @@
|
|||||||
if(id = getYouTubeVideoID(document.URL)){ // Direct Links
|
|
||||||
videoIDChange(id);
|
|
||||||
}
|
|
||||||
|
|
||||||
//was sponsor data found when doing SponsorsLookup
|
|
||||||
var sponsorDataFound = false;
|
|
||||||
|
|
||||||
//the actual sponsorTimes if loaded and UUIDs associated with them
|
|
||||||
var sponsorTimes = undefined;
|
|
||||||
var UUIDs = undefined;
|
|
||||||
|
|
||||||
//the video
|
|
||||||
var v;
|
|
||||||
|
|
||||||
//the last time looked at (used to see if this time is in the interval)
|
|
||||||
var lastTime = -1;
|
|
||||||
|
|
||||||
//the actual time (not video time) that the last skip happened
|
|
||||||
var lastUnixTimeSkipped = -1;
|
|
||||||
|
|
||||||
//the last time in the video a sponsor was skipped
|
|
||||||
//used for the go back button
|
|
||||||
var lastSponsorTimeSkipped = null;
|
|
||||||
//used for ratings
|
|
||||||
var lastSponsorTimeSkippedUUID = null;
|
|
||||||
|
|
||||||
//if showing the start sponsor button or the end sponsor button on the player
|
|
||||||
var showingStartSponsor = true;
|
|
||||||
|
|
||||||
//should the video controls buttons be added
|
|
||||||
var hideVideoPlayerControls = false;
|
|
||||||
|
|
||||||
//should view counts be tracked
|
|
||||||
var trackViewCount = false;
|
|
||||||
chrome.storage.sync.get(["trackViewCount"], function(result) {
|
|
||||||
let trackViewCountStorage = result.trackViewCount;
|
|
||||||
if (trackViewCountStorage != undefined) {
|
|
||||||
trackViewCount = trackViewCountStorage;
|
|
||||||
} else {
|
|
||||||
trackViewCount = true;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
//if the notice should not be shown
|
|
||||||
//happens when the user click's the "Don't show notice again" button
|
|
||||||
var dontShowNotice = false;
|
|
||||||
chrome.storage.sync.get(["dontShowNoticeAgain"], function(result) {
|
|
||||||
let dontShowNoticeAgain = result.dontShowNoticeAgain;
|
|
||||||
if (dontShowNoticeAgain != undefined) {
|
|
||||||
dontShowNotice = dontShowNoticeAgain;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
chrome.runtime.onMessage.addListener( // Detect URL Changes
|
|
||||||
function(request, sender, sendResponse) {
|
|
||||||
//message from background script
|
|
||||||
if (request.message == "ytvideoid") {
|
|
||||||
videoIDChange(request.id);
|
|
||||||
}
|
|
||||||
|
|
||||||
//messages from popup script
|
|
||||||
if (request.message == "sponsorStart") {
|
|
||||||
sponsorMessageStarted();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (request.message == "isInfoFound") {
|
|
||||||
//send the sponsor times along with if it's found
|
|
||||||
sendResponse({
|
|
||||||
found: sponsorDataFound,
|
|
||||||
sponsorTimes: sponsorTimes,
|
|
||||||
UUIDs: UUIDs
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
if (request.message == "getVideoID") {
|
|
||||||
sendResponse({
|
|
||||||
videoID: getYouTubeVideoID(document.URL)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
if (request.message == "showNoticeAgain") {
|
|
||||||
dontShowNotice = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (request.message == "changeStartSponsorButton") {
|
|
||||||
changeStartSponsorButton(request.showStartSponsor, request.uploadButtonVisible);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (request.message == "changeVideoPlayerControlsVisibility") {
|
|
||||||
hideVideoPlayerControls = request.value;
|
|
||||||
|
|
||||||
updateVisibilityOfPlayerControlsButton();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (request.message == "trackViewCount") {
|
|
||||||
trackViewCount = request.value;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
//check for hotkey pressed
|
|
||||||
document.onkeydown = function(e){
|
|
||||||
e = e || window.event;
|
|
||||||
var key = e.which || e.keyCode;
|
|
||||||
|
|
||||||
let video = document.getElementById("movie_player");
|
|
||||||
|
|
||||||
//is the video in focus, otherwise they could be typing a comment
|
|
||||||
if (document.activeElement === video) {
|
|
||||||
if(key == 186){
|
|
||||||
//semicolon
|
|
||||||
startSponsorClicked();
|
|
||||||
} else if (key == 222) {
|
|
||||||
//single quote
|
|
||||||
submitSponsorTimes();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function videoIDChange(id) {
|
|
||||||
//reset last sponsor times
|
|
||||||
lastTime = -1;
|
|
||||||
lastUnixTimeSkipped = -1;
|
|
||||||
|
|
||||||
//reset sponsor data found check
|
|
||||||
sponsorDataFound = false;
|
|
||||||
sponsorsLookup(id);
|
|
||||||
|
|
||||||
//see if the onvideo control image needs to be changed
|
|
||||||
chrome.runtime.sendMessage({
|
|
||||||
message: "getSponsorTimes",
|
|
||||||
videoID: id
|
|
||||||
}, function(response) {
|
|
||||||
if (response != undefined) {
|
|
||||||
let sponsorTimes = response.sponsorTimes;
|
|
||||||
if (sponsorTimes != undefined && sponsorTimes.length > 0 && sponsorTimes[sponsorTimes.length - 1].length >= 2) {
|
|
||||||
document.getElementById("submitButton").style.display = "unset";
|
|
||||||
} else if (sponsorTimes != undefined && sponsorTimes.length > 0 && sponsorTimes[sponsorTimes.length - 1].length < 2) {
|
|
||||||
toggleStartSponsorButton();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
//see if video control buttons should be added
|
|
||||||
chrome.storage.sync.get(["hideVideoPlayerControls"], function(result) {
|
|
||||||
if (result.hideVideoPlayerControls != undefined) {
|
|
||||||
hideVideoPlayerControls = result.hideVideoPlayerControls;
|
|
||||||
}
|
|
||||||
|
|
||||||
updateVisibilityOfPlayerControlsButton();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function sponsorsLookup(id) {
|
|
||||||
v = document.querySelector('video') // Youtube video player
|
|
||||||
|
|
||||||
//check database for sponsor times
|
|
||||||
sendRequestToServer('GET', "/api/getVideoSponsorTimes?videoID=" + id, function(xmlhttp) {
|
|
||||||
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
|
|
||||||
sponsorDataFound = true;
|
|
||||||
|
|
||||||
sponsorTimes = JSON.parse(xmlhttp.responseText).sponsorTimes;
|
|
||||||
UUIDs = JSON.parse(xmlhttp.responseText).UUIDs;
|
|
||||||
|
|
||||||
// If the sponsor data exists, add the event to run on the videos "ontimeupdate"
|
|
||||||
v.ontimeupdate = function () {
|
|
||||||
sponsorCheck(sponsorTimes);
|
|
||||||
};
|
|
||||||
} else if (xmlhttp.readyState == 4) {
|
|
||||||
sponsorDataFound = false;
|
|
||||||
|
|
||||||
//check if this video was uploaded recently
|
|
||||||
//use the invidious api to get the time published
|
|
||||||
sendRequestToCustomServer('GET', "https://invidio.us/api/v1/videos/" + id, function(xmlhttp, error) {
|
|
||||||
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
|
|
||||||
let unixTimePublished = JSON.parse(xmlhttp.responseText).published;
|
|
||||||
|
|
||||||
//if less than 3 days old
|
|
||||||
if ((Date.now() / 1000) - unixTimePublished < 259200) {
|
|
||||||
setTimeout(() => sponsorsLookup(id), 10000);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function sponsorCheck(sponsorTimes) { // Video skipping
|
|
||||||
//see if any sponsor start time was just passed
|
|
||||||
for (let i = 0; i < sponsorTimes.length; i++) {
|
|
||||||
//this means part of the video was just skipped
|
|
||||||
if (Math.abs(v.currentTime - lastTime) > 1 && lastTime != -1) {
|
|
||||||
//make lastTime as if the video was playing normally
|
|
||||||
lastTime = v.currentTime - 0.0001;
|
|
||||||
}
|
|
||||||
|
|
||||||
let currentTime = Date.now();
|
|
||||||
|
|
||||||
//If the sponsor time is in between these times, skip it
|
|
||||||
//Checks if the last time skipped to is not too close to now, to make sure not to get too many
|
|
||||||
// sponsor times in a row (from one troll)
|
|
||||||
//the last term makes 0 second start times possible
|
|
||||||
if ((Math.abs(v.currentTime - sponsorTimes[i][0]) < 0.3 && sponsorTimes[i][0] >= lastTime && sponsorTimes[i][0] <= v.currentTime
|
|
||||||
&& (lastUnixTimeSkipped == -1 || currentTime - lastUnixTimeSkipped > 500)) || (lastTime == -1 && sponsorTimes[i][0] == 0)) {
|
|
||||||
//skip it
|
|
||||||
v.currentTime = sponsorTimes[i][1];
|
|
||||||
|
|
||||||
lastSponsorTimeSkipped = sponsorTimes[i][0];
|
|
||||||
|
|
||||||
let currentUUID = UUIDs[i];
|
|
||||||
lastSponsorTimeSkippedUUID = currentUUID;
|
|
||||||
|
|
||||||
//send out the message saying that a sponsor message was skipped
|
|
||||||
openSkipNotice(currentUUID);
|
|
||||||
|
|
||||||
setTimeout(() => closeSkipNotice(currentUUID), 7000);
|
|
||||||
|
|
||||||
//send telemetry that a this sponsor was skipped happened
|
|
||||||
if (trackViewCount) {
|
|
||||||
sendRequestToServer("GET", "/api/viewedVideoSponsorTime?UUID=" + currentUUID);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//don't keep track until they are loaded in
|
|
||||||
if (sponsorTimes.length > 0) {
|
|
||||||
lastTime = v.currentTime;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function goBackToPreviousTime(UUID) {
|
|
||||||
if (sponsorTimes != undefined) {
|
|
||||||
//add a tiny bit of time to make sure it is not skipped again
|
|
||||||
v.currentTime = sponsorTimes[UUIDs.indexOf(UUID)][0] + 0.001;
|
|
||||||
|
|
||||||
closeSkipNotice(UUID);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//Adds a sponsorship starts button to the player controls
|
|
||||||
function addPlayerControlsButton() {
|
|
||||||
if (document.getElementById("startSponsorButton") != null) {
|
|
||||||
//it's already added
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
let startSponsorButton = document.createElement("button");
|
|
||||||
startSponsorButton.id = "startSponsorButton";
|
|
||||||
startSponsorButton.className = "ytp-button playerButton";
|
|
||||||
startSponsorButton.setAttribute("title", "Sponsor Starts Now");
|
|
||||||
startSponsorButton.addEventListener("click", startSponsorClicked);
|
|
||||||
|
|
||||||
let startSponsorImage = document.createElement("img");
|
|
||||||
startSponsorImage.id = "startSponsorImage";
|
|
||||||
startSponsorImage.className = "playerButtonImage";
|
|
||||||
startSponsorImage.src = chrome.extension.getURL("icons/PlayerStartIconSponsorBlocker256px.png");
|
|
||||||
|
|
||||||
//add the image to the button
|
|
||||||
startSponsorButton.appendChild(startSponsorImage);
|
|
||||||
|
|
||||||
let referenceNode = document.getElementsByClassName("ytp-right-controls")[0];
|
|
||||||
|
|
||||||
referenceNode.prepend(startSponsorButton);
|
|
||||||
}
|
|
||||||
|
|
||||||
function removePlayerControlsButton() {
|
|
||||||
document.getElementById("startSponsorButton").style.display = "none";
|
|
||||||
document.getElementById("submitButton").style.display = "none";
|
|
||||||
}
|
|
||||||
|
|
||||||
//adds or removes the player controls button to what it should be
|
|
||||||
function updateVisibilityOfPlayerControlsButton() {
|
|
||||||
addPlayerControlsButton();
|
|
||||||
addSubmitButton();
|
|
||||||
if (hideVideoPlayerControls) {
|
|
||||||
removePlayerControlsButton();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function startSponsorClicked() {
|
|
||||||
toggleStartSponsorButton();
|
|
||||||
|
|
||||||
//send back current time with message
|
|
||||||
chrome.runtime.sendMessage({
|
|
||||||
message: "addSponsorTime",
|
|
||||||
time: v.currentTime,
|
|
||||||
videoID: getYouTubeVideoID(document.URL)
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function changeStartSponsorButton(showStartSponsor, uploadButtonVisible) {
|
|
||||||
if (showStartSponsor) {
|
|
||||||
showingStartSponsor = true;
|
|
||||||
document.getElementById("startSponsorImage").src = chrome.extension.getURL("icons/PlayerStartIconSponsorBlocker256px.png");
|
|
||||||
|
|
||||||
if (document.getElementById("startSponsorImage").style.display != "none" && uploadButtonVisible) {
|
|
||||||
document.getElementById("submitButton").style.display = "unset";
|
|
||||||
} else if (!uploadButtonVisible) {
|
|
||||||
//disable submit button
|
|
||||||
document.getElementById("submitButton").style.display = "none";
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
showingStartSponsor = false;
|
|
||||||
document.getElementById("startSponsorImage").src = chrome.extension.getURL("icons/PlayerStopIconSponsorBlocker256px.png");
|
|
||||||
|
|
||||||
//disable submit button
|
|
||||||
document.getElementById("submitButton").style.display = "none";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function toggleStartSponsorButton() {
|
|
||||||
changeStartSponsorButton(!showingStartSponsor, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
//shows the submit button on the video player
|
|
||||||
function addSubmitButton() {
|
|
||||||
if (document.getElementById("submitButton") != null) {
|
|
||||||
//it's already added
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
//make a submit button
|
|
||||||
let submitButton = document.createElement("button");
|
|
||||||
submitButton.id = "submitButton";
|
|
||||||
submitButton.className = "ytp-button playerButton";
|
|
||||||
submitButton.setAttribute("title", "Submit Sponsor Times");
|
|
||||||
submitButton.addEventListener("click", submitSponsorTimes);
|
|
||||||
//hide it at the start
|
|
||||||
submitButton.style.display = "none";
|
|
||||||
|
|
||||||
let submitImage = document.createElement("img");
|
|
||||||
submitImage.id = "submitButtonImage";
|
|
||||||
submitImage.className = "playerButtonImage";
|
|
||||||
submitImage.src = chrome.extension.getURL("icons/PlayerUploadIconSponsorBlocker256px.png");
|
|
||||||
|
|
||||||
//add the image to the button
|
|
||||||
submitButton.appendChild(submitImage);
|
|
||||||
|
|
||||||
let referenceNode = document.getElementsByClassName("ytp-right-controls")[0];
|
|
||||||
referenceNode.prepend(submitButton);
|
|
||||||
}
|
|
||||||
|
|
||||||
//Opens the notice that tells the user that a sponsor was just skipped
|
|
||||||
function openSkipNotice(UUID){
|
|
||||||
if (dontShowNotice) {
|
|
||||||
//don't show, return
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
//check if page is loaded yet (for 0 second sponsors, the page might not be loaded yet)
|
|
||||||
//it looks for the view count div and sees if it is full yet
|
|
||||||
//querySelectorAll is being used like findElementById for multiple objects, because for
|
|
||||||
//some reason YouTube has put more than one object with one ID.
|
|
||||||
let viewCountNode = document.querySelectorAll("#count");
|
|
||||||
//check to see if the length is over zero, otherwise it's a different YouTube theme probably
|
|
||||||
if (viewCountNode.length > 0) {
|
|
||||||
//check if any of these have text
|
|
||||||
let viewCountVisible = false;
|
|
||||||
for (let i = 0; i < viewCountNode.length; i++) {
|
|
||||||
if (viewCountNode[i].innerText != null) {
|
|
||||||
viewCountVisible = true;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (!viewCountVisible) {
|
|
||||||
//this is the new YouTube layout and it is still loading
|
|
||||||
//wait a bit for opening the notice
|
|
||||||
setTimeout(() => openSkipNotice(UUID), 200);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
let amountOfPreviousNotices = document.getElementsByClassName("sponsorSkipNotice").length;
|
|
||||||
|
|
||||||
if (amountOfPreviousNotices > 0) {
|
|
||||||
//already exists
|
|
||||||
|
|
||||||
let previousNotice = document.getElementsByClassName("sponsorSkipNotice")[0];
|
|
||||||
previousNotice.classList.add("secondSkipNotice")
|
|
||||||
}
|
|
||||||
|
|
||||||
let noticeElement = document.createElement("div");
|
|
||||||
//what sponsor time this is about
|
|
||||||
noticeElement.id = "sponsorSkipNotice" + UUID;
|
|
||||||
noticeElement.classList.add("sponsorSkipObject");
|
|
||||||
noticeElement.classList.add("sponsorSkipNotice");
|
|
||||||
noticeElement.style.zIndex = 5 + amountOfPreviousNotices;
|
|
||||||
|
|
||||||
let logoElement = document.createElement("img");
|
|
||||||
logoElement.id = "sponsorSkipLogo" + UUID;
|
|
||||||
logoElement.className = "sponsorSkipLogo";
|
|
||||||
logoElement.src = chrome.extension.getURL("icons/LogoSponsorBlocker256px.png");
|
|
||||||
|
|
||||||
let noticeMessage = document.createElement("div");
|
|
||||||
noticeMessage.id = "sponsorSkipMessage" + UUID;
|
|
||||||
noticeMessage.classList.add("sponsorSkipMessage");
|
|
||||||
noticeMessage.classList.add("sponsorSkipObject");
|
|
||||||
noticeMessage.innerText = "Hey, you just skipped a sponsor!";
|
|
||||||
|
|
||||||
let noticeInfo = document.createElement("p");
|
|
||||||
noticeInfo.id = "sponsorSkipInfo" + UUID;
|
|
||||||
noticeInfo.classList.add("sponsorSkipInfo");
|
|
||||||
noticeInfo.classList.add("sponsorSkipObject");
|
|
||||||
noticeInfo.innerText = "This message will disapear in 7 seconds";
|
|
||||||
|
|
||||||
//thumbs up and down buttons
|
|
||||||
let voteButtonsContainer = document.createElement("div");
|
|
||||||
voteButtonsContainer.id = "sponsorTimesVoteButtonsContainer" + UUID;
|
|
||||||
voteButtonsContainer.setAttribute("align", "center");
|
|
||||||
|
|
||||||
let upvoteButton = document.createElement("img");
|
|
||||||
upvoteButton.id = "sponsorTimesUpvoteButtonsContainer" + UUID;
|
|
||||||
upvoteButton.className = "sponsorSkipObject voteButton";
|
|
||||||
upvoteButton.src = chrome.extension.getURL("icons/upvote.png");
|
|
||||||
upvoteButton.addEventListener("click", () => vote(1, UUID));
|
|
||||||
|
|
||||||
let downvoteButton = document.createElement("img");
|
|
||||||
downvoteButton.id = "sponsorTimesDownvoteButtonsContainer" + UUID;
|
|
||||||
downvoteButton.className = "sponsorSkipObject voteButton";
|
|
||||||
downvoteButton.src = chrome.extension.getURL("icons/downvote.png");
|
|
||||||
downvoteButton.addEventListener("click", () => vote(0, UUID));
|
|
||||||
|
|
||||||
//add thumbs up and down buttons to the container
|
|
||||||
voteButtonsContainer.appendChild(upvoteButton);
|
|
||||||
voteButtonsContainer.appendChild(downvoteButton);
|
|
||||||
|
|
||||||
let buttonContainer = document.createElement("div");
|
|
||||||
buttonContainer.setAttribute("align", "center");
|
|
||||||
|
|
||||||
let goBackButton = document.createElement("button");
|
|
||||||
goBackButton.innerText = "Go back";
|
|
||||||
goBackButton.className = "sponsorSkipButton";
|
|
||||||
goBackButton.addEventListener("click", () => goBackToPreviousTime(UUID));
|
|
||||||
|
|
||||||
let hideButton = document.createElement("button");
|
|
||||||
hideButton.innerText = "Dismiss";
|
|
||||||
hideButton.className = "sponsorSkipButton";
|
|
||||||
hideButton.addEventListener("click", () => closeSkipNotice(UUID));
|
|
||||||
|
|
||||||
let dontShowAgainButton = document.createElement("button");
|
|
||||||
dontShowAgainButton.innerText = "Don't Show This Again";
|
|
||||||
dontShowAgainButton.className = "sponsorSkipDontShowButton";
|
|
||||||
dontShowAgainButton.addEventListener("click", dontShowNoticeAgain);
|
|
||||||
|
|
||||||
buttonContainer.appendChild(goBackButton);
|
|
||||||
buttonContainer.appendChild(hideButton);
|
|
||||||
buttonContainer.appendChild(document.createElement("br"));
|
|
||||||
buttonContainer.appendChild(document.createElement("br"));
|
|
||||||
buttonContainer.appendChild(dontShowAgainButton);
|
|
||||||
|
|
||||||
noticeElement.appendChild(logoElement);
|
|
||||||
noticeElement.appendChild(noticeMessage);
|
|
||||||
noticeElement.appendChild(noticeInfo);
|
|
||||||
noticeElement.appendChild(voteButtonsContainer);
|
|
||||||
noticeElement.appendChild(buttonContainer);
|
|
||||||
|
|
||||||
let referenceNode = document.getElementById("info");
|
|
||||||
if (referenceNode == null) {
|
|
||||||
//old YouTube
|
|
||||||
referenceNode = document.getElementById("watch-header");
|
|
||||||
}
|
|
||||||
referenceNode.prepend(noticeElement);
|
|
||||||
}
|
|
||||||
|
|
||||||
function afterDownvote(UUID) {
|
|
||||||
//change text to say thanks for voting
|
|
||||||
//remove buttons
|
|
||||||
let upvoteButton = document.getElementById("sponsorTimesUpvoteButtonsContainer" + UUID);
|
|
||||||
let downvoteButton = document.getElementById("sponsorTimesDownvoteButtonsContainer" + UUID);
|
|
||||||
if (upvoteButton != null) {
|
|
||||||
document.getElementById("sponsorTimesVoteButtonsContainer" + UUID).removeChild(upvoteButton);
|
|
||||||
}
|
|
||||||
if (downvoteButton != null) {
|
|
||||||
document.getElementById("sponsorTimesVoteButtonsContainer" + UUID).removeChild(downvoteButton);
|
|
||||||
}
|
|
||||||
|
|
||||||
let previousInfoMessage = document.getElementById("sponsorTimesInfoMessage" + UUID);
|
|
||||||
if (previousInfoMessage != null) {
|
|
||||||
//remove it
|
|
||||||
document.getElementById("sponsorTimesVoteButtonsContainer" + UUID).removeChild(previousInfoMessage);
|
|
||||||
}
|
|
||||||
|
|
||||||
//add thanks for voting text
|
|
||||||
let thanksForVotingText = document.createElement("p");
|
|
||||||
thanksForVotingText.id = "sponsorTimesThanksForVotingText";
|
|
||||||
thanksForVotingText.innerText = "Thanks for voting!"
|
|
||||||
|
|
||||||
//add extra info for voting
|
|
||||||
let thanksForVotingInfoText = document.createElement("p");
|
|
||||||
thanksForVotingInfoText.id = "sponsorTimesThanksForVotingInfoText";
|
|
||||||
thanksForVotingInfoText.innerText = "Hit go back to get to where you came from."
|
|
||||||
|
|
||||||
//add element to div
|
|
||||||
document.getElementById("sponsorTimesVoteButtonsContainer" + UUID).appendChild(thanksForVotingText);
|
|
||||||
document.getElementById("sponsorTimesVoteButtonsContainer" + UUID).appendChild(thanksForVotingInfoText);
|
|
||||||
}
|
|
||||||
|
|
||||||
function addLoadingInfo(message, UUID) {
|
|
||||||
//change text to say thanks for message
|
|
||||||
//remove buttons
|
|
||||||
let upvoteButton = document.getElementById("sponsorTimesUpvoteButtonsContainer" + UUID);
|
|
||||||
let downvoteButton = document.getElementById("sponsorTimesDownvoteButtonsContainer" + UUID);
|
|
||||||
if (upvoteButton != null) {
|
|
||||||
document.getElementById("sponsorTimesVoteButtonsContainer" + UUID).removeChild(upvoteButton);
|
|
||||||
}
|
|
||||||
if (downvoteButton != null) {
|
|
||||||
document.getElementById("sponsorTimesVoteButtonsContainer" + UUID).removeChild(downvoteButton);
|
|
||||||
}
|
|
||||||
|
|
||||||
let previousInfoMessage = document.getElementById("sponsorTimesInfoMessage" + UUID);
|
|
||||||
if (previousInfoMessage != null) {
|
|
||||||
//remove it
|
|
||||||
document.getElementById("sponsorTimesVoteButtonsContainer" + UUID).removeChild(previousInfoMessage);
|
|
||||||
}
|
|
||||||
|
|
||||||
//add thanks for voting text
|
|
||||||
let thanksForVotingText = document.createElement("p");
|
|
||||||
thanksForVotingText.id = "sponsorTimesInfoMessage" + UUID;
|
|
||||||
thanksForVotingText.className = "sponsorTimesInfoMessage";
|
|
||||||
thanksForVotingText.innerText = message;
|
|
||||||
|
|
||||||
//add element to div
|
|
||||||
document.getElementById("sponsorTimesVoteButtonsContainer" + UUID).appendChild(thanksForVotingText);
|
|
||||||
}
|
|
||||||
|
|
||||||
function vote(type, UUID) {
|
|
||||||
//add loading info
|
|
||||||
addLoadingInfo("Loading...", UUID)
|
|
||||||
|
|
||||||
chrome.runtime.sendMessage({
|
|
||||||
message: "submitVote",
|
|
||||||
type: type,
|
|
||||||
UUID: UUID
|
|
||||||
}, function(response) {
|
|
||||||
if (response != undefined) {
|
|
||||||
//see if it was a success or failure
|
|
||||||
if (response.successType == 1) {
|
|
||||||
//success
|
|
||||||
if (type == 0) {
|
|
||||||
afterDownvote(UUID);
|
|
||||||
} else if (type == 1) {
|
|
||||||
closeSkipNotice(UUID);
|
|
||||||
}
|
|
||||||
} else if (response.successType == 0) {
|
|
||||||
//failure: duplicate vote
|
|
||||||
addLoadingInfo("It seems you've already voted before", UUID)
|
|
||||||
} else if (response.successType == -1) {
|
|
||||||
//failure: duplicate vote
|
|
||||||
addLoadingInfo("A connection error has occured.", UUID)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
//Closes the notice that tells the user that a sponsor was just skipped for this UUID
|
|
||||||
function closeSkipNotice(UUID){
|
|
||||||
let notice = document.getElementById("sponsorSkipNotice" + UUID);
|
|
||||||
if (notice != null) {
|
|
||||||
notice.remove();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//Closes all notices that tell the user that a sponsor was just skipped
|
|
||||||
function closeAllSkipNotices(){
|
|
||||||
let notices = document.getElementsByClassName("sponsorSkipNotice");
|
|
||||||
for (let i = 0; i < notices.length; i++) {
|
|
||||||
notices[i].remove();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function dontShowNoticeAgain() {
|
|
||||||
chrome.storage.sync.set({"dontShowNoticeAgain": true});
|
|
||||||
|
|
||||||
dontShowNotice = true;
|
|
||||||
|
|
||||||
closeAllSkipNotices();
|
|
||||||
}
|
|
||||||
|
|
||||||
function sponsorMessageStarted() {
|
|
||||||
let v = document.querySelector('video');
|
|
||||||
|
|
||||||
//send back current time
|
|
||||||
chrome.runtime.sendMessage({
|
|
||||||
message: "time",
|
|
||||||
time: v.currentTime
|
|
||||||
});
|
|
||||||
|
|
||||||
//update button
|
|
||||||
toggleStartSponsorButton();
|
|
||||||
}
|
|
||||||
|
|
||||||
function submitSponsorTimes() {
|
|
||||||
//add loading animation
|
|
||||||
document.getElementById("submitButtonImage").src = chrome.extension.getURL("icons/PlayerUploadIconSponsorBlocker256px.png");
|
|
||||||
document.getElementById("submitButton").style.animation = "rotate 1s 0s infinite";
|
|
||||||
|
|
||||||
let currentVideoID = getYouTubeVideoID(document.URL);
|
|
||||||
|
|
||||||
chrome.runtime.sendMessage({
|
|
||||||
message: "submitTimes",
|
|
||||||
videoID: currentVideoID
|
|
||||||
}, function(response) {
|
|
||||||
if (response != undefined) {
|
|
||||||
if (response.statusCode == 200) {
|
|
||||||
//hide loading message
|
|
||||||
let submitButton = document.getElementById("submitButton");
|
|
||||||
//finish this animation
|
|
||||||
submitButton.style.animation = "rotate 1s";
|
|
||||||
//when the animation is over, hide the button
|
|
||||||
submitButton.addEventListener("animationend", function() {
|
|
||||||
submitButton.style.animation = "unset";
|
|
||||||
submitButton.style.display = "none";
|
|
||||||
});
|
|
||||||
|
|
||||||
//clear the sponsor times
|
|
||||||
let sponsorTimeKey = "sponsorTimes" + currentVideoID;
|
|
||||||
chrome.storage.sync.set({[sponsorTimeKey]: []});
|
|
||||||
} else {
|
|
||||||
//for a more detailed error message, they should check the popup
|
|
||||||
//show that the upload failed
|
|
||||||
document.getElementById("submitButton").style.animation = "unset";
|
|
||||||
document.getElementById("submitButtonImage").src = chrome.extension.getURL("icons/PlayerUploadFailedIconSponsorBlocker256px.png");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function sendRequestToServer(type, address, callback) {
|
|
||||||
let xmlhttp = new XMLHttpRequest();
|
|
||||||
|
|
||||||
xmlhttp.open(type, serverAddress + address, true);
|
|
||||||
|
|
||||||
if (callback != undefined) {
|
|
||||||
xmlhttp.onreadystatechange = function () {
|
|
||||||
callback(xmlhttp, false);
|
|
||||||
};
|
|
||||||
|
|
||||||
xmlhttp.onerror = function(ev) {
|
|
||||||
callback(xmlhttp, true);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
//submit this request
|
|
||||||
xmlhttp.send();
|
|
||||||
}
|
|
||||||
|
|
||||||
function sendRequestToCustomServer(type, fullAddress, callback) {
|
|
||||||
let xmlhttp = new XMLHttpRequest();
|
|
||||||
|
|
||||||
xmlhttp.open(type, fullAddress, true);
|
|
||||||
|
|
||||||
if (callback != undefined) {
|
|
||||||
xmlhttp.onreadystatechange = function () {
|
|
||||||
callback(xmlhttp, false);
|
|
||||||
};
|
|
||||||
|
|
||||||
xmlhttp.onerror = function(ev) {
|
|
||||||
callback(xmlhttp, true);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
//submit this request
|
|
||||||
xmlhttp.send();
|
|
||||||
}
|
|
||||||
|
|
||||||
function getYouTubeVideoID(url) { // Returns with video id else returns false
|
|
||||||
var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/;
|
|
||||||
var match = url.match(regExp);
|
|
||||||
return (match && match[7].length == 11) ? match[7] : false;
|
|
||||||
}
|
|
||||||
3
crowdin.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
files:
|
||||||
|
- source: /public/_locales/en/*
|
||||||
|
translation: /public/_locales/%two_letters_code%/%original_file_name%
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "SponsorBlock - YouTube Sponsorship Blocker",
|
|
||||||
"short_name": "SponsorBlock",
|
|
||||||
"version": "1.0.6",
|
|
||||||
"description": "Skip over sponsorship on YouTube videos. Report sponsors on videos you watch to save the time of others.",
|
|
||||||
"content_scripts": [
|
|
||||||
{
|
|
||||||
"matches": [
|
|
||||||
"https://*.youtube.com/*"
|
|
||||||
],
|
|
||||||
"js": [
|
|
||||||
"config.js",
|
|
||||||
"content.js"
|
|
||||||
],
|
|
||||||
"css": [
|
|
||||||
"content.css",
|
|
||||||
"./libs/Source+Sans+Pro.css"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"web_accessible_resources": [
|
|
||||||
"icons/LogoSponsorBlocker256px.png",
|
|
||||||
"icons/IconSponsorBlocker256px.png",
|
|
||||||
"icons/PlayerStartIconSponsorBlocker256px.png",
|
|
||||||
"icons/PlayerStopIconSponsorBlocker256px.png",
|
|
||||||
"icons/PlayerUploadIconSponsorBlocker256px.png",
|
|
||||||
"icons/PlayerUploadFailedIconSponsorBlocker256px.png",
|
|
||||||
"icons/upvote.png",
|
|
||||||
"icons/downvote.png"
|
|
||||||
],
|
|
||||||
"permissions": [
|
|
||||||
"tabs",
|
|
||||||
"storage",
|
|
||||||
"notifications",
|
|
||||||
"https://sponsor.ajay.app/*"
|
|
||||||
],
|
|
||||||
"browser_action": {
|
|
||||||
"default_title": "SponsorBlock",
|
|
||||||
"default_popup": "popup.html"
|
|
||||||
},
|
|
||||||
"background": {
|
|
||||||
"scripts":[
|
|
||||||
"config.js",
|
|
||||||
"background.js"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"icons": {
|
|
||||||
"16": "icons/IconSponsorBlocker16px.png",
|
|
||||||
"32": "icons/IconSponsorBlocker32px.png",
|
|
||||||
"64": "icons/LogoSponsorBlocker64px.png",
|
|
||||||
"128": "icons/LogoSponsorBlocker128px.png",
|
|
||||||
"256": "icons/LogoSponsorBlocker256px.png"
|
|
||||||
},
|
|
||||||
"browser_specific_settings": {
|
|
||||||
"gecko": {
|
|
||||||
"id": "sponsorBlocker@ajay.app",
|
|
||||||
"strict_min_version": "57.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"manifest_version": 2
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 12 KiB |
8
jest.config.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
module.exports = {
|
||||||
|
"roots": [
|
||||||
|
"test"
|
||||||
|
],
|
||||||
|
"transform": {
|
||||||
|
"^.+\\.ts$": "ts-jest"
|
||||||
|
},
|
||||||
|
};
|
||||||
@@ -1,56 +0,0 @@
|
|||||||
/* cyrillic-ext */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Source Sans Pro';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v12/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNa7lqDY.woff2) format('woff2');
|
|
||||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
||||||
}
|
|
||||||
/* cyrillic */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Source Sans Pro';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v12/6xK3dSBYKcSV-LCoeQqfX1RYOo3qPK7lqDY.woff2) format('woff2');
|
|
||||||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
||||||
}
|
|
||||||
/* greek-ext */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Source Sans Pro';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v12/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNK7lqDY.woff2) format('woff2');
|
|
||||||
unicode-range: U+1F00-1FFF;
|
|
||||||
}
|
|
||||||
/* greek */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Source Sans Pro';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v12/6xK3dSBYKcSV-LCoeQqfX1RYOo3qO67lqDY.woff2) format('woff2');
|
|
||||||
unicode-range: U+0370-03FF;
|
|
||||||
}
|
|
||||||
/* vietnamese */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Source Sans Pro';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v12/6xK3dSBYKcSV-LCoeQqfX1RYOo3qN67lqDY.woff2) format('woff2');
|
|
||||||
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
|
|
||||||
}
|
|
||||||
/* latin-ext */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Source Sans Pro';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v12/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNq7lqDY.woff2) format('woff2');
|
|
||||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
||||||
}
|
|
||||||
/* latin */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Source Sans Pro';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v12/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2) format('woff2');
|
|
||||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
||||||
}
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "SponsorBlock - YouTube Sponsorship Blocker",
|
|
||||||
"short_name": "SponsorBlock",
|
|
||||||
"version": "1.0.6",
|
|
||||||
"description": "Skip over sponsorship on YouTube videos. Report sponsors on videos you watch to save the time of others.",
|
|
||||||
"content_scripts": [
|
|
||||||
{
|
|
||||||
"matches": [
|
|
||||||
"https://*.youtube.com/*"
|
|
||||||
],
|
|
||||||
"js": [
|
|
||||||
"config.js",
|
|
||||||
"content.js"
|
|
||||||
],
|
|
||||||
"css": [
|
|
||||||
"content.css",
|
|
||||||
"./libs/Source+Sans+Pro.css"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"web_accessible_resources": [
|
|
||||||
"icons/LogoSponsorBlocker256px.png",
|
|
||||||
"icons/IconSponsorBlocker256px.png",
|
|
||||||
"icons/PlayerStartIconSponsorBlocker256px.png",
|
|
||||||
"icons/PlayerStopIconSponsorBlocker256px.png",
|
|
||||||
"icons/PlayerUploadIconSponsorBlocker256px.png",
|
|
||||||
"icons/PlayerUploadFailedIconSponsorBlocker256px.png",
|
|
||||||
"icons/upvote.png",
|
|
||||||
"icons/downvote.png"
|
|
||||||
],
|
|
||||||
"permissions": [
|
|
||||||
"tabs",
|
|
||||||
"storage",
|
|
||||||
"notifications",
|
|
||||||
"https://sponsor.ajay.app/*"
|
|
||||||
],
|
|
||||||
"browser_action": {
|
|
||||||
"default_title": "SponsorBlock",
|
|
||||||
"default_popup": "popup.html"
|
|
||||||
},
|
|
||||||
"background": {
|
|
||||||
"scripts":[
|
|
||||||
"config.js",
|
|
||||||
"background.js"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"icons": {
|
|
||||||
"16": "icons/IconSponsorBlocker16px.png",
|
|
||||||
"32": "icons/IconSponsorBlocker32px.png",
|
|
||||||
"64": "icons/LogoSponsorBlocker64px.png",
|
|
||||||
"128": "icons/LogoSponsorBlocker128px.png",
|
|
||||||
"256": "icons/LogoSponsorBlocker256px.png"
|
|
||||||
},
|
|
||||||
"manifest_version": 2
|
|
||||||
}
|
|
||||||
4
manifest/beta-manifest-extra.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "BETA - SponsorBlock"
|
||||||
|
}
|
||||||
|
|
||||||
2
manifest/chrome-manifest-extra.json
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
||||||
8
manifest/firefox-beta-manifest-extra.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"browser_specific_settings": {
|
||||||
|
"gecko": {
|
||||||
|
"id": "sponsorBlockerBETA@ajay.app"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
7
manifest/firefox-manifest-extra.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"browser_specific_settings": {
|
||||||
|
"gecko": {
|
||||||
|
"id": "sponsorLockAprilFools@ajay.app"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
87
manifest/manifest.json
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
{
|
||||||
|
"name": "SponsorLock - Give Back Control!",
|
||||||
|
"short_name": "SponsorLock",
|
||||||
|
"version": "4.2.3",
|
||||||
|
"default_locale": "en",
|
||||||
|
"description": "SponsorLock only shows you promotion, and skips all useful informaton.",
|
||||||
|
"homepage_url": "https://sponsor.ajay.app",
|
||||||
|
"content_scripts": [{
|
||||||
|
"run_at": "document_start",
|
||||||
|
"matches": [
|
||||||
|
"https://*.youtube.com/*",
|
||||||
|
"https://www.youtube-nocookie.com/embed/*"
|
||||||
|
],
|
||||||
|
"all_frames": true,
|
||||||
|
"js": [
|
||||||
|
"./js/content.js"
|
||||||
|
],
|
||||||
|
"css": [
|
||||||
|
"content.css",
|
||||||
|
"./libs/Source+Sans+Pro.css",
|
||||||
|
"popup.css"
|
||||||
|
]
|
||||||
|
}],
|
||||||
|
"web_accessible_resources": [{
|
||||||
|
"resources": [
|
||||||
|
"icons/LogoSponsorBlocker256px.png",
|
||||||
|
"icons/IconSponsorBlocker256px.png",
|
||||||
|
"icons/PlayerStartIconSponsorBlocker.svg",
|
||||||
|
"icons/PlayerStopIconSponsorBlocker.svg",
|
||||||
|
"icons/PlayerUploadIconSponsorBlocker.svg",
|
||||||
|
"icons/PlayerUploadFailedIconSponsorBlocker.svg",
|
||||||
|
"icons/PlayerCancelSegmentIconSponsorBlocker.svg",
|
||||||
|
"icons/clipboard.svg",
|
||||||
|
"icons/settings.svg",
|
||||||
|
"icons/pencil.svg",
|
||||||
|
"icons/check.svg",
|
||||||
|
"icons/upvote.png",
|
||||||
|
"icons/downvote.png",
|
||||||
|
"icons/thumbs_down.svg",
|
||||||
|
"icons/thumbs_down_locked.svg",
|
||||||
|
"icons/thumbs_up.svg",
|
||||||
|
"icons/help.svg",
|
||||||
|
"icons/report.png",
|
||||||
|
"icons/close.png",
|
||||||
|
"icons/skipIcon.svg",
|
||||||
|
"icons/refresh.svg",
|
||||||
|
"icons/beep.ogg",
|
||||||
|
"icons/pause.svg",
|
||||||
|
"icons/stop.svg",
|
||||||
|
"icons/heart.svg",
|
||||||
|
"icons/visible.svg",
|
||||||
|
"icons/not_visible.svg",
|
||||||
|
"icons/PlayerInfoIconSponsorBlocker.svg",
|
||||||
|
"icons/PlayerDeleteIconSponsorBlocker.svg",
|
||||||
|
"popup.html",
|
||||||
|
"content.css"
|
||||||
|
],
|
||||||
|
"matches": ["<all_urls>"]
|
||||||
|
}],
|
||||||
|
"permissions": [
|
||||||
|
"storage"
|
||||||
|
],
|
||||||
|
"host_permissions": [
|
||||||
|
"https://sponsor.ajay.app/*"
|
||||||
|
],
|
||||||
|
"action": {
|
||||||
|
"default_title": "SponsorBlock",
|
||||||
|
"default_popup": "popup.html"
|
||||||
|
},
|
||||||
|
"background": {
|
||||||
|
"service_worker": "./js/background.js"
|
||||||
|
},
|
||||||
|
"icons": {
|
||||||
|
"16": "icons/LogoSponsorBlocker64px.png",
|
||||||
|
"32": "icons/LogoSponsorBlocker64px.png",
|
||||||
|
"64": "icons/LogoSponsorBlocker64px.png",
|
||||||
|
"128": "icons/LogoSponsorBlocker128px.png",
|
||||||
|
"256": "icons/LogoSponsorBlocker256px.png",
|
||||||
|
"512": "icons/LogoSponsorBlocker512px.png",
|
||||||
|
"1024": "icons/LogoSponsorBlocker1024px.png"
|
||||||
|
},
|
||||||
|
"options_ui": {
|
||||||
|
"page": "options/lock-options.html",
|
||||||
|
"open_in_tab": true
|
||||||
|
},
|
||||||
|
"manifest_version": 3
|
||||||
|
}
|
||||||
5
manifest/safari-manifest-extra.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"background": {
|
||||||
|
"persistent": false
|
||||||
|
}
|
||||||
|
}
|
||||||
1
oss-attribution/licenseInfos.json
Normal file
24655
package-lock.json
generated
Normal file
93
package.json
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
{
|
||||||
|
"name": "sponsorblock",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "",
|
||||||
|
"main": "background.js",
|
||||||
|
"dependencies": {
|
||||||
|
"react": "^17.0.2",
|
||||||
|
"react-dom": "^17.0.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/chrome": "^0.0.178",
|
||||||
|
"@types/firefox-webext-browser": "^94.0.1",
|
||||||
|
"@types/jest": "^27.4.0",
|
||||||
|
"@types/react": "^17.0.39",
|
||||||
|
"@types/react-dom": "^17.0.11",
|
||||||
|
"@types/selenium-webdriver": "^4.0.17",
|
||||||
|
"@types/wicg-mediasession": "^1.1.3",
|
||||||
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
||||||
|
"@typescript-eslint/parser": "^5.10.2",
|
||||||
|
"chromedriver": "^97.0.4",
|
||||||
|
"concurrently": "^7.0.0",
|
||||||
|
"copy-webpack-plugin": "^10.2.4",
|
||||||
|
"eslint": "^8.8.0",
|
||||||
|
"eslint-plugin-react": "^7.28.0",
|
||||||
|
"jest": "^27.5.0",
|
||||||
|
"rimraf": "^3.0.2",
|
||||||
|
"schema-utils": "^4.0.0",
|
||||||
|
"selenium-webdriver": "^4.1.1",
|
||||||
|
"ts-jest": "^27.1.3",
|
||||||
|
"ts-loader": "^9.2.6",
|
||||||
|
"ts-node": "^10.4.0",
|
||||||
|
"typescript": "4.5",
|
||||||
|
"web-ext": "^6.6.0",
|
||||||
|
"webpack": "^5.68.0",
|
||||||
|
"webpack-cli": "^4.9.2",
|
||||||
|
"webpack-merge": "^4.2.2"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"web-run": "npm run web-run:chrome",
|
||||||
|
"web-sign": "web-ext sign -s dist",
|
||||||
|
"web-run:firefox": "cd dist && web-ext run --start-url https://addons.mozilla.org/firefox/addon/ublock-origin/",
|
||||||
|
"web-run:firefox-android": "cd dist && web-ext run -t firefox-android --firefox-apk org.mozilla.fenix",
|
||||||
|
"web-run:chrome": "cd dist && web-ext run --start-url https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm -t chromium",
|
||||||
|
"build": "npm run build:chrome",
|
||||||
|
"build:chrome": "webpack --env browser=chrome --config webpack/webpack.prod.js",
|
||||||
|
"build:firefox": "webpack --env browser=firefox --config webpack/webpack.prod.js",
|
||||||
|
"build:safari": "webpack --env browser=safari --config webpack/webpack.prod.js",
|
||||||
|
"build:edge": "webpack --env browser=edge --config webpack/webpack.prod.js",
|
||||||
|
"build:dev": "npm run build:dev:chrome",
|
||||||
|
"build:dev:chrome": "webpack --env browser=chrome --config webpack/webpack.dev.js",
|
||||||
|
"build:dev:firefox": "webpack --env browser=firefox --config webpack/webpack.dev.js",
|
||||||
|
"build:watch": "npm run build:watch:chrome",
|
||||||
|
"build:watch:chrome": "webpack --env browser=chrome --config webpack/webpack.dev.js --watch",
|
||||||
|
"build:watch:firefox": "webpack --env browser=firefox --config webpack/webpack.dev.js --watch",
|
||||||
|
"ci:invidious": "ts-node ci/invidiousCI.ts",
|
||||||
|
"dev": "npm run build:dev && concurrently \"npm run web-run\" \"npm run build:watch\"",
|
||||||
|
"dev:firefox": "npm run build:dev:firefox && concurrently \"npm run web-run:firefox\" \"npm run build:watch:firefox\"",
|
||||||
|
"dev:firefox-android": "npm run build:dev:firefox && concurrently \"npm run web-run:firefox-android\" \"npm run build:watch:firefox\"",
|
||||||
|
"clean": "rimraf dist",
|
||||||
|
"test": "npm run build:chrome && npx jest",
|
||||||
|
"test-without-building": "npx jest",
|
||||||
|
"lint": "eslint src",
|
||||||
|
"lint:fix": "eslint src --fix"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.20.0"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "individual",
|
||||||
|
"url": "hhttps://sponsor.ajay.app/donate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/ajayyy-org"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "patreon",
|
||||||
|
"url": "https://www.patreon.com/ajayyy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "individual",
|
||||||
|
"url": "https://paypal.me/ajayyy"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/ajayyy/SponsorBlock.git"
|
||||||
|
},
|
||||||
|
"author": "Ajay Ramachandran",
|
||||||
|
"license": "LGPL-3.0-or-later",
|
||||||
|
"private": true
|
||||||
|
}
|
||||||
135
popup.css
@@ -1,135 +0,0 @@
|
|||||||
* {
|
|
||||||
font-family: 'Source Sans Pro', sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
margin-top: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-size: 14px;
|
|
||||||
width: 300px;
|
|
||||||
background-color: #ffd9d9;
|
|
||||||
}
|
|
||||||
|
|
||||||
.recordingSubtitle {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.voteButton {
|
|
||||||
height: 32px;
|
|
||||||
margin-right: 15px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.voteButton:hover {
|
|
||||||
filter: brightness(80%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.greenButton {
|
|
||||||
background-color:#ec1c1c;
|
|
||||||
-moz-border-radius:28px;
|
|
||||||
-webkit-border-radius:28px;
|
|
||||||
border-radius:28px;
|
|
||||||
border:1px solid #d31919;
|
|
||||||
display:inline-block;
|
|
||||||
cursor:pointer;
|
|
||||||
color:#ffffff;
|
|
||||||
font-size:16px;
|
|
||||||
padding:8px 37px;
|
|
||||||
text-decoration:none;
|
|
||||||
text-shadow:0px 0px 0px #662727;
|
|
||||||
}
|
|
||||||
.greenButton:hover {
|
|
||||||
background-color:#bf2a2a;
|
|
||||||
}
|
|
||||||
.greenButton:focus {
|
|
||||||
outline: none;
|
|
||||||
background-color:#bf2a2a;
|
|
||||||
}
|
|
||||||
.greenButton:active {
|
|
||||||
position:relative;
|
|
||||||
top:1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dangerButton {
|
|
||||||
-moz-box-shadow:inset 0px 1px 0px 0px #cf866c;
|
|
||||||
-webkit-box-shadow:inset 0px 1px 0px 0px #cf866c;
|
|
||||||
box-shadow:inset 0px 1px 0px 0px #cf866c;
|
|
||||||
background-color:#d0451b;
|
|
||||||
-moz-border-radius:3px;
|
|
||||||
-webkit-border-radius:3px;
|
|
||||||
border-radius:3px;
|
|
||||||
border:1px solid #942911;
|
|
||||||
display:inline-block;
|
|
||||||
cursor:pointer;
|
|
||||||
color:#ffffff;
|
|
||||||
font-size:13px;
|
|
||||||
padding:6px 24px;
|
|
||||||
text-decoration:none;
|
|
||||||
text-shadow:0px 1px 0px #854629;
|
|
||||||
}
|
|
||||||
.dangerButton:hover {
|
|
||||||
background-color:#bc3315;
|
|
||||||
}
|
|
||||||
.dangerButton:focus {
|
|
||||||
outline: none;
|
|
||||||
background-color:#bc3315;
|
|
||||||
}
|
|
||||||
.dangerButton:active {
|
|
||||||
position:relative;
|
|
||||||
top:1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.warningButton {
|
|
||||||
-moz-box-shadow:inset 0px 1px 0px 0px #cfbd6c;
|
|
||||||
-webkit-box-shadow:inset 0px 1px 0px 0px #cfbd6c;
|
|
||||||
box-shadow:inset 0px 1px 0px 0px #cfbd6c;
|
|
||||||
background-color:#d0821b;
|
|
||||||
-moz-border-radius:3px;
|
|
||||||
-webkit-border-radius:3px;
|
|
||||||
border-radius:3px;
|
|
||||||
border:1px solid #948b11;
|
|
||||||
display:inline-block;
|
|
||||||
cursor:pointer;
|
|
||||||
color:#ffffff;
|
|
||||||
font-size:13px;
|
|
||||||
padding:6px 24px;
|
|
||||||
text-decoration:none;
|
|
||||||
text-shadow:0px 1px 0px #856829;
|
|
||||||
}
|
|
||||||
.warningButton:hover {
|
|
||||||
background-color:#bc8215;
|
|
||||||
}
|
|
||||||
.warningButton:focus {
|
|
||||||
outline: none;
|
|
||||||
background-color:#bc8215;
|
|
||||||
}
|
|
||||||
.warningButton:active {
|
|
||||||
position:relative;
|
|
||||||
top:1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.smallButton {
|
|
||||||
background-color:#f9902d;
|
|
||||||
-moz-border-radius:3px;
|
|
||||||
-webkit-border-radius:3px;
|
|
||||||
border-radius:3px;
|
|
||||||
border:1px solid #f9a72d;
|
|
||||||
display:inline-block;
|
|
||||||
cursor:pointer;
|
|
||||||
color:#ffffff;
|
|
||||||
font-size:14px;
|
|
||||||
padding:6px 10px;
|
|
||||||
text-decoration:none;
|
|
||||||
}
|
|
||||||
.smallButton:hover {
|
|
||||||
background-color:#fa9806;
|
|
||||||
}
|
|
||||||
.smallButton:focus {
|
|
||||||
outline: none;
|
|
||||||
background-color:#fa9806;
|
|
||||||
}
|
|
||||||
.smallButton:active {
|
|
||||||
position:relative;
|
|
||||||
top:1px;
|
|
||||||
}
|
|
||||||
148
popup.html
@@ -1,148 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Set Page Color Popup</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="/libs/Source+Sans+Pro.css"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="popup.css"/>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<center>
|
|
||||||
<div id="app">
|
|
||||||
<img src="icons/LogoSponsorBlocker256px.png" height="64px"/>
|
|
||||||
|
|
||||||
<h1>SponsorBlock</h1>
|
|
||||||
|
|
||||||
<!-- Loading text -->
|
|
||||||
<p id="loadingIndicator">Loading...</p>
|
|
||||||
|
|
||||||
<!-- Hidden until loading complete -->
|
|
||||||
<div id="mainControls" class="main" style="display: none">
|
|
||||||
<!-- If the video was found in the database -->
|
|
||||||
<div id="videoFound">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="downloadedSponsorMessageTimes">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<button id="reportAnIssue" class="dangerButton">Vote On A Sponsor Time</button>
|
|
||||||
|
|
||||||
<div id="issueReporterContainer" style="display: none">
|
|
||||||
|
|
||||||
<h3 style="margin-top: 0px">Vote On A Sponsor Time</h3>
|
|
||||||
|
|
||||||
<div id="issueReporterTimeButtons">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h2 class="recordingSubtitle">Record the times of a sponsorship</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<span id=sponsorTimesContributionsContainer style="display: none">
|
|
||||||
So far, you've submitted
|
|
||||||
<span id="sponsorTimesContributionsDisplay">
|
|
||||||
0
|
|
||||||
</span>
|
|
||||||
<span id="sponsorTimesContributionsDisplayEndWord">
|
|
||||||
sponsors.
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<span id=sponsorTimesViewsContainer style="display: none">
|
|
||||||
You have saved people from
|
|
||||||
<span id="sponsorTimesViewsDisplay">
|
|
||||||
0
|
|
||||||
</span>
|
|
||||||
<span id="sponsorTimesViewsDisplayEndWord">
|
|
||||||
sponsor segments.
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Click the button below when the sponsorship starts and ends to record and
|
|
||||||
submit it to the database.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<button id="sponsorStart" class="greenButton">Sponsorship Starts Now</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="submissionSection" style="display: none">
|
|
||||||
<h3>Latest Sponsor Message Times Chosen</h3>
|
|
||||||
<b>
|
|
||||||
<div id="sponsorMessageTimes">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</b>
|
|
||||||
|
|
||||||
<button id="clearTimes" class="smallButton">Clear Times</button>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<div id="submitTimesContainer" style="display: none">
|
|
||||||
<button id="submitTimes" class="smallButton">Submit Times</button>
|
|
||||||
|
|
||||||
<div id="submitTimesInfoMessageContainer" style="display: none">
|
|
||||||
<h3 id="submitTimesInfoMessage">
|
|
||||||
|
|
||||||
</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="optionsButtonContainer">
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<button id="optionsButton" class="dangerButton">Options</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="options" style="display: none">
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<h3>Options</h3>
|
|
||||||
|
|
||||||
<button id="hideVideoPlayerControls" class="warningButton">Hide Button On YouTube Player</button>
|
|
||||||
<button id="showVideoPlayerControls" style="display: none" class="warningButton">Show Button On YouTube Player</button>
|
|
||||||
<br/>
|
|
||||||
<sub>
|
|
||||||
This hides the button that appears on the YouTube player to submit sponsors. I can see this being annoying for some
|
|
||||||
people. Instead of using the button there, this popup can be used to submit sponsors. To hide the notice that appears,
|
|
||||||
use the button that appears on the notice saying "Don't show this again". You can always enable these settings again
|
|
||||||
later.
|
|
||||||
</sub>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<button id="disableSponsorViewTracking" class="warningButton">Disable Sponsor View Tracking</button>
|
|
||||||
<button id="enableSponsorViewTracking" style="display: none" class="warningButton">Enable Sponsor View Tracking</button>
|
|
||||||
<br/>
|
|
||||||
<sub>
|
|
||||||
This feature tracks which sponsors you have skipped to let users know how much their submission has helped others and
|
|
||||||
used as a metric along with upvotes to ensure that spam doesn't get into the database. The extension sends a message
|
|
||||||
to the server each time you skip a sponsor. Hopefully most people don't change this setting so that the view numbers
|
|
||||||
are accurate. :)
|
|
||||||
</sub>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<button id="showNoticeAgain" style="display: none" class="dangerButton">Show Notice Again</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</center>
|
|
||||||
|
|
||||||
<!-- Scripts that need to load after the html -->
|
|
||||||
<script src="config.js"></script>
|
|
||||||
<script src="popup.js"></script>
|
|
||||||
</html>
|
|
||||||
569
popup.js
@@ -1,569 +0,0 @@
|
|||||||
//setup click listeners
|
|
||||||
document.getElementById("sponsorStart").addEventListener("click", sendSponsorStartMessage);
|
|
||||||
document.getElementById("clearTimes").addEventListener("click", clearTimes);
|
|
||||||
document.getElementById("submitTimes").addEventListener("click", submitTimes);
|
|
||||||
document.getElementById("showNoticeAgain").addEventListener("click", showNoticeAgain);
|
|
||||||
document.getElementById("hideVideoPlayerControls").addEventListener("click", hideVideoPlayerControls);
|
|
||||||
document.getElementById("showVideoPlayerControls").addEventListener("click", showVideoPlayerControls);
|
|
||||||
document.getElementById("disableSponsorViewTracking").addEventListener("click", disableSponsorViewTracking);
|
|
||||||
document.getElementById("enableSponsorViewTracking").addEventListener("click", enableSponsorViewTracking);
|
|
||||||
document.getElementById("optionsButton").addEventListener("click", openOptions);
|
|
||||||
document.getElementById("reportAnIssue").addEventListener("click", reportAnIssue);
|
|
||||||
|
|
||||||
//if true, the button now selects the end time
|
|
||||||
var startTimeChosen = false;
|
|
||||||
|
|
||||||
//the start and end time pairs (2d)
|
|
||||||
var sponsorTimes = [];
|
|
||||||
|
|
||||||
//current video ID of this tab
|
|
||||||
var currentVideoID = null;
|
|
||||||
|
|
||||||
//is this a YouTube tab?
|
|
||||||
var isYouTubeTab = false;
|
|
||||||
|
|
||||||
//if the don't show notice again variable is true, an option to
|
|
||||||
// disable should be available
|
|
||||||
chrome.storage.sync.get(["dontShowNoticeAgain"], function(result) {
|
|
||||||
let dontShowNoticeAgain = result.dontShowNoticeAgain;
|
|
||||||
if (dontShowNoticeAgain != undefined && dontShowNoticeAgain) {
|
|
||||||
document.getElementById("showNoticeAgain").style.display = "unset";
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
//show proper video player controls option
|
|
||||||
chrome.storage.sync.get(["hideVideoPlayerControls"], function(result) {
|
|
||||||
let hideVideoPlayerControls = result.hideVideoPlayerControls;
|
|
||||||
if (hideVideoPlayerControls != undefined && hideVideoPlayerControls) {
|
|
||||||
document.getElementById("hideVideoPlayerControls").style.display = "none";
|
|
||||||
document.getElementById("showVideoPlayerControls").style.display = "unset";
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
//show proper tracking option
|
|
||||||
chrome.storage.sync.get(["trackViewCount"], function(result) {
|
|
||||||
let trackViewCount = result.trackViewCount;
|
|
||||||
if (trackViewCount != undefined && !trackViewCount) {
|
|
||||||
document.getElementById("disableSponsorViewTracking").style.display = "none";
|
|
||||||
document.getElementById("enableSponsorViewTracking").style.display = "unset";
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
//get the amount of times this user has contributed and display it to thank them
|
|
||||||
chrome.storage.sync.get(["sponsorTimesContributed"], function(result) {
|
|
||||||
if (result.sponsorTimesContributed != undefined) {
|
|
||||||
let sponsorTimesContributionsContainer = document.getElementById("sponsorTimesContributionsContainer");
|
|
||||||
let sponsorTimesContributionsDisplay = document.getElementById("sponsorTimesContributionsDisplay");
|
|
||||||
let sponsorTimesContributionsDisplayEndWord = document.getElementById("sponsorTimesContributionsDisplayEndWord");
|
|
||||||
|
|
||||||
if (result.sponsorTimesContributed > 1) {
|
|
||||||
sponsorTimesContributionsDisplayEndWord.innerText = "sponsors."
|
|
||||||
} else {
|
|
||||||
sponsorTimesContributionsDisplayEndWord.innerText = "sponsor."
|
|
||||||
}
|
|
||||||
sponsorTimesContributionsDisplay.innerText = result.sponsorTimesContributed;
|
|
||||||
sponsorTimesContributionsContainer.style.display = "unset";
|
|
||||||
|
|
||||||
//get the userID
|
|
||||||
chrome.storage.sync.get(["userID"], function(result) {
|
|
||||||
let userID = result.userID;
|
|
||||||
if (userID != undefined) {
|
|
||||||
//there are probably some views on these submissions then
|
|
||||||
//get the amount of views from the sponsors submitted
|
|
||||||
sendRequestToServer("GET", "/api/getViewsForUser?userID=" + userID, function(xmlhttp) {
|
|
||||||
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
|
|
||||||
let viewCount = JSON.parse(xmlhttp.responseText).viewCount;
|
|
||||||
|
|
||||||
if (viewCount != 0) {
|
|
||||||
let sponsorTimesViewsContainer = document.getElementById("sponsorTimesViewsContainer");
|
|
||||||
let sponsorTimesViewsDisplay = document.getElementById("sponsorTimesViewsDisplay");
|
|
||||||
let sponsorTimesViewsDisplayEndWord = document.getElementById("sponsorTimesViewsDisplayEndWord");
|
|
||||||
|
|
||||||
if (viewCount > 1) {
|
|
||||||
sponsorTimesViewsDisplayEndWord.innerText = "sponsor segments."
|
|
||||||
} else {
|
|
||||||
sponsorTimesViewsDisplayEndWord.innerText = "sponsor segment."
|
|
||||||
}
|
|
||||||
sponsorTimesViewsDisplay.innerText = viewCount;
|
|
||||||
sponsorTimesViewsContainer.style.display = "unset";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
chrome.tabs.query({
|
|
||||||
active: true,
|
|
||||||
currentWindow: true
|
|
||||||
}, loadTabData);
|
|
||||||
|
|
||||||
function loadTabData(tabs) {
|
|
||||||
//set current videoID
|
|
||||||
currentVideoID = getYouTubeVideoID(tabs[0].url);
|
|
||||||
|
|
||||||
if (!currentVideoID) {
|
|
||||||
//this isn't a YouTube video then
|
|
||||||
displayNoVideo();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
//load video times for this video
|
|
||||||
let sponsorTimeKey = "sponsorTimes" + currentVideoID;
|
|
||||||
chrome.storage.sync.get([sponsorTimeKey], function(result) {
|
|
||||||
let sponsorTimesStorage = result[sponsorTimeKey];
|
|
||||||
if (sponsorTimesStorage != undefined && sponsorTimesStorage.length > 0) {
|
|
||||||
if (sponsorTimesStorage[sponsorTimesStorage.length - 1] != undefined && sponsorTimesStorage[sponsorTimesStorage.length - 1].length < 2) {
|
|
||||||
startTimeChosen = true;
|
|
||||||
document.getElementById("sponsorStart").innerHTML = "Sponsorship Ends Now";
|
|
||||||
}
|
|
||||||
|
|
||||||
sponsorTimes = sponsorTimesStorage;
|
|
||||||
|
|
||||||
displaySponsorTimes();
|
|
||||||
|
|
||||||
//show submission section
|
|
||||||
document.getElementById("submissionSection").style.display = "unset";
|
|
||||||
|
|
||||||
showSubmitTimesIfNecessary();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
//check if this video's sponsors are known
|
|
||||||
chrome.tabs.sendMessage(
|
|
||||||
tabs[0].id,
|
|
||||||
{message: 'isInfoFound'},
|
|
||||||
infoFound
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
function infoFound(request) {
|
|
||||||
if(chrome.runtime.lastError) {
|
|
||||||
//This page doesn't have the injected content script, or at least not yet
|
|
||||||
displayNoVideo();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
//if request is undefined, then the page currently being browsed is not YouTube
|
|
||||||
if (request != undefined) {
|
|
||||||
//this must be a YouTube video
|
|
||||||
//set variable
|
|
||||||
isYouTubeTab = true;
|
|
||||||
|
|
||||||
//remove loading text
|
|
||||||
document.getElementById("mainControls").style.display = "unset"
|
|
||||||
document.getElementById("loadingIndicator").innerHTML = "";
|
|
||||||
|
|
||||||
if (request.found) {
|
|
||||||
document.getElementById("videoFound").innerHTML = "This video's sponsors are in the database!"
|
|
||||||
|
|
||||||
displayDownloadedSponsorTimes(request);
|
|
||||||
} else {
|
|
||||||
document.getElementById("videoFound").innerHTML = "No sponsors found"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function setVideoID(request) {
|
|
||||||
//if request is undefined, then the page currently being browsed is not YouTube
|
|
||||||
if (request != undefined) {
|
|
||||||
videoID = request.videoID;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function sendSponsorStartMessage() {
|
|
||||||
//the content script will get the message if a YouTube page is open
|
|
||||||
chrome.tabs.query({
|
|
||||||
active: true,
|
|
||||||
currentWindow: true
|
|
||||||
}, tabs => {
|
|
||||||
chrome.tabs.sendMessage(
|
|
||||||
tabs[0].id,
|
|
||||||
{from: 'popup', message: 'sponsorStart'}
|
|
||||||
);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
chrome.runtime.onMessage.addListener(function (request, sender, callback) {
|
|
||||||
if (request.message == "time") {
|
|
||||||
let sponsorTimesIndex = sponsorTimes.length - (startTimeChosen ? 1 : 0);
|
|
||||||
|
|
||||||
if (sponsorTimes[sponsorTimesIndex] == undefined) {
|
|
||||||
sponsorTimes[sponsorTimesIndex] = [];
|
|
||||||
}
|
|
||||||
|
|
||||||
sponsorTimes[sponsorTimesIndex][startTimeChosen ? 1 : 0] = request.time;
|
|
||||||
|
|
||||||
let sponsorTimeKey = "sponsorTimes" + currentVideoID;
|
|
||||||
chrome.storage.sync.set({[sponsorTimeKey]: sponsorTimes});
|
|
||||||
|
|
||||||
updateStartTimeChosen();
|
|
||||||
|
|
||||||
//display video times on screen
|
|
||||||
displaySponsorTimes();
|
|
||||||
|
|
||||||
//show submission section
|
|
||||||
document.getElementById("submissionSection").style.display = "unset";
|
|
||||||
|
|
||||||
showSubmitTimesIfNecessary();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
//display the video times from the array
|
|
||||||
function displaySponsorTimes() {
|
|
||||||
//set it to the message
|
|
||||||
document.getElementById("sponsorMessageTimes").innerHTML = getSponsorTimesMessage(sponsorTimes);
|
|
||||||
}
|
|
||||||
|
|
||||||
//display the video times from the array at the top, in a different section
|
|
||||||
function displayDownloadedSponsorTimes(request) {
|
|
||||||
if (request.sponsorTimes != undefined) {
|
|
||||||
//set it to the message
|
|
||||||
document.getElementById("downloadedSponsorMessageTimes").innerHTML = getSponsorTimesMessage(request.sponsorTimes);
|
|
||||||
|
|
||||||
//add them as buttons to the issue reporting container
|
|
||||||
let container = document.getElementById("issueReporterTimeButtons");
|
|
||||||
for (let i = 0; i < request.sponsorTimes.length; i++) {
|
|
||||||
let sponsorTimeButton = document.createElement("button");
|
|
||||||
sponsorTimeButton.className = "warningButton";
|
|
||||||
sponsorTimeButton.innerText = getFormattedTime(request.sponsorTimes[i][0]) + " to " + getFormattedTime(request.sponsorTimes[i][1]);
|
|
||||||
|
|
||||||
let votingButtons = document.createElement("div");
|
|
||||||
|
|
||||||
let UUID = request.UUIDs[i];
|
|
||||||
|
|
||||||
//thumbs up and down buttons
|
|
||||||
let voteButtonsContainer = document.createElement("div");
|
|
||||||
voteButtonsContainer.id = "sponsorTimesVoteButtonsContainer" + UUID;
|
|
||||||
voteButtonsContainer.setAttribute("align", "center");
|
|
||||||
voteButtonsContainer.style.display = "none"
|
|
||||||
|
|
||||||
let upvoteButton = document.createElement("img");
|
|
||||||
upvoteButton.id = "sponsorTimesUpvoteButtonsContainer" + UUID;
|
|
||||||
upvoteButton.className = "voteButton";
|
|
||||||
upvoteButton.src = chrome.extension.getURL("icons/upvote.png");
|
|
||||||
upvoteButton.addEventListener("click", () => vote(1, UUID));
|
|
||||||
|
|
||||||
let downvoteButton = document.createElement("img");
|
|
||||||
downvoteButton.id = "sponsorTimesDownvoteButtonsContainer" + UUID;
|
|
||||||
downvoteButton.className = "voteButton";
|
|
||||||
downvoteButton.src = chrome.extension.getURL("icons/downvote.png");
|
|
||||||
downvoteButton.addEventListener("click", () => vote(0, UUID));
|
|
||||||
|
|
||||||
//add thumbs up and down buttons to the container
|
|
||||||
voteButtonsContainer.appendChild(document.createElement("br"));
|
|
||||||
voteButtonsContainer.appendChild(document.createElement("br"));
|
|
||||||
voteButtonsContainer.appendChild(upvoteButton);
|
|
||||||
voteButtonsContainer.appendChild(downvoteButton);
|
|
||||||
|
|
||||||
//add click listener to open up vote panel
|
|
||||||
sponsorTimeButton.addEventListener("click", function() {
|
|
||||||
voteButtonsContainer.style.display = "unset";
|
|
||||||
});
|
|
||||||
|
|
||||||
container.appendChild(sponsorTimeButton);
|
|
||||||
container.appendChild(voteButtonsContainer);
|
|
||||||
|
|
||||||
//if it is not the last iteration
|
|
||||||
if (i != request.sponsorTimes.length - 1) {
|
|
||||||
container.appendChild(document.createElement("br"));
|
|
||||||
container.appendChild(document.createElement("br"));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//get the message that visually displays the video times
|
|
||||||
function getSponsorTimesMessage(sponsorTimes) {
|
|
||||||
let sponsorTimesMessage = "";
|
|
||||||
|
|
||||||
for (let i = 0; i < sponsorTimes.length; i++) {
|
|
||||||
for (let s = 0; s < sponsorTimes[i].length; s++) {
|
|
||||||
let timeMessage = getFormattedTime(sponsorTimes[i][s]);
|
|
||||||
//if this is an end time
|
|
||||||
if (s == 1) {
|
|
||||||
timeMessage = " to " + timeMessage;
|
|
||||||
} else if (i > 0) {
|
|
||||||
//add commas if necessary
|
|
||||||
timeMessage = ", " + timeMessage;
|
|
||||||
}
|
|
||||||
|
|
||||||
sponsorTimesMessage += timeMessage;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return sponsorTimesMessage;
|
|
||||||
}
|
|
||||||
|
|
||||||
function clearTimes() {
|
|
||||||
//send new sponsor time state to tab
|
|
||||||
if (sponsorTimes.length > 0) {
|
|
||||||
chrome.tabs.query({
|
|
||||||
active: true,
|
|
||||||
currentWindow: true
|
|
||||||
}, function(tabs) {
|
|
||||||
chrome.tabs.sendMessage(tabs[0].id, {
|
|
||||||
message: "changeStartSponsorButton",
|
|
||||||
showStartSponsor: true,
|
|
||||||
uploadButtonVisible: false
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
//reset sponsorTimes
|
|
||||||
sponsorTimes = [];
|
|
||||||
|
|
||||||
let sponsorTimeKey = "sponsorTimes" + currentVideoID;
|
|
||||||
chrome.storage.sync.set({[sponsorTimeKey]: sponsorTimes});
|
|
||||||
|
|
||||||
displaySponsorTimes();
|
|
||||||
|
|
||||||
//hide submission section
|
|
||||||
document.getElementById("submissionSection").style.display = "none";
|
|
||||||
|
|
||||||
resetStartTimeChosen();
|
|
||||||
}
|
|
||||||
|
|
||||||
function submitTimes() {
|
|
||||||
//make info message say loading
|
|
||||||
document.getElementById("submitTimesInfoMessage").innerText = "Loading...";
|
|
||||||
document.getElementById("submitTimesInfoMessageContainer").style.display = "unset";
|
|
||||||
|
|
||||||
if (sponsorTimes.length > 0) {
|
|
||||||
chrome.runtime.sendMessage({
|
|
||||||
message: "submitTimes",
|
|
||||||
videoID: currentVideoID
|
|
||||||
}, function(response) {
|
|
||||||
if (response != undefined) {
|
|
||||||
if (response.statusCode == 200) {
|
|
||||||
//hide loading message
|
|
||||||
document.getElementById("submitTimesInfoMessageContainer").style.display = "none";
|
|
||||||
|
|
||||||
clearTimes();
|
|
||||||
} else if(response.statusCode == 400) {
|
|
||||||
document.getElementById("submitTimesInfoMessage").innerText = "Server said this request was invalid";
|
|
||||||
document.getElementById("submitTimesInfoMessageContainer").style.display = "unset";
|
|
||||||
} else if(response.statusCode == 429) {
|
|
||||||
document.getElementById("submitTimesInfoMessage").innerText = "You have submitted too many sponsor times for this one video, are you sure there are this many?";
|
|
||||||
document.getElementById("submitTimesInfoMessageContainer").style.display = "unset";
|
|
||||||
} else if(response.statusCode == 409) {
|
|
||||||
document.getElementById("submitTimesInfoMessage").innerText = "This has already been submitted before";
|
|
||||||
document.getElementById("submitTimesInfoMessageContainer").style.display = "unset";
|
|
||||||
} else {
|
|
||||||
document.getElementById("submitTimesInfoMessage").innerText = "There was an error submitting your sponsor times, please try again later. Error code " + response.statusCode;
|
|
||||||
document.getElementById("submitTimesInfoMessageContainer").style.display = "unset";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function showNoticeAgain() {
|
|
||||||
chrome.storage.sync.set({"dontShowNoticeAgain": false});
|
|
||||||
|
|
||||||
chrome.tabs.query({
|
|
||||||
active: true,
|
|
||||||
currentWindow: true
|
|
||||||
}, function(tabs) {
|
|
||||||
chrome.tabs.sendMessage(tabs[0].id, {
|
|
||||||
message: "showNoticeAgain"
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById("showNoticeAgain").style.display = "none";
|
|
||||||
}
|
|
||||||
|
|
||||||
function hideVideoPlayerControls() {
|
|
||||||
chrome.storage.sync.set({"hideVideoPlayerControls": true});
|
|
||||||
|
|
||||||
chrome.tabs.query({
|
|
||||||
active: true,
|
|
||||||
currentWindow: true
|
|
||||||
}, function(tabs) {
|
|
||||||
chrome.tabs.sendMessage(tabs[0].id, {
|
|
||||||
message: "changeVideoPlayerControlsVisibility",
|
|
||||||
value: true
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById("hideVideoPlayerControls").style.display = "none";
|
|
||||||
document.getElementById("showVideoPlayerControls").style.display = "unset";
|
|
||||||
}
|
|
||||||
|
|
||||||
function showVideoPlayerControls() {
|
|
||||||
chrome.storage.sync.set({"hideVideoPlayerControls": false});
|
|
||||||
|
|
||||||
chrome.tabs.query({
|
|
||||||
active: true,
|
|
||||||
currentWindow: true
|
|
||||||
}, function(tabs) {
|
|
||||||
chrome.tabs.sendMessage(tabs[0].id, {
|
|
||||||
message: "changeVideoPlayerControlsVisibility",
|
|
||||||
value: false
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById("hideVideoPlayerControls").style.display = "unset";
|
|
||||||
document.getElementById("showVideoPlayerControls").style.display = "none";
|
|
||||||
}
|
|
||||||
|
|
||||||
function disableSponsorViewTracking() {
|
|
||||||
chrome.storage.sync.set({"trackViewCount": false});
|
|
||||||
|
|
||||||
chrome.tabs.query({
|
|
||||||
active: true,
|
|
||||||
currentWindow: true
|
|
||||||
}, function(tabs) {
|
|
||||||
chrome.tabs.sendMessage(tabs[0].id, {
|
|
||||||
message: "trackViewCount",
|
|
||||||
value: false
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById("disableSponsorViewTracking").style.display = "none";
|
|
||||||
document.getElementById("enableSponsorViewTracking").style.display = "unset";
|
|
||||||
}
|
|
||||||
|
|
||||||
function enableSponsorViewTracking() {
|
|
||||||
chrome.storage.sync.set({"trackViewCount": true});
|
|
||||||
|
|
||||||
chrome.tabs.query({
|
|
||||||
active: true,
|
|
||||||
currentWindow: true
|
|
||||||
}, function(tabs) {
|
|
||||||
chrome.tabs.sendMessage(tabs[0].id, {
|
|
||||||
message: "trackViewCount",
|
|
||||||
value: true
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById("enableSponsorViewTracking").style.display = "none";
|
|
||||||
document.getElementById("disableSponsorViewTracking").style.display = "unset";
|
|
||||||
}
|
|
||||||
|
|
||||||
function updateStartTimeChosen() {
|
|
||||||
//update startTimeChosen variable
|
|
||||||
if (!startTimeChosen) {
|
|
||||||
startTimeChosen = true;
|
|
||||||
document.getElementById("sponsorStart").innerHTML = "Sponsorship Ends Now";
|
|
||||||
} else {
|
|
||||||
resetStartTimeChosen();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//set it to false
|
|
||||||
function resetStartTimeChosen() {
|
|
||||||
startTimeChosen = false;
|
|
||||||
document.getElementById("sponsorStart").innerHTML = "Sponsorship Starts Now";
|
|
||||||
}
|
|
||||||
|
|
||||||
//hides and shows the submit times button when needed
|
|
||||||
function showSubmitTimesIfNecessary() {
|
|
||||||
//check if an end time has been specified for the latest sponsor time
|
|
||||||
if (sponsorTimes.length > 0 && sponsorTimes[sponsorTimes.length - 1].length > 1) {
|
|
||||||
//show submit times button
|
|
||||||
document.getElementById("submitTimesContainer").style.display = "unset";
|
|
||||||
} else {
|
|
||||||
//hide submit times button
|
|
||||||
document.getElementById("submitTimesContainer").style.display = "none";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//make the options div visisble
|
|
||||||
function openOptions() {
|
|
||||||
document.getElementById("optionsButtonContainer").style.display = "none";
|
|
||||||
document.getElementById("options").style.display = "unset";
|
|
||||||
}
|
|
||||||
|
|
||||||
//this is not a YouTube video page
|
|
||||||
function displayNoVideo() {
|
|
||||||
document.getElementById("loadingIndicator").innerHTML = "This probably isn't a YouTube tab, or you clicked too early. " +
|
|
||||||
"If you know this is a YouTube tab, close this popup and open it again.";
|
|
||||||
}
|
|
||||||
|
|
||||||
function reportAnIssue() {
|
|
||||||
document.getElementById("issueReporterContainer").style.display = "unset";
|
|
||||||
document.getElementById("reportAnIssue").style.display = "none";
|
|
||||||
}
|
|
||||||
|
|
||||||
function addVoteMessage(message, UUID) {
|
|
||||||
let container = document.getElementById("sponsorTimesVoteButtonsContainer" + UUID);
|
|
||||||
//remove all children
|
|
||||||
while (container.firstChild) {
|
|
||||||
container.removeChild(container.firstChild);
|
|
||||||
}
|
|
||||||
|
|
||||||
let thanksForVotingText = document.createElement("h2");
|
|
||||||
thanksForVotingText.innerText = message;
|
|
||||||
//there are already breaks there
|
|
||||||
thanksForVotingText.style.marginBottom = "0px";
|
|
||||||
|
|
||||||
container.appendChild(thanksForVotingText);
|
|
||||||
}
|
|
||||||
|
|
||||||
function vote(type, UUID) {
|
|
||||||
//add loading info
|
|
||||||
addVoteMessage("Loading...", UUID)
|
|
||||||
|
|
||||||
//send the vote message to the tab
|
|
||||||
chrome.runtime.sendMessage({
|
|
||||||
message: "submitVote",
|
|
||||||
type: type,
|
|
||||||
UUID: UUID
|
|
||||||
}, function(response) {
|
|
||||||
if (response != undefined) {
|
|
||||||
//see if it was a success or failure
|
|
||||||
if (response.successType == 1) {
|
|
||||||
//success
|
|
||||||
addVoteMessage("Thanks for voting!", UUID)
|
|
||||||
} else if (response.successType == 0) {
|
|
||||||
//failure: duplicate vote
|
|
||||||
addVoteMessage("You have already voted this way before.", UUID)
|
|
||||||
} else if (response.successType == -1) {
|
|
||||||
//failure: duplicate vote
|
|
||||||
addVoteMessage("A connection error has occured.", UUID)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
//converts time in seconds to minutes:seconds
|
|
||||||
function getFormattedTime(seconds) {
|
|
||||||
let minutes = Math.floor(seconds / 60);
|
|
||||||
let secondsDisplay = Math.round(seconds - minutes * 60);
|
|
||||||
if (secondsDisplay < 10) {
|
|
||||||
//add a zero
|
|
||||||
secondsDisplay = "0" + secondsDisplay;
|
|
||||||
}
|
|
||||||
|
|
||||||
let formatted = minutes+ ":" + secondsDisplay;
|
|
||||||
|
|
||||||
return formatted;
|
|
||||||
}
|
|
||||||
|
|
||||||
function sendRequestToServer(type, address, callback) {
|
|
||||||
let xmlhttp = new XMLHttpRequest();
|
|
||||||
|
|
||||||
xmlhttp.open(type, serverAddress + address, true);
|
|
||||||
|
|
||||||
if (callback != undefined) {
|
|
||||||
xmlhttp.onreadystatechange = function () {
|
|
||||||
callback(xmlhttp, false);
|
|
||||||
};
|
|
||||||
|
|
||||||
xmlhttp.onerror = function(ev) {
|
|
||||||
callback(xmlhttp, true);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
//submit this request
|
|
||||||
xmlhttp.send();
|
|
||||||
}
|
|
||||||
|
|
||||||
function getYouTubeVideoID(url) { // Return video id or false
|
|
||||||
var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/;
|
|
||||||
var match = url.match(regExp);
|
|
||||||
return (match && match[7].length == 11) ? match[7] : false;
|
|
||||||
}
|
|
||||||
933
public/_locales/en/messages.json
Normal file
@@ -0,0 +1,933 @@
|
|||||||
|
{
|
||||||
|
"fullName": {
|
||||||
|
"message": "SponsorBlock for YouTube - Skip Sponsorships",
|
||||||
|
"description": "Name of the extension."
|
||||||
|
},
|
||||||
|
"Description": {
|
||||||
|
"message": "Skip sponsorships, subscription begging and more on YouTube videos. Report sponsors on videos you watch to save others' time.",
|
||||||
|
"description": "Description of the extension."
|
||||||
|
},
|
||||||
|
"400": {
|
||||||
|
"message": "Server said this request was invalid"
|
||||||
|
},
|
||||||
|
"429": {
|
||||||
|
"message": "You have submitted too many sponsor times for this one video, are you sure there are this many?"
|
||||||
|
},
|
||||||
|
"409": {
|
||||||
|
"message": "This has already been submitted before"
|
||||||
|
},
|
||||||
|
"channelWhitelisted": {
|
||||||
|
"message": "Channel Whitelisted!"
|
||||||
|
},
|
||||||
|
"Segment": {
|
||||||
|
"message": "segment"
|
||||||
|
},
|
||||||
|
"Segments": {
|
||||||
|
"message": "segments"
|
||||||
|
},
|
||||||
|
"upvoteButtonInfo": {
|
||||||
|
"message": "Upvote this submission"
|
||||||
|
},
|
||||||
|
"reportButtonTitle": {
|
||||||
|
"message": "Report"
|
||||||
|
},
|
||||||
|
"reportButtonInfo": {
|
||||||
|
"message": "Report this submission as incorrect."
|
||||||
|
},
|
||||||
|
"Dismiss": {
|
||||||
|
"message": "Dismiss"
|
||||||
|
},
|
||||||
|
"Loading": {
|
||||||
|
"message": "Loading..."
|
||||||
|
},
|
||||||
|
"Hide": {
|
||||||
|
"message": "Never Show"
|
||||||
|
},
|
||||||
|
"hitGoBack": {
|
||||||
|
"message": "Hit unskip to get to where you came from."
|
||||||
|
},
|
||||||
|
"unskip": {
|
||||||
|
"message": "Unskip"
|
||||||
|
},
|
||||||
|
"reskip": {
|
||||||
|
"message": "Reskip"
|
||||||
|
},
|
||||||
|
"unmute": {
|
||||||
|
"message": "Unmute"
|
||||||
|
},
|
||||||
|
"paused": {
|
||||||
|
"message": "Paused"
|
||||||
|
},
|
||||||
|
"manualPaused": {
|
||||||
|
"message": "Timer Stopped"
|
||||||
|
},
|
||||||
|
"confirmMSG": {
|
||||||
|
"message": "To edit or delete individual values, click the info button or open the extension popup by clicking the extension icon in the top right corner."
|
||||||
|
},
|
||||||
|
"clearThis": {
|
||||||
|
"message": "Are you sure you want to clear this?\n\n"
|
||||||
|
},
|
||||||
|
"Unknown": {
|
||||||
|
"message": "There was an error submitting your sponsor times, please try again later."
|
||||||
|
},
|
||||||
|
"sponsorFound": {
|
||||||
|
"message": "This video has segments in the database!"
|
||||||
|
},
|
||||||
|
"sponsor404": {
|
||||||
|
"message": "No segments found"
|
||||||
|
},
|
||||||
|
"sponsorStart": {
|
||||||
|
"message": "Segment Starts Now"
|
||||||
|
},
|
||||||
|
"sponsorEnd": {
|
||||||
|
"message": "Segment Ends Now"
|
||||||
|
},
|
||||||
|
"sponsorCancel": {
|
||||||
|
"message": "Cancel Creating Segment"
|
||||||
|
},
|
||||||
|
"noVideoID": {
|
||||||
|
"message": "No YouTube video found.\nIf this is incorrect, refresh the tab."
|
||||||
|
},
|
||||||
|
"refreshSegments": {
|
||||||
|
"message": "Refresh segments"
|
||||||
|
},
|
||||||
|
"success": {
|
||||||
|
"message": "Success!"
|
||||||
|
},
|
||||||
|
"voted": {
|
||||||
|
"message": "Voted!"
|
||||||
|
},
|
||||||
|
"serverDown": {
|
||||||
|
"message": "It seems the server is down. Contact the dev immediately."
|
||||||
|
},
|
||||||
|
"connectionError": {
|
||||||
|
"message": "A connection error has occured. Error code: "
|
||||||
|
},
|
||||||
|
"clearTimes": {
|
||||||
|
"message": "Clear Segments"
|
||||||
|
},
|
||||||
|
"openPopup": {
|
||||||
|
"message": "Open SponsorBlock Popup"
|
||||||
|
},
|
||||||
|
"closePopup": {
|
||||||
|
"message": "Close Popup"
|
||||||
|
},
|
||||||
|
"SubmitTimes": {
|
||||||
|
"message": "Submit Segments"
|
||||||
|
},
|
||||||
|
"submitCheck": {
|
||||||
|
"message": "Are you sure you want to submit this?"
|
||||||
|
},
|
||||||
|
"whitelistChannel": {
|
||||||
|
"message": "Whitelist channel"
|
||||||
|
},
|
||||||
|
"removeFromWhitelist": {
|
||||||
|
"message": "Remove channel from whitelist"
|
||||||
|
},
|
||||||
|
"voteOnTime": {
|
||||||
|
"message": "Vote On A Segment"
|
||||||
|
},
|
||||||
|
"Submissions": {
|
||||||
|
"message": "Submissions"
|
||||||
|
},
|
||||||
|
"savedPeopleFrom": {
|
||||||
|
"message": "You've saved people from "
|
||||||
|
},
|
||||||
|
"viewLeaderboard": {
|
||||||
|
"message": "Leaderboard"
|
||||||
|
},
|
||||||
|
"recordTimesDescription": {
|
||||||
|
"message": "Submit"
|
||||||
|
},
|
||||||
|
"submissionEditHint": {
|
||||||
|
"message": "Section editing will appear after you click submit",
|
||||||
|
"description": "Appears in the popup to inform them that editing has been moved to the video player."
|
||||||
|
},
|
||||||
|
"popupHint": {
|
||||||
|
"message": "Hint: You can setup keybinds for submitting in the options"
|
||||||
|
},
|
||||||
|
"clearTimesButton": {
|
||||||
|
"message": "Clear Times"
|
||||||
|
},
|
||||||
|
"submitTimesButton": {
|
||||||
|
"message": "Submit Times"
|
||||||
|
},
|
||||||
|
"publicStats": {
|
||||||
|
"message": "This is used on the public stats page to show off how much you've contributed. See it"
|
||||||
|
},
|
||||||
|
"Username": {
|
||||||
|
"message": "Username"
|
||||||
|
},
|
||||||
|
"setUsername": {
|
||||||
|
"message": "Set Username"
|
||||||
|
},
|
||||||
|
"copyPublicID": {
|
||||||
|
"message": "Copy Public UserID"
|
||||||
|
},
|
||||||
|
"discordAdvert": {
|
||||||
|
"message": "Come join the official discord server to give suggestions and feedback!"
|
||||||
|
},
|
||||||
|
"hideThis": {
|
||||||
|
"message": "Hide this"
|
||||||
|
},
|
||||||
|
"Options": {
|
||||||
|
"message": "Options"
|
||||||
|
},
|
||||||
|
"showButtons": {
|
||||||
|
"message": "Show Buttons On YouTube Player"
|
||||||
|
},
|
||||||
|
"hideButtons": {
|
||||||
|
"message": "Hide Buttons On YouTube Player"
|
||||||
|
},
|
||||||
|
"hideButtonsDescription": {
|
||||||
|
"message": "This hides the buttons that appear on the YouTube player to submit skip segments."
|
||||||
|
},
|
||||||
|
"showSkipButton": {
|
||||||
|
"message": "Keep Skip To Highlight Button On Player"
|
||||||
|
},
|
||||||
|
"showInfoButton": {
|
||||||
|
"message": "Show Info Button On YouTube Player"
|
||||||
|
},
|
||||||
|
"hideInfoButton": {
|
||||||
|
"message": "Hide Info Button On YouTube Player"
|
||||||
|
},
|
||||||
|
"autoHideInfoButton": {
|
||||||
|
"message": "Auto-hide Info Button"
|
||||||
|
},
|
||||||
|
"hideDeleteButton": {
|
||||||
|
"message": "Hide Delete Button On YouTube Player"
|
||||||
|
},
|
||||||
|
"showDeleteButton": {
|
||||||
|
"message": "Show Delete Button On YouTube Player"
|
||||||
|
},
|
||||||
|
"enableViewTracking": {
|
||||||
|
"message": "Enable Skip Count Tracking"
|
||||||
|
},
|
||||||
|
"whatViewTracking": {
|
||||||
|
"message": "This feature tracks which segments you have skipped to let users know how much their submission has helped others and used as a metric along with upvotes to ensure that spam doesn't get into the database. The extension sends a message to the server each time you skip a segment. Hopefully most people don't change this setting so that the view numbers are accurate. :)"
|
||||||
|
},
|
||||||
|
"enableViewTrackingInPrivate": {
|
||||||
|
"message": "Enable Skip Count Tracking In Private/Incognito tabs"
|
||||||
|
},
|
||||||
|
"enableTrackDownvotes": {
|
||||||
|
"message": "Store segment downvotes"
|
||||||
|
},
|
||||||
|
"whatTrackDownvotes": {
|
||||||
|
"message": "Any segments you downvote will remain hidden even after refreshing"
|
||||||
|
},
|
||||||
|
"trackDownvotesWarning": {
|
||||||
|
"message": "Warning: Disabling this will delete all previously stored downvotes"
|
||||||
|
},
|
||||||
|
"enableQueryByHashPrefix": {
|
||||||
|
"message": "Query By Hash Prefix"
|
||||||
|
},
|
||||||
|
"whatQueryByHashPrefix": {
|
||||||
|
"message": "Instead of requesting segments from the server using the videoID, the first 4 characters of the hash of the videoID are sent. This server will send back data for all videos with similar hashes."
|
||||||
|
},
|
||||||
|
"enableRefetchWhenNotFound": {
|
||||||
|
"message": "Refetch Segments On New Videos"
|
||||||
|
},
|
||||||
|
"whatRefetchWhenNotFound": {
|
||||||
|
"message": "If the video is new, and there are no segments found, it will keep refetching every few minutes while you watch."
|
||||||
|
},
|
||||||
|
"showNotice": {
|
||||||
|
"message": "Show Notice Again"
|
||||||
|
},
|
||||||
|
"showSkipNotice": {
|
||||||
|
"message": "Show Notice After A Segment Is Skipped"
|
||||||
|
},
|
||||||
|
"noticeVisibilityMode0": {
|
||||||
|
"message": "Full Size Skip Notices"
|
||||||
|
},
|
||||||
|
"noticeVisibilityMode1": {
|
||||||
|
"message": "Small Skip Notices for Auto Skip"
|
||||||
|
},
|
||||||
|
"noticeVisibilityMode2": {
|
||||||
|
"message": "All Small Skip Notices"
|
||||||
|
},
|
||||||
|
"noticeVisibilityMode3": {
|
||||||
|
"message": "Faded Skip Notices for Auto Skip"
|
||||||
|
},
|
||||||
|
"noticeVisibilityMode4": {
|
||||||
|
"message": "All Faded Skip Notices"
|
||||||
|
},
|
||||||
|
"longDescription": {
|
||||||
|
"message": "SponsorBlock lets you skip over sponsors, intros, outros, subscription reminders, and other annoying parts of YouTube videos. SponsorBlock is a crowdsourced browser extension that lets anyone submit the start and end times of sponsored segments and other segments of YouTube videos. Once one person submits this information, everyone else with this extension will skip right over the sponsored segment. You can also skip over non music sections of music videos.",
|
||||||
|
"description": "Full description of the extension on the store pages."
|
||||||
|
},
|
||||||
|
"website": {
|
||||||
|
"message": "Website",
|
||||||
|
"description": "Used on Firefox Store Page"
|
||||||
|
},
|
||||||
|
"sourceCode": {
|
||||||
|
"message": "Source Code",
|
||||||
|
"description": "Used on Firefox Store Page"
|
||||||
|
},
|
||||||
|
"noticeUpdate": {
|
||||||
|
"message": "The notice has been upgraded!",
|
||||||
|
"description": "The first line of the message displayed after the notice was upgraded."
|
||||||
|
},
|
||||||
|
"noticeUpdate2": {
|
||||||
|
"message": "If you still don't like it, hit the never show button.",
|
||||||
|
"description": "The second line of the message displayed after the notice was upgraded."
|
||||||
|
},
|
||||||
|
"setSkipShortcut": {
|
||||||
|
"message": "Skip segment",
|
||||||
|
"description": "Keybind label"
|
||||||
|
},
|
||||||
|
"setStartSponsorShortcut": {
|
||||||
|
"message": "Start/stop segment",
|
||||||
|
"description": "Keybind label"
|
||||||
|
},
|
||||||
|
"setSubmitKeybind": {
|
||||||
|
"message": "Submit segments",
|
||||||
|
"description": "Keybind label"
|
||||||
|
},
|
||||||
|
"keybindDescription": {
|
||||||
|
"message": "Select a key by typing it and choose any modifier keys you wish to use."
|
||||||
|
},
|
||||||
|
"0": {
|
||||||
|
"message": "Connection Timeout. Check your internet connection. If your internet is working, the server is probably overloaded or down."
|
||||||
|
},
|
||||||
|
"disableSkipping": {
|
||||||
|
"message": "Skipping is enabled"
|
||||||
|
},
|
||||||
|
"enableSkipping": {
|
||||||
|
"message": "Skipping is disabled"
|
||||||
|
},
|
||||||
|
"yourWork": {
|
||||||
|
"message": "Your Work",
|
||||||
|
"description": "Used to describe the section that will show you the statistics from your submissions."
|
||||||
|
},
|
||||||
|
"502": {
|
||||||
|
"message": "The server seems to be overloaded. Try again in a few seconds."
|
||||||
|
},
|
||||||
|
"errorCode": {
|
||||||
|
"message": "Error Code: "
|
||||||
|
},
|
||||||
|
"skip": {
|
||||||
|
"message": "Skip"
|
||||||
|
},
|
||||||
|
"mute": {
|
||||||
|
"message": "Mute"
|
||||||
|
},
|
||||||
|
"full": {
|
||||||
|
"message": "Full Video",
|
||||||
|
"description": "Used for the name of the option to label an entire video as sponsor or self promotion."
|
||||||
|
},
|
||||||
|
"skip_category": {
|
||||||
|
"message": "Skip {0}?"
|
||||||
|
},
|
||||||
|
"mute_category": {
|
||||||
|
"message": "Mute {0}?"
|
||||||
|
},
|
||||||
|
"skip_to_category": {
|
||||||
|
"message": "Skip to {0}?",
|
||||||
|
"description": "Used for skipping to things (Skip to Highlight)"
|
||||||
|
},
|
||||||
|
"skipped": {
|
||||||
|
"message": "{0} Skipped",
|
||||||
|
"description": "Example: Sponsor Skipped"
|
||||||
|
},
|
||||||
|
"muted": {
|
||||||
|
"message": "{0} Muted",
|
||||||
|
"description": "Example: Sponsor Muted"
|
||||||
|
},
|
||||||
|
"skipped_to_category": {
|
||||||
|
"message": "Skipped to {0}",
|
||||||
|
"description": "Used for skipping to things (Skipped to Highlight)"
|
||||||
|
},
|
||||||
|
"disableAutoSkip": {
|
||||||
|
"message": "Disable Auto Skip"
|
||||||
|
},
|
||||||
|
"enableAutoSkip": {
|
||||||
|
"message": "Enable Auto Skip"
|
||||||
|
},
|
||||||
|
"audioNotification": {
|
||||||
|
"message": "Audio Notification On Skip"
|
||||||
|
},
|
||||||
|
"audioNotificationDescription": {
|
||||||
|
"message": "Audio notification on skip will play a sound whenever a segment is skipped. If disabled (or auto skip is disabled), no sound will be played."
|
||||||
|
},
|
||||||
|
"showTimeWithSkips": {
|
||||||
|
"message": "Show Time With Skips Removed"
|
||||||
|
},
|
||||||
|
"showTimeWithSkipsDescription": {
|
||||||
|
"message": "This time appears in brackets next to the current time on below the seekbar. This shows the total video duration minus any segments. This includes segments marked as only \"Show In Seekbar\"."
|
||||||
|
},
|
||||||
|
"youHaveSkipped": {
|
||||||
|
"message": "You've skipped "
|
||||||
|
},
|
||||||
|
"minLower": {
|
||||||
|
"message": "minute"
|
||||||
|
},
|
||||||
|
"minsLower": {
|
||||||
|
"message": "minutes"
|
||||||
|
},
|
||||||
|
"hourLower": {
|
||||||
|
"message": "hour"
|
||||||
|
},
|
||||||
|
"hoursLower": {
|
||||||
|
"message": "hours"
|
||||||
|
},
|
||||||
|
"youHaveSavedTime": {
|
||||||
|
"message": "You've saved people",
|
||||||
|
"description": "You've saved people from 887,362 segments (236d 15h 5.3 minutes of their lives)."
|
||||||
|
},
|
||||||
|
"youHaveSavedTimeEnd": {
|
||||||
|
"message": " of their lives",
|
||||||
|
"description": "You've saved people from 887,362 segments (236d 15h 5.3 minutes of their lives)."
|
||||||
|
},
|
||||||
|
"statusReminder": {
|
||||||
|
"message": "Check status.sponsor.ajay.app for server status."
|
||||||
|
},
|
||||||
|
"changeUserID": {
|
||||||
|
"message": "Import/Export Your UserID"
|
||||||
|
},
|
||||||
|
"whatChangeUserID": {
|
||||||
|
"message": "This should be kept private. This is like a password and should not be shared with anyone. If someone has this, they can impersonate you. If you are looking for your public userID, click the clipboard icon in the popup."
|
||||||
|
},
|
||||||
|
"setUserID": {
|
||||||
|
"message": "Set UserID"
|
||||||
|
},
|
||||||
|
"userIDChangeWarning": {
|
||||||
|
"message": "Warning: Changing the UserID is permanent. Are you sure you would like to do this? Make sure to backup your old one just in case."
|
||||||
|
},
|
||||||
|
"createdBy": {
|
||||||
|
"message": "Created By"
|
||||||
|
},
|
||||||
|
"supportOtherSites": {
|
||||||
|
"message": "Support 3rd Party YouTube-Sites"
|
||||||
|
},
|
||||||
|
"supportOtherSitesDescription": {
|
||||||
|
"message": "Support third party YouTube clients. To enable support, you must accept the extra permissions. This does NOT work in incognito on Chrome and other Chromium variants.",
|
||||||
|
"description": "This replaces the 'supports Invidious' option because it now works on other YouTube sites such as Cloudtube"
|
||||||
|
},
|
||||||
|
"supportedSites": {
|
||||||
|
"message": "Supported Sites: "
|
||||||
|
},
|
||||||
|
"optionsInfo": {
|
||||||
|
"message": "Enable Invidious support, disable autoskip, hide buttons and more."
|
||||||
|
},
|
||||||
|
"addInvidiousInstance": {
|
||||||
|
"message": "Add 3rd-Party Client Instance"
|
||||||
|
},
|
||||||
|
"addInvidiousInstanceDescription": {
|
||||||
|
"message": "Add a custom instance. This must be formatted with JUST the domain. Example: invidious.ajay.app"
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"message": "Add"
|
||||||
|
},
|
||||||
|
"addInvidiousInstanceError": {
|
||||||
|
"message": "This is an invalid domain. This should JUST include the domain part. Example: invidious.ajay.app"
|
||||||
|
},
|
||||||
|
"resetInvidiousInstance": {
|
||||||
|
"message": "Reset Invidious Instance List"
|
||||||
|
},
|
||||||
|
"resetInvidiousInstanceAlert": {
|
||||||
|
"message": "You are about to reset the Invidious instance list"
|
||||||
|
},
|
||||||
|
"currentInstances": {
|
||||||
|
"message": "Current Instances:"
|
||||||
|
},
|
||||||
|
"minDuration": {
|
||||||
|
"message": "Minimum duration (seconds):"
|
||||||
|
},
|
||||||
|
"minDurationDescription": {
|
||||||
|
"message": "Segments shorter than the set value will not be skipped or show in the player."
|
||||||
|
},
|
||||||
|
"skipNoticeDuration": {
|
||||||
|
"message": "Skip notice duration (seconds):"
|
||||||
|
},
|
||||||
|
"skipNoticeDurationDescription": {
|
||||||
|
"message": "The skip notice will stay on screen for at least this many seconds. For manual skipping, it may be visible for longer."
|
||||||
|
},
|
||||||
|
"shortCheck": {
|
||||||
|
"message": "The following submission is shorter than your minimum duration option. This could mean that this is already submitted, and just being ignored due to this option. Are you sure you would like to submit?"
|
||||||
|
},
|
||||||
|
"liveOrPremiere": {
|
||||||
|
"message": "Submitting on an active livestream or premiere is not allowed. Please wait until it finishes, then refresh the page and verify that the segments are still valid."
|
||||||
|
},
|
||||||
|
"showUploadButton": {
|
||||||
|
"message": "Show Upload Button"
|
||||||
|
},
|
||||||
|
"customServerAddress": {
|
||||||
|
"message": "SponsorBlock Server Address"
|
||||||
|
},
|
||||||
|
"customServerAddressDescription": {
|
||||||
|
"message": "The address SponsorBlock uses to make calls to the server.\nUnless you have your own server instance, this should not be changed."
|
||||||
|
},
|
||||||
|
"save": {
|
||||||
|
"message": "Save"
|
||||||
|
},
|
||||||
|
"reset": {
|
||||||
|
"message": "Reset"
|
||||||
|
},
|
||||||
|
"customAddressError": {
|
||||||
|
"message": "This address is not in the right form. Make sure you have http:// or https:// at the beginning and no trailing slashes."
|
||||||
|
},
|
||||||
|
"areYouSureReset": {
|
||||||
|
"message": "Are you sure you would like to reset this?"
|
||||||
|
},
|
||||||
|
"mobileUpdateInfo": {
|
||||||
|
"message": "m.youtube.com is now supported"
|
||||||
|
},
|
||||||
|
"exportOptions": {
|
||||||
|
"message": "Import/Export All Options"
|
||||||
|
},
|
||||||
|
"exportOptionsCopy": {
|
||||||
|
"message": "Edit/copy"
|
||||||
|
},
|
||||||
|
"exportOptionsDownload": {
|
||||||
|
"message": "Save to file"
|
||||||
|
},
|
||||||
|
"exportOptionsUpload": {
|
||||||
|
"message": "Load from file"
|
||||||
|
},
|
||||||
|
"whatExportOptions": {
|
||||||
|
"message": "This is your entire configuration in JSON. This includes your userID, so be sure to share this wisely."
|
||||||
|
},
|
||||||
|
"setOptions": {
|
||||||
|
"message": "Set Options"
|
||||||
|
},
|
||||||
|
"exportOptionsWarning": {
|
||||||
|
"message": "Warning: Changing the options is permanent and can break your install. Are you sure you would like to do this? Make sure to backup your old one just in case."
|
||||||
|
},
|
||||||
|
"incorrectlyFormattedOptions": {
|
||||||
|
"message": "This JSON is not formatted correctly. Your options have not been changed."
|
||||||
|
},
|
||||||
|
"confirmNoticeTitle" : {
|
||||||
|
"message": "Submit Segment"
|
||||||
|
},
|
||||||
|
"submit": {
|
||||||
|
"message": "Submit"
|
||||||
|
},
|
||||||
|
"cancel": {
|
||||||
|
"message": "Cancel"
|
||||||
|
},
|
||||||
|
"delete": {
|
||||||
|
"message": "Delete"
|
||||||
|
},
|
||||||
|
"preview": {
|
||||||
|
"message": "Preview"
|
||||||
|
},
|
||||||
|
"unsubmitted": {
|
||||||
|
"message": "Unsubmitted"
|
||||||
|
},
|
||||||
|
"inspect": {
|
||||||
|
"message": "Inspect"
|
||||||
|
},
|
||||||
|
"edit": {
|
||||||
|
"message": "Edit"
|
||||||
|
},
|
||||||
|
"copyDebugInformation": {
|
||||||
|
"message": "Copy Debug Information To Clipboard"
|
||||||
|
},
|
||||||
|
"copyDebugInformationFailed": {
|
||||||
|
"message": "Failed to write to clipboard"
|
||||||
|
},
|
||||||
|
"copyDebugInformationOptions": {
|
||||||
|
"message": "Copies information to the clipboard to be provided to a developer when raising a bug / when a developer requests it. Sensitive information such as your user ID, whitelisted channels, and custom server address have been removed. However it does contain information such as your useragent, browser, operating system, and extension version number. "
|
||||||
|
},
|
||||||
|
"copyDebugInformationComplete": {
|
||||||
|
"message": "The debug information has been copied to the clip board. Feel free to remove any information you would rather not share. Save this in a text file or paste into the bug report."
|
||||||
|
},
|
||||||
|
"keyAlreadyUsed": {
|
||||||
|
"message": "This shortcut is bound to another action. Please select a different one."
|
||||||
|
},
|
||||||
|
"to": {
|
||||||
|
"message": "to",
|
||||||
|
"description": "Used between segments. Example: 1:20 to 1:30"
|
||||||
|
},
|
||||||
|
"category_sponsor": {
|
||||||
|
"message": "Useful Content"
|
||||||
|
},
|
||||||
|
"category_sponsor_description": {
|
||||||
|
"message": "Paid promotion, paid referrals and direct advertisements. Not for self-promotion or free shoutouts to causes/creators/websites/products they like."
|
||||||
|
},
|
||||||
|
"category_selfpromo": {
|
||||||
|
"message": "Unpaid/Self Promotion"
|
||||||
|
},
|
||||||
|
"category_selfpromo_description": {
|
||||||
|
"message": "Similar to \"sponsor\" except for unpaid or self promotion. This includes sections about merchandise, donations, or information about who they collaborated with."
|
||||||
|
},
|
||||||
|
"category_exclusive_access": {
|
||||||
|
"message": "Exclusive Access"
|
||||||
|
},
|
||||||
|
"category_exclusive_access_description": {
|
||||||
|
"message": "Only for labeling entire videos. Used when a video showcases a product, service or location that they've received free or subsidized access to."
|
||||||
|
},
|
||||||
|
"category_exclusive_access_pill": {
|
||||||
|
"message": "This video showcases a product, service or location that they've received free or subsidized access to",
|
||||||
|
"description": "Short description for this category"
|
||||||
|
},
|
||||||
|
"category_interaction": {
|
||||||
|
"message": "Interaction Reminder (Subscribe)"
|
||||||
|
},
|
||||||
|
"category_interaction_description": {
|
||||||
|
"message": "When there is a short reminder to like, subscribe or follow them in the middle of content. If it is long or about something specific, it should be under self promotion instead."
|
||||||
|
},
|
||||||
|
"category_interaction_short": {
|
||||||
|
"message": "Interaction Reminder"
|
||||||
|
},
|
||||||
|
"category_intro": {
|
||||||
|
"message": "Intermission/Intro Animation"
|
||||||
|
},
|
||||||
|
"category_intro_description": {
|
||||||
|
"message": "An interval without actual content. Could be a pause, static frame, repeating animation. This should not be used for transitions containing information."
|
||||||
|
},
|
||||||
|
"category_intro_short": {
|
||||||
|
"message": "Intermission"
|
||||||
|
},
|
||||||
|
"category_outro": {
|
||||||
|
"message": "Endcards/Credits"
|
||||||
|
},
|
||||||
|
"category_outro_description": {
|
||||||
|
"message": "Credits or when the YouTube endcards appear. Not for conclusions with information."
|
||||||
|
},
|
||||||
|
"category_preview": {
|
||||||
|
"message": "Preview/Recap"
|
||||||
|
},
|
||||||
|
"category_preview_description": {
|
||||||
|
"message": "Quick recap of previous episodes, or a preview of what's coming up later in the current video. Meant for edited together clips, not for spoken summaries."
|
||||||
|
},
|
||||||
|
"category_filler": {
|
||||||
|
"message": "Filler Tangent/Jokes"
|
||||||
|
},
|
||||||
|
"category_filler_description": {
|
||||||
|
"message": "Tangential scenes added only for filler or humor that are not required to understand the main content of the video. This should not include segments providing context or background details."
|
||||||
|
},
|
||||||
|
"category_filler_short": {
|
||||||
|
"message": "Filler"
|
||||||
|
},
|
||||||
|
"category_music_offtopic": {
|
||||||
|
"message": "Music: Non-Music Section"
|
||||||
|
},
|
||||||
|
"category_music_offtopic_description": {
|
||||||
|
"message": "Only for use in music videos. This only should be used for sections of music videos that aren't already covered by another category."
|
||||||
|
},
|
||||||
|
"category_music_offtopic_short": {
|
||||||
|
"message": "Non-Music"
|
||||||
|
},
|
||||||
|
"category_poi_highlight": {
|
||||||
|
"message": "Highlight"
|
||||||
|
},
|
||||||
|
"category_poi_highlight_description": {
|
||||||
|
"message": "The part of the video that most people are looking for. Similar to \"Video starts at x\" comments."
|
||||||
|
},
|
||||||
|
"category_livestream_messages": {
|
||||||
|
"message": "Livestream: Donation/Message Readings"
|
||||||
|
},
|
||||||
|
"category_livestream_messages_short": {
|
||||||
|
"message": "Message Reading"
|
||||||
|
},
|
||||||
|
"autoSkip": {
|
||||||
|
"message": "Auto Skip"
|
||||||
|
},
|
||||||
|
"manualSkip": {
|
||||||
|
"message": "Manual Skip"
|
||||||
|
},
|
||||||
|
"showOverlay": {
|
||||||
|
"message": "Show In Seek Bar"
|
||||||
|
},
|
||||||
|
"disable": {
|
||||||
|
"message": "Disable"
|
||||||
|
},
|
||||||
|
"autoSkip_POI": {
|
||||||
|
"message": "Auto skip to the start"
|
||||||
|
},
|
||||||
|
"manualSkip_POI": {
|
||||||
|
"message": "Ask when video loads"
|
||||||
|
},
|
||||||
|
"showOverlay_POI": {
|
||||||
|
"message": "Show In Seek Bar"
|
||||||
|
},
|
||||||
|
"showOverlay_full": {
|
||||||
|
"message": "Show Label"
|
||||||
|
},
|
||||||
|
"autoSkipOnMusicVideos": {
|
||||||
|
"message": "Auto skip all segments when there is a non-music segment"
|
||||||
|
},
|
||||||
|
"muteSegments": {
|
||||||
|
"message": "Allow segments that mute audio instead of skip"
|
||||||
|
},
|
||||||
|
"fullVideoSegments": {
|
||||||
|
"message": "Show an icon when a video is entirely an advertisement",
|
||||||
|
"description": "Referring to the category pill that is now shown on videos that are entirely sponsor or entirely selfpromo"
|
||||||
|
},
|
||||||
|
"previewColor": {
|
||||||
|
"message": "Unsubmitted Color",
|
||||||
|
"description": "Referring to submissions that have not been sent to the server yet."
|
||||||
|
},
|
||||||
|
"seekBarColor": {
|
||||||
|
"message": "Seek Bar Color"
|
||||||
|
},
|
||||||
|
"category": {
|
||||||
|
"message": "Category"
|
||||||
|
},
|
||||||
|
"skipOption": {
|
||||||
|
"message": "Skip Option",
|
||||||
|
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
|
||||||
|
},
|
||||||
|
"enableTestingServer": {
|
||||||
|
"message": "Enable Beta Testing Server"
|
||||||
|
},
|
||||||
|
"whatEnableTestingServer": {
|
||||||
|
"message": "Your submissions and votes WILL NOT COUNT towards the main server. Only use this for testing."
|
||||||
|
},
|
||||||
|
"testingServerWarning": {
|
||||||
|
"message": "All submissions and votes WILL NOT COUNT towards the main server while connecting to the test server. Make sure to disable this when you want to make real submissions."
|
||||||
|
},
|
||||||
|
"bracketNow": {
|
||||||
|
"message": "(Now)"
|
||||||
|
},
|
||||||
|
"moreCategories": {
|
||||||
|
"message": "More Categories"
|
||||||
|
},
|
||||||
|
"chooseACategory": {
|
||||||
|
"message": "Choose a Category"
|
||||||
|
},
|
||||||
|
"enableThisCategoryFirst": {
|
||||||
|
"message": "To submit segments with the category of \"{0}\", you must enable it in the options. You will be redirected to the options now.",
|
||||||
|
"description": "Used when submitting segments to only let them select a certain category if they have it enabled in the options."
|
||||||
|
},
|
||||||
|
"poiOnlyOneSegment": {
|
||||||
|
"message": "Warning: This type of segment can have a maximum of one active at a time. Submitting multiple will cause a random one to be shown."
|
||||||
|
},
|
||||||
|
"youMustSelectACategory": {
|
||||||
|
"message": "You must select a category for all segments you are submitting!"
|
||||||
|
},
|
||||||
|
"bracketEnd": {
|
||||||
|
"message": "(End)"
|
||||||
|
},
|
||||||
|
"hiddenDueToDownvote": {
|
||||||
|
"message": "hidden: downvote"
|
||||||
|
},
|
||||||
|
"hiddenDueToDuration": {
|
||||||
|
"message": "hidden: too short"
|
||||||
|
},
|
||||||
|
"manuallyHidden": {
|
||||||
|
"message": "manually hidden"
|
||||||
|
},
|
||||||
|
"channelDataNotFound": {
|
||||||
|
"description": "This error appears in an alert when they try to whitelist a channel and the extension is unable to determine what channel they are looking at.",
|
||||||
|
"message": "Channel ID is not loaded yet. If you are using an embedded video, try using the YouTube homepage instead. This could also be caused by changes in the YouTube layout, if you think so, make a comment here:"
|
||||||
|
},
|
||||||
|
"videoInfoFetchFailed": {
|
||||||
|
"message": "It seems that something is blocking SponsorBlock's ability to get video data. Please see https://github.com/ajayyy/SponsorBlock/issues/741 for more info."
|
||||||
|
},
|
||||||
|
"youtubePermissionRequest": {
|
||||||
|
"message": "It seems that SponsorBlock is unable to reach the YouTube API. To fix this, accept the permission prompt that will appear next, wait a few seconds, and then reload the page."
|
||||||
|
},
|
||||||
|
"acceptPermission": {
|
||||||
|
"message": "Accept permission"
|
||||||
|
},
|
||||||
|
"permissionRequestSuccess": {
|
||||||
|
"message": "Permission request succeeded!"
|
||||||
|
},
|
||||||
|
"permissionRequestFailed": {
|
||||||
|
"message": "Permission request failed, did you click deny?"
|
||||||
|
},
|
||||||
|
"adblockerIssueWhitelist": {
|
||||||
|
"message": "If you are unable to resolve this, then disable the setting 'Force Channel Check Before Skipping', as SponsorBlock is unable to retrieve the channel information for this video"
|
||||||
|
},
|
||||||
|
"forceChannelCheck": {
|
||||||
|
"message": "Force Channel Check Before Skipping"
|
||||||
|
},
|
||||||
|
"whatForceChannelCheck": {
|
||||||
|
"message": "By default, it will skip segments right away before it even knows what the channel is. By default, some segments at the start of the video might be skipped on whitelisted channels. Enabling this option will prevent this but making all skipping have a slight delay as getting the channelID can take some time. This delay might be unnoticeable if you have fast internet."
|
||||||
|
},
|
||||||
|
"forceChannelCheckPopup": {
|
||||||
|
"message": "Consider Enabling \"Force Channel Check Before Skipping\""
|
||||||
|
},
|
||||||
|
"downvoteDescription": {
|
||||||
|
"message": "Incorrect/Wrong Timing"
|
||||||
|
},
|
||||||
|
"incorrectCategory": {
|
||||||
|
"message": "Change Category"
|
||||||
|
},
|
||||||
|
"nonMusicCategoryOnMusic": {
|
||||||
|
"message": "This video is categorized as music. Are you sure this has a sponsor? If this is actually a \"Non-Music segment\", open up the extension options and enable this category. Then, you can submit this segment as \"Non-Music\" instead of sponsor. Please read the guidelines if you are confused."
|
||||||
|
},
|
||||||
|
"multipleSegments": {
|
||||||
|
"message": "Multiple Segments"
|
||||||
|
},
|
||||||
|
"guidelines": {
|
||||||
|
"message": "Guidelines"
|
||||||
|
},
|
||||||
|
"readTheGuidelines": {
|
||||||
|
"message": "Read The Guidelines!!",
|
||||||
|
"description": "Show the first time they submit or if they are \"high risk\""
|
||||||
|
},
|
||||||
|
"categoryUpdate1": {
|
||||||
|
"message": "Categories are here!"
|
||||||
|
},
|
||||||
|
"categoryUpdate2": {
|
||||||
|
"message": "Open the options to skip intros, outros, merch, etc."
|
||||||
|
},
|
||||||
|
"help": {
|
||||||
|
"message": "Help"
|
||||||
|
},
|
||||||
|
"GotIt": {
|
||||||
|
"message": "Got it",
|
||||||
|
"description": "Used as the button to dismiss a tooltip"
|
||||||
|
},
|
||||||
|
"fullVideoTooltipWarning": {
|
||||||
|
"message": "This segment is large. If the whole video is about one topic, then change from \"Skip\" to \"Full Video\". See the guidelines for more information."
|
||||||
|
},
|
||||||
|
"categoryPillTitleText": {
|
||||||
|
"message": "This entire video is labeled as this category and is too tightly integrated to be able to separate"
|
||||||
|
},
|
||||||
|
"experiementOptOut": {
|
||||||
|
"message": "Opt-out of all future experiments",
|
||||||
|
"description": "This is used in a popup about a new experiment to get a list of unlisted videos to back up since all unlisted videos uploaded before 2017 will be set to private."
|
||||||
|
},
|
||||||
|
"hideForever": {
|
||||||
|
"message": "Hide forever"
|
||||||
|
},
|
||||||
|
"warningChatInfo": {
|
||||||
|
"message": "You got a warning and cannot submit segments temporarily. This means that we noticed you were making some common mistakes that are not malicious, please just confirm that you understand the rules and we will remove the warning. You can also join this chat using discord.gg/SponsorBlock or matrix.to/#/#sponsor:ajay.app"
|
||||||
|
},
|
||||||
|
"voteRejectedWarning": {
|
||||||
|
"message": "Vote rejected due to a warning. Click to open a chat to resolve it, or come back later when you have time.",
|
||||||
|
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
|
||||||
|
},
|
||||||
|
"Donate": {
|
||||||
|
"message": "Donate"
|
||||||
|
},
|
||||||
|
"considerDonating": {
|
||||||
|
"message": "Help fund development"
|
||||||
|
},
|
||||||
|
"hideDonationLink": {
|
||||||
|
"message": "Hide Donation Link"
|
||||||
|
},
|
||||||
|
"darkModeOptionsPage": {
|
||||||
|
"message": "Dark Mode On Options Page"
|
||||||
|
},
|
||||||
|
"helpPageThanksForInstalling": {
|
||||||
|
"message": "Thanks for installing SponsorBlock."
|
||||||
|
},
|
||||||
|
"helpPageReviewOptions": {
|
||||||
|
"message": "Please review the options below"
|
||||||
|
},
|
||||||
|
"helpPageFeatureDisclaimer": {
|
||||||
|
"message": "Many features are disabled by default. If you want to skip intros, outros, use Invidious, etc., enable them below. You can also hide/show UI elements."
|
||||||
|
},
|
||||||
|
"helpPageHowSkippingWorks": {
|
||||||
|
"message": "How skipping works"
|
||||||
|
},
|
||||||
|
"helpPageHowSkippingWorks1": {
|
||||||
|
"message": "Video segments will automatically be skipped if they are found in the database. You can open the popup by clicking the extension icon to get a preview of what they are."
|
||||||
|
},
|
||||||
|
"helpPageHowSkippingWorks2": {
|
||||||
|
"message": "Whenever you skip a segment, you will get notice. If the timing seems wrong vote down by clicking downvote! You can also vote in the popup."
|
||||||
|
},
|
||||||
|
"Submitting": {
|
||||||
|
"message": "Submitting"
|
||||||
|
},
|
||||||
|
"helpPageSubmitting1": {
|
||||||
|
"message": "Submitting can either be done in the popup by hitting the \"Segment Starts Now\" button or in the video player with the buttons on the player."
|
||||||
|
},
|
||||||
|
"helpPageSubmitting2": {
|
||||||
|
"message": "Clicking the play button indicated the start of a segment and clicking the stop icon indicates the end. You can prepare multiple sponsors before hitting submit. Clicking the upload button will submit. Clicking the garbage can will delete."
|
||||||
|
},
|
||||||
|
"Editing": {
|
||||||
|
"message": "Editing"
|
||||||
|
},
|
||||||
|
"helpPageEditing1": {
|
||||||
|
"message": "If you messed up, you can edit or delete your segments after clicking the up arrow button."
|
||||||
|
},
|
||||||
|
"helpPageTooSlow": {
|
||||||
|
"message": "This is too slow"
|
||||||
|
},
|
||||||
|
"helpPageTooSlow1": {
|
||||||
|
"message": "There are hotkeys if you want to use them. Press the semicolon key to indicate the start/end of a sponsor segment and click the apostrophe to submit. These can be changed in the options. If you don't use QWERTY, you should probably change the keybinding."
|
||||||
|
},
|
||||||
|
"helpPageCopyOfDatabase": {
|
||||||
|
"message": "Can I get a copy of the Database? What happens if you disappear?"
|
||||||
|
},
|
||||||
|
"helpPageCopyOfDatabase1": {
|
||||||
|
"message": "The database is public and available at"
|
||||||
|
},
|
||||||
|
"helpPageCopyOfDatabase2": {
|
||||||
|
"message": "The source code is freely available. So, even if something happens to me, your submissions are not lost."
|
||||||
|
},
|
||||||
|
"helpPageNews": {
|
||||||
|
"message": "News and how it is made"
|
||||||
|
},
|
||||||
|
"helpPageSourceCode": {
|
||||||
|
"message": "Where can I get the source code?"
|
||||||
|
},
|
||||||
|
"Credits": {
|
||||||
|
"message": "Credits"
|
||||||
|
},
|
||||||
|
"LearnMore": {
|
||||||
|
"message": "Learn More"
|
||||||
|
},
|
||||||
|
"CopyDownvoteButtonInfo": {
|
||||||
|
"message": "Downvotes and creates a local copy for you to resubmit"
|
||||||
|
},
|
||||||
|
"OpenCategoryWikiPage": {
|
||||||
|
"message": "Open this category's wiki page."
|
||||||
|
},
|
||||||
|
"CopyAndDownvote": {
|
||||||
|
"message": "Copy and downvote"
|
||||||
|
},
|
||||||
|
"ContinueVoting": {
|
||||||
|
"message": "Continue Voting"
|
||||||
|
},
|
||||||
|
"ChangeCategoryTooltip": {
|
||||||
|
"message": "This will instantly apply to your segments"
|
||||||
|
},
|
||||||
|
"SponsorTimeEditScrollNewFeature": {
|
||||||
|
"message": "Use your mousewheel while hovering over the edit box to quickly adjust the time. Combinations of the ctrl or shift key can be used to fine tune the changes."
|
||||||
|
},
|
||||||
|
"categoryPillNewFeature": {
|
||||||
|
"message": "New! See when a video is entirely sponsored or self-promotion"
|
||||||
|
},
|
||||||
|
"dayAbbreviation": {
|
||||||
|
"message": "d",
|
||||||
|
"description": "100d"
|
||||||
|
},
|
||||||
|
"hourAbbreviation": {
|
||||||
|
"message": "h",
|
||||||
|
"description": "100h"
|
||||||
|
},
|
||||||
|
"optionsTabBehavior": {
|
||||||
|
"message": "Behavior",
|
||||||
|
"description": "Appears in Options as a tab header for options related to categories and skipping behavior. To fit inside the button, it should not be longer than ~20-25 characters (depending on their width)."
|
||||||
|
},
|
||||||
|
"optionsTabInterface": {
|
||||||
|
"message": "Interface",
|
||||||
|
"description": "Appears in Options as a tab header for options related to GUI and sounds. To fit inside the button, it should not be longer than ~20-25 characters (depending on their width)."
|
||||||
|
},
|
||||||
|
"optionsTabKeyBinds": {
|
||||||
|
"message": "Keyboard shortcuts",
|
||||||
|
"description": "Appears in Options as a tab header for keybinds. To fit inside the button, it should not be longer than ~20-25 characters (depending on their width)."
|
||||||
|
},
|
||||||
|
"optionsTabBackup": {
|
||||||
|
"message": "Backup/Restore",
|
||||||
|
"description": "Appears in Options as a tab header for options related to saving/restoring your settings. To fit inside the button, it should not be longer than ~20-25 characters (depending on their width)."
|
||||||
|
},
|
||||||
|
"optionsTabAdvanced": {
|
||||||
|
"message": "Miscellaneous",
|
||||||
|
"description": "Appears in Options as a tab header for advanced/niche options. To fit inside the button, it should not be longer than ~20-25 characters (depending on their width)."
|
||||||
|
},
|
||||||
|
"noticeVisibilityLabel": {
|
||||||
|
"message": "Skip notice appearance",
|
||||||
|
"description": "Option label"
|
||||||
|
},
|
||||||
|
"unbind": {
|
||||||
|
"message": "Unbind",
|
||||||
|
"description": "Unbind keyboard shortcut"
|
||||||
|
},
|
||||||
|
"notSet": {
|
||||||
|
"message": "Not set"
|
||||||
|
},
|
||||||
|
"change": {
|
||||||
|
"message": "Change"
|
||||||
|
},
|
||||||
|
"youtubeKeybindWarning": {
|
||||||
|
"message": "This is a built-in YouTube shortcut. Are you sure you want to use it?"
|
||||||
|
}
|
||||||
|
}
|
||||||
655
public/content.css
Normal file
@@ -0,0 +1,655 @@
|
|||||||
|
.hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#previewbar {
|
||||||
|
overflow: visible;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
|
height: 100%;
|
||||||
|
transform: scaleY(0.6) translateY(-30%) translateY(1.5px);
|
||||||
|
z-index: 40;
|
||||||
|
|
||||||
|
transition: transform .1s cubic-bezier(0,0,0.2,1);
|
||||||
|
}
|
||||||
|
|
||||||
|
#previewbar.hovered {
|
||||||
|
transform: scaleY(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
.previewbar {
|
||||||
|
display: inline-block;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Make sure settings are upfront */
|
||||||
|
.ytp-settings-menu {
|
||||||
|
z-index: 6000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Preview Bar page hacks */
|
||||||
|
|
||||||
|
.ytp-tooltip:not(.sponsorCategoryTooltipVisible) .sponsorCategoryTooltip {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ytp-tooltip.sponsorCategoryTooltipVisible {
|
||||||
|
transform: translateY(-1em) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible {
|
||||||
|
transform: translateY(-2em) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#movie_player:not(.ytp-big-mode) .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper {
|
||||||
|
transform: translateY(1em) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper {
|
||||||
|
transform: translateY(0.5em) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper > .ytp-tooltip-text {
|
||||||
|
display: block !important;
|
||||||
|
transform: translateY(1em) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* */
|
||||||
|
|
||||||
|
.popup {
|
||||||
|
z-index: 10;
|
||||||
|
width: 100%;
|
||||||
|
height: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.smallLink {
|
||||||
|
font-size: 10px;
|
||||||
|
text-decoration: underline;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.playerButtonImage {
|
||||||
|
height: 60%;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
display: block;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.playerButton {
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
.autoHiding {
|
||||||
|
overflow: visible !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.autoHiding:not(.hidden) {
|
||||||
|
transform: translateX(0%) scale(1);
|
||||||
|
/* opacity is from YouTube page */
|
||||||
|
transition: transform 0.2s, width 0.2s, opacity .1s cubic-bezier(0.4,0.0,1,1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.autoHiding.hidden {
|
||||||
|
transform: translateX(100%) scale(0);
|
||||||
|
/* opacity is from YouTube page */
|
||||||
|
transition: transform 0.2s, width 0.2s, opacity .1s cubic-bezier(0.4,0.0,1,1) !important;
|
||||||
|
|
||||||
|
width: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.autoHiding.hidden.autoHideLeft {
|
||||||
|
transform: translateX(-100%) scale(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipObject {
|
||||||
|
font-family: Roboto, Arial, Helvetica, sans-serif;
|
||||||
|
|
||||||
|
margin-left: 2px;
|
||||||
|
margin-right: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipLogo {
|
||||||
|
height: 18px;
|
||||||
|
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fadeIn {
|
||||||
|
from { opacity: 0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fadeOut {
|
||||||
|
to { opacity: 0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorBlockSpacer {
|
||||||
|
background-color: rgb(100, 100, 100);
|
||||||
|
border-color: rgb(100, 100, 100);
|
||||||
|
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sbChatNotice {
|
||||||
|
min-width: 350px;
|
||||||
|
height: 70%;
|
||||||
|
|
||||||
|
position: absolute;
|
||||||
|
right: 5px;
|
||||||
|
bottom: 100px;
|
||||||
|
right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeParent {
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
bottom: 100px;
|
||||||
|
right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeParent, .sponsorSkipNotice {
|
||||||
|
min-width: 350px;
|
||||||
|
max-width: 50%;
|
||||||
|
|
||||||
|
border-spacing: 5px 10px;
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
|
||||||
|
border-collapse: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeTableContainer {
|
||||||
|
background-color: rgba(28, 28, 28, 0.9);
|
||||||
|
border-radius: 5px;
|
||||||
|
min-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNotice {
|
||||||
|
transition: all 0.1s ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeLimitWidth {
|
||||||
|
min-width: calc(100% - 50px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNotice .hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* For Cloudtube */
|
||||||
|
.sponsorSkipNotice td, .sponsorSkipNotice table, .sponsorSkipNotice th {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeFadeIn {
|
||||||
|
animation: fadeIn 0.5s ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeFaded {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeFadeOut {
|
||||||
|
transition: opacity 3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
||||||
|
opacity: 0 !important;
|
||||||
|
animation: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNotice .sponsorSkipNoticeTimeLeft {
|
||||||
|
color: #eeeeee;
|
||||||
|
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 2px 5px;
|
||||||
|
font-size: 12px;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
border: 1px solid #eeeeee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeTimeLeft img {
|
||||||
|
vertical-align: middle;
|
||||||
|
height: 13px;
|
||||||
|
|
||||||
|
padding-top: 7.8%;
|
||||||
|
padding-bottom: 7.8%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* if two are very close to eachother */
|
||||||
|
.secondSkipNotice {
|
||||||
|
bottom: 290px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.noticeLeftIcon {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNotice .sponsorSkipNoticeUnskipSection {
|
||||||
|
float: left;
|
||||||
|
|
||||||
|
border-left: 1px solid rgb(150, 150, 150);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeButton {
|
||||||
|
background: none;
|
||||||
|
color: rgb(235, 235, 235);
|
||||||
|
border: none;
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 13.3333px !important;
|
||||||
|
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
margin-right: 10px;
|
||||||
|
|
||||||
|
padding: 2px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeButton:hover {
|
||||||
|
background-color: rgba(235, 235, 235,0.2);
|
||||||
|
border-radius: 4px;
|
||||||
|
|
||||||
|
transition: background-color 0.4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorTimesVoteButtonsContainer {
|
||||||
|
float: left;
|
||||||
|
vertical-align:middle;
|
||||||
|
padding: 2px 5px;
|
||||||
|
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorTimesVoteButtonsContainer div{
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeRightSection {
|
||||||
|
right: 0;
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
float: right;
|
||||||
|
|
||||||
|
margin-right: 10px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeRightButton {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeCloseButton {
|
||||||
|
height: 10px;
|
||||||
|
width: 10px;
|
||||||
|
box-sizing: unset;
|
||||||
|
|
||||||
|
padding: 2px 5px;
|
||||||
|
|
||||||
|
margin-left: 2px;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipNoticeCloseButton.biggerCloseButton {
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipMessage {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: rgb(235, 235, 235);
|
||||||
|
|
||||||
|
margin-top: auto;
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 10px;
|
||||||
|
margin-bottom: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipInfo {
|
||||||
|
font-size: 10px;
|
||||||
|
color: #000000;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sponsorTimesThanksForVotingText {
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #000000;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 0px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sponsorTimesThanksForVotingInfoText {
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #000000;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorTimesVoteButtonMessage {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorTimesInfoMessage {
|
||||||
|
font-size: 13.3333px;
|
||||||
|
color: rgb(235, 235, 235);
|
||||||
|
}
|
||||||
|
|
||||||
|
.voteButton {
|
||||||
|
height: 24px;
|
||||||
|
width: 24px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.voteButton:hover {
|
||||||
|
filter: brightness(80%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.segmentSummary {
|
||||||
|
outline: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.submitButton {
|
||||||
|
background-color:#ec1c1c;
|
||||||
|
-moz-border-radius:28px;
|
||||||
|
-webkit-border-radius:28px;
|
||||||
|
border-radius:28px;
|
||||||
|
border:1px solid #d31919;
|
||||||
|
display:inline-block;
|
||||||
|
cursor:pointer;
|
||||||
|
color:#ffffff;
|
||||||
|
font-size:14px;
|
||||||
|
padding:4px 15px;
|
||||||
|
text-decoration:none;
|
||||||
|
text-shadow:0px 0px 0px #662727;
|
||||||
|
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
.submitButton:hover {
|
||||||
|
background-color:#bf2a2a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.submitButton:focus {
|
||||||
|
outline: none;
|
||||||
|
background-color:#bf2a2a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.submitButton:active {
|
||||||
|
position:relative;
|
||||||
|
top:1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes rotate {
|
||||||
|
from { transform: rotate(0deg); }
|
||||||
|
to { transform: rotate(360deg); }
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipButton {
|
||||||
|
background-color:#ec1c1c;
|
||||||
|
-moz-border-radius:28px;
|
||||||
|
-webkit-border-radius:28px;
|
||||||
|
border-radius:28px;
|
||||||
|
border:1px solid #d31919;
|
||||||
|
display:inline-block;
|
||||||
|
cursor:pointer;
|
||||||
|
color:#ffffff;
|
||||||
|
font-size:14px;
|
||||||
|
padding:4px 15px;
|
||||||
|
text-decoration:none;
|
||||||
|
text-shadow:0px 0px 0px #662727;
|
||||||
|
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
.sponsorSkipButton:hover {
|
||||||
|
background-color:#bf2a2a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipButton:focus {
|
||||||
|
outline: none;
|
||||||
|
background-color:#bf2a2a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipButton:active {
|
||||||
|
position:relative;
|
||||||
|
top:1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipDontShowButton {
|
||||||
|
-moz-box-shadow:inset 0px 1px 0px 0px #cf866c;
|
||||||
|
-webkit-box-shadow:inset 0px 1px 0px 0px #cf866c;
|
||||||
|
box-shadow:inset 0px 1px 0px 0px #cf866c;
|
||||||
|
background-color:#d0451b;
|
||||||
|
-moz-border-radius:3px;
|
||||||
|
-webkit-border-radius:3px;
|
||||||
|
border-radius:3px;
|
||||||
|
border:1px solid #942911;
|
||||||
|
display:inline-block;
|
||||||
|
cursor:pointer;
|
||||||
|
color:#ffffff;
|
||||||
|
font-size:13px;
|
||||||
|
padding:6px 24px;
|
||||||
|
text-decoration:none;
|
||||||
|
text-shadow:0px 1px 0px #854629;
|
||||||
|
}
|
||||||
|
.sponsorSkipDontShowButton:hover {
|
||||||
|
background-color:#bc3315;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipDontShowButton:focus {
|
||||||
|
outline: none;
|
||||||
|
background-color:#bc3315;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorSkipDontShowButton:active {
|
||||||
|
position:relative;
|
||||||
|
top:1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Submission Notice */
|
||||||
|
|
||||||
|
.sponsorTimeDisplay {
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorTimeEditButton {
|
||||||
|
text-decoration: underline;
|
||||||
|
|
||||||
|
margin-left: 20px;
|
||||||
|
margin-right: 20px;
|
||||||
|
|
||||||
|
font-size: 13px;
|
||||||
|
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorTimeEdit > input::-webkit-outer-spin-button,
|
||||||
|
input::-webkit-inner-spin-button {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorTimeMessagesRow {
|
||||||
|
max-height: 300px;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorTimeEdit {
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
|
-moz-appearance: textfield;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorTimeEditInput {
|
||||||
|
width: 90px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorNowButton {
|
||||||
|
font-size: 11px;
|
||||||
|
|
||||||
|
cursor: pointer;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorTimeEditSelector {
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
|
||||||
|
background-color: rgba(28, 28, 28, 0.9);
|
||||||
|
border-color: rgb(130,0,0,0.9);
|
||||||
|
color: white;
|
||||||
|
border-width: 3px;
|
||||||
|
padding: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.helpButton {
|
||||||
|
height: 25px;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 5px;
|
||||||
|
|
||||||
|
margin: auto;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.helpButton:hover {
|
||||||
|
filter: brightness(80%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sbChatNotice iframe {
|
||||||
|
height: 32px;
|
||||||
|
cursor: pointer;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sbChatClose {
|
||||||
|
height: 14px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skipButtonControlBarContainer {
|
||||||
|
cursor: pointer;
|
||||||
|
display: flex;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skipButtonControlBarContainer.hidden {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skipButtonControlBarContainer.mobile {
|
||||||
|
bottom: 30%;
|
||||||
|
margin-left: 5px;
|
||||||
|
position: absolute;
|
||||||
|
height: 20px;
|
||||||
|
|
||||||
|
background-color: #00000030;
|
||||||
|
opacity: 0.5;
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skipButtonControlBarContainer.mobile.textDisabled {
|
||||||
|
padding: 0;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skipButtonControlBarContainer.mobile > div {
|
||||||
|
margin: auto;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sbSkipIconControlBarImage {
|
||||||
|
height: 60%;
|
||||||
|
top: 0px;
|
||||||
|
bottom: 0px;
|
||||||
|
display: block;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile #sbSkipIconControlBarImage {
|
||||||
|
height: 100%;
|
||||||
|
width: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorBlockTooltip {
|
||||||
|
position: absolute;
|
||||||
|
background-color: rgba(28, 28, 28, 0.7);
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 10px;
|
||||||
|
max-width: 300px;
|
||||||
|
white-space: normal;
|
||||||
|
line-height: 1.5em;
|
||||||
|
color: white;
|
||||||
|
font-size: 12px;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorBlockTooltip a {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorBlockTooltip.sbTriangle::after {
|
||||||
|
content: " ";
|
||||||
|
position: absolute;
|
||||||
|
top: 100%;
|
||||||
|
left: 15%;
|
||||||
|
margin-left: -15px;
|
||||||
|
border-width: 15px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: rgba(28, 28, 28, 0.7) transparent transparent transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorBlockLockedColor {
|
||||||
|
color: #ffc83d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorBlockRectangleTooltip {
|
||||||
|
position: absolute;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 10px;
|
||||||
|
min-width: 250px;
|
||||||
|
min-height: 75px;
|
||||||
|
white-space: normal;
|
||||||
|
line-height: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorBlockCategoryPill {
|
||||||
|
border-radius: 25px;
|
||||||
|
padding-left: 8px;
|
||||||
|
padding-right: 8px;
|
||||||
|
margin-right: 3px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 75%;
|
||||||
|
height: 100%;
|
||||||
|
align-items: center;
|
||||||
|
inline-size: max-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorBlockCategoryPillTitleSection {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.categoryPillClose {
|
||||||
|
display: none;
|
||||||
|
height: 10px;
|
||||||
|
width: 10px;
|
||||||
|
box-sizing: unset;
|
||||||
|
|
||||||
|
margin: 0px 0px 0px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsorBlockCategoryPill:hover .categoryPillClose {
|
||||||
|
display: inherit;
|
||||||
|
}
|
||||||
BIN
public/help/images/popup.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
public/help/images/voting on notice.gif
Normal file
|
After Width: | Height: | Size: 95 KiB |
55
public/help/index.html
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title> SponsorBlock </title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<link rel="icon" href="../icons/LogoSponsorBlocker64px.png" type="image/png">
|
||||||
|
|
||||||
|
<link href="styles.css" rel="stylesheet"/>
|
||||||
|
|
||||||
|
<script src="../js/help.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div id="title">
|
||||||
|
<img src="../icons/LogoSponsorBlocker256px.png" height="80" class="profilepic"/>
|
||||||
|
SponsorLock
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="container sponsorBlockPageBody">
|
||||||
|
|
||||||
|
<p>
|
||||||
|
By using this extension, you agree to the <a href="https://gist.github.com/ajayyy/aa9f8ded2b573d4f73a3ffa0ef74f796">Privacy Policy</a> and <a href="https://gist.github.com/ajayyy/9e8100f069348e0bc062641f34d6af12">Terms of Use</a>.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<b>Please uninstall regular SponsorBlock before trying this out.</b> Good luck! This extension was created for April 1st 2022.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p style="margin-bottom: 0; margin-top: 0" class="bigText center">__MSG_helpPageReviewOptions__</p>
|
||||||
|
|
||||||
|
<iframe class="optionsFrame" src="../options/lock-options.html#embed" style="border: none"></iframe>
|
||||||
|
|
||||||
|
<h1>__MSG_helpPageSourceCode__</h1>
|
||||||
|
|
||||||
|
<h4 style="display: inline">Client:</h4>
|
||||||
|
<!-- Github logo -->
|
||||||
|
<a href="https://github.com/ajayyy/SponsorBlock/tree/april-fools-2022"><svg aria-hidden="true" version="1.1" viewBox="0 0 16 16" height="58px" style="padding-left: 15px"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg></a>
|
||||||
|
|
||||||
|
<h4 style="display: inline; padding-left: 20px">Server:</h4>
|
||||||
|
<!-- Github logo -->
|
||||||
|
<a href="https://github.com/ajayyy/SponsorBlockServer"><svg aria-hidden="true" version="1.1" viewBox="0 0 16 16" height="58px" style="padding-left: 15px"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg></a>
|
||||||
|
|
||||||
|
<h1>__MSG_Credits__</h1>
|
||||||
|
|
||||||
|
<p>Some icons made by <a href="https://www.flaticon.com/authors/gregor-cresnar" title="Gregor Cresnar">Gregor Cresnar</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> and are licensed by <a href="https://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></p>
|
||||||
|
|
||||||
|
<p>Some icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> and are licensed by <a href="https://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></p>
|
||||||
|
|
||||||
|
<p style="text-align: center;"><a href="/oss-attribution/attribution.txt">Open Source Licenses</a></p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
325
public/help/styles.css
Normal file
@@ -0,0 +1,325 @@
|
|||||||
|
:root {
|
||||||
|
--color-scheme: dark;
|
||||||
|
--background: #333333;
|
||||||
|
--header-color: #212121;
|
||||||
|
--dialog-background: #181818;
|
||||||
|
--dialog-border: white;
|
||||||
|
--text: #c4c4c4;
|
||||||
|
--title: #dad8d8;
|
||||||
|
--disabled: #520000;
|
||||||
|
--black: black;
|
||||||
|
--white: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="light"] {
|
||||||
|
--color-scheme: light;
|
||||||
|
--background: #f9f9f9;
|
||||||
|
--header-color: white;
|
||||||
|
--dialog-background: #f9f9f9;
|
||||||
|
--dialog-border: #282828;
|
||||||
|
--text: #262626;
|
||||||
|
--title: #707070;
|
||||||
|
--disabled: #ffcaca;
|
||||||
|
--black: white;
|
||||||
|
--white: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
color-scheme: var(--color-scheme);
|
||||||
|
}
|
||||||
|
|
||||||
|
.bigText {
|
||||||
|
font-size: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: var(--background);
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inline {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
max-width: 60%;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.projectPreview {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.projectPreviewImage {
|
||||||
|
position: absolute;
|
||||||
|
left: -90px;
|
||||||
|
width: 80px;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.projectPreviewImageLarge {
|
||||||
|
position: absolute;
|
||||||
|
left: -210px;
|
||||||
|
width: 200px;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-20%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.createdBy {
|
||||||
|
font-size: 14px;
|
||||||
|
text-align: center;
|
||||||
|
padding-top: 0px;
|
||||||
|
padding-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#title {
|
||||||
|
background-color: #636363;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
|
||||||
|
font-size: 50px;
|
||||||
|
color: var(--header-color);
|
||||||
|
|
||||||
|
padding: 20px;
|
||||||
|
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
border-radius: 15px;
|
||||||
|
|
||||||
|
transition: font-size 1s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
font-size: 40px;
|
||||||
|
color: #dad8d8;
|
||||||
|
|
||||||
|
padding-top: 10px;
|
||||||
|
|
||||||
|
transition: font-size 0.4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle:hover {
|
||||||
|
font-size: 45px;
|
||||||
|
|
||||||
|
transition: font-size 0.4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profilepic {
|
||||||
|
background-color: #636363 !important;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profilepiccircle {
|
||||||
|
vertical-align: middle;
|
||||||
|
overflow: hidden;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link {
|
||||||
|
padding: 20px;
|
||||||
|
|
||||||
|
height: 80px;
|
||||||
|
|
||||||
|
transition: height 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link:hover {
|
||||||
|
height: 95px;
|
||||||
|
|
||||||
|
transition: height 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#contact,.smalllink {
|
||||||
|
font-size: 25px;
|
||||||
|
color: #e8e8e8;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#contact {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
p,li {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p,li,a,span,div {
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
p,li,code,a {
|
||||||
|
text-align: left;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
.optionsFrame {
|
||||||
|
width: 100%;
|
||||||
|
height: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.previewImage {
|
||||||
|
max-height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#recentPostTitle {
|
||||||
|
font-size: 30px;
|
||||||
|
color: #dad8d8;
|
||||||
|
}
|
||||||
|
|
||||||
|
#recentPostDate {
|
||||||
|
font-size: 15px;
|
||||||
|
color: #dad8d8;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,h2,h3,h4,h5,h6 {
|
||||||
|
color: var(--title);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
svg {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sbDonate {
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (orientation:portrait) {
|
||||||
|
.projectPreviewImage {
|
||||||
|
position: unset;
|
||||||
|
width: 50%;
|
||||||
|
display: block;
|
||||||
|
margin: auto;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.projectPreviewImageLarge {
|
||||||
|
position: unset;
|
||||||
|
left: 0;
|
||||||
|
width: 50%;
|
||||||
|
display: block;
|
||||||
|
margin: auto;
|
||||||
|
transform: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
max-width: 100%;
|
||||||
|
margin: 5px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
p,li,code,a {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* keybind dialog */
|
||||||
|
.key {
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: 5px;
|
||||||
|
display: inline-block;
|
||||||
|
min-width: 33px;
|
||||||
|
text-align: center;
|
||||||
|
font-weight: bold;
|
||||||
|
border-color: var(--white);
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.unbound, .key {
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#keybind-dialog .dialog {
|
||||||
|
position: fixed;
|
||||||
|
border-width: 3px;
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: 15px;
|
||||||
|
max-height: 100vh;
|
||||||
|
width: 400px;
|
||||||
|
overflow-x: auto;
|
||||||
|
z-index: 100;
|
||||||
|
padding: 15px;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
font-size: 14px;
|
||||||
|
background-color: var(--dialog-background);
|
||||||
|
border-color: var(--dialog-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
#change-keybind-buttons {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#change-keybind-buttons > .option-button {
|
||||||
|
margin: 0 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#change-keybind-settings {
|
||||||
|
margin: 15px 15px 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#change-keybind-settings .key {
|
||||||
|
vertical-align: top;
|
||||||
|
margin: 15px 0 0 40px;
|
||||||
|
height: 34px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#change-keybind-error {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
color: red;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blocker {
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 90;
|
||||||
|
background-color: #00000080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-button {
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
background-color: #c00000;
|
||||||
|
padding: 10px;
|
||||||
|
color: white;
|
||||||
|
border-radius: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
|
width: max-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-button:hover:not(.disabled) {
|
||||||
|
background-color: #fc0303;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-button.disabled {
|
||||||
|
cursor: default;
|
||||||
|
background-color: var(--disabled);
|
||||||
|
color: grey;
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 551 B After Width: | Height: | Size: 551 B |
BIN
public/icons/IconSponsorBlocker256px.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
public/icons/LogoSponsorBlocker1024px.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
public/icons/LogoSponsorBlocker128px.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
public/icons/LogoSponsorBlocker256px.png
Normal file
|
After Width: | Height: | Size: 9.0 KiB |
BIN
public/icons/LogoSponsorBlocker512px.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
public/icons/LogoSponsorBlocker64px.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
68
public/icons/PlayerCancelSegmentIconSponsorBlocker.svg
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
viewBox="0 0 565.15 568"
|
||||||
|
version="1.1"
|
||||||
|
id="svg16"
|
||||||
|
sodipodi:docname="PlayerCancelSegmentIconSponsorBlocker.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
|
||||||
|
inkscape:export-filename="D:\Dell Data\_Projects\_____SponsorSkip\ignored\svg\SponsorBlocker4.png"
|
||||||
|
inkscape:export-xdpi="43.436523"
|
||||||
|
inkscape:export-ydpi="43.436523">
|
||||||
|
<metadata
|
||||||
|
id="metadata20">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title>LogoSponsorBlocker2</dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1001"
|
||||||
|
id="namedview18"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="0.83098592"
|
||||||
|
inkscape:cx="220.07455"
|
||||||
|
inkscape:cy="308.76246"
|
||||||
|
inkscape:window-x="477"
|
||||||
|
inkscape:window-y="961"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg16"
|
||||||
|
inkscape:pagecheckerboard="true" />
|
||||||
|
<defs
|
||||||
|
id="defs4">
|
||||||
|
<style
|
||||||
|
id="style2">.cls-1{fill:red;}.cls-2{fill:#fff;}</style>
|
||||||
|
</defs>
|
||||||
|
<title
|
||||||
|
id="title6">LogoSponsorBlocker2</title>
|
||||||
|
<path
|
||||||
|
class="cls-1"
|
||||||
|
d="m 282.58,568 a 65,65 0 0 1 -34.14,-9.66 C 95.41,463.94 2.54,300.46 0,121 a 64.91,64.91 0 0 1 34,-58.09 522.56,522.56 0 0 1 497.16,0 64.91,64.91 0 0 1 34,58.12 c -2.53,179.43 -95.4,342.91 -248.42,437.3 A 65,65 0 0 1 282.58,568 Z m 0,-548.31 A 502.24,502.24 0 0 0 43.4,80.22 45.27,45.27 0 0 0 19.7,120.75 c 2.44,172.67 91.81,330 239.07,420.83 a 46.19,46.19 0 0 0 47.61,0 C 453.64,450.73 543,293.42 545.45,120.75 A 45.26,45.26 0 0 0 521.75,80.21 502.26,502.26 0 0 0 282.58,19.69 Z"
|
||||||
|
id="path8"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff"
|
||||||
|
d="M 284.70508 42.693359 A 479.9 479.9 0 0 0 54.369141 100.41992 A 22.53 22.53 0 0 0 42.669922 120.41992 C 45.069922 290.25992 135.67008 438.63977 270.83008 522.00977 A 22.48 22.48 0 0 0 294.32031 522.00977 C 429.48031 438.63977 520.08047 290.25992 522.48047 120.41992 A 22.53 22.53 0 0 0 510.7793 100.41992 A 479.9 479.9 0 0 0 284.70508 42.693359 z M 224.94922 162.35352 L 282.57422 219.98047 L 340.20117 162.35352 L 384.33984 206.49219 L 326.71484 264.11719 L 384.33984 321.74414 L 340.20117 365.88281 L 282.57422 308.25781 L 224.94922 365.88281 L 180.81055 321.74414 L 238.4375 264.11719 L 180.81055 206.49219 L 224.94922 162.35352 z "
|
||||||
|
id="path10" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.1 KiB |
88
public/icons/PlayerDeleteIconSponsorBlocker.svg
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
viewBox="0 0 565.15 568"
|
||||||
|
version="1.1"
|
||||||
|
id="svg16"
|
||||||
|
sodipodi:docname="PlayerDeleteIconSponsorBlocker.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
|
||||||
|
inkscape:export-filename="D:\Dell Data\_Projects\_____SponsorSkip\ignored\svg\SponsorBlocker4.png"
|
||||||
|
inkscape:export-xdpi="43.436523"
|
||||||
|
inkscape:export-ydpi="43.436523">
|
||||||
|
<metadata
|
||||||
|
id="metadata20">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title>LogoSponsorBlocker2</dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1001"
|
||||||
|
id="namedview18"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="0.83098592"
|
||||||
|
inkscape:cx="209.2657"
|
||||||
|
inkscape:cy="235.85704"
|
||||||
|
inkscape:window-x="477"
|
||||||
|
inkscape:window-y="961"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg16" />
|
||||||
|
<defs
|
||||||
|
id="defs4">
|
||||||
|
<style
|
||||||
|
id="style2">.cls-1{fill:red;}.cls-2{fill:#fff;}</style>
|
||||||
|
</defs>
|
||||||
|
<title
|
||||||
|
id="title6">LogoSponsorBlocker2</title>
|
||||||
|
<path
|
||||||
|
class="cls-1"
|
||||||
|
d="m 282.58,568 a 65,65 0 0 1 -34.14,-9.66 C 95.41,463.94 2.54,300.46 0,121 a 64.91,64.91 0 0 1 34,-58.09 522.56,522.56 0 0 1 497.16,0 64.91,64.91 0 0 1 34,58.12 c -2.53,179.43 -95.4,342.91 -248.42,437.3 A 65,65 0 0 1 282.58,568 Z m 0,-548.31 A 502.24,502.24 0 0 0 43.4,80.22 45.27,45.27 0 0 0 19.7,120.75 c 2.44,172.67 91.81,330 239.07,420.83 a 46.19,46.19 0 0 0 47.61,0 C 453.64,450.73 543,293.42 545.45,120.75 A 45.26,45.26 0 0 0 521.75,80.21 502.26,502.26 0 0 0 282.58,19.69 Z"
|
||||||
|
id="path8"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff"
|
||||||
|
d="M 284.70508 42.693359 A 479.9 479.9 0 0 0 54.369141 100.41992 A 22.53 22.53 0 0 0 42.669922 120.41992 C 45.069922 290.25992 135.67008 438.63977 270.83008 522.00977 A 22.48 22.48 0 0 0 294.32031 522.00977 C 429.48031 438.63977 520.08047 290.25992 522.48047 120.41992 A 22.53 22.53 0 0 0 510.7793 100.41992 A 479.9 479.9 0 0 0 284.70508 42.693359 z M 184.84375 113.77344 L 380.30664 113.77344 L 380.30664 161.31836 L 184.84375 161.31836 L 184.84375 113.77344 z M 184.84375 174.45703 L 380.30469 174.45703 L 380.30469 430.16992 L 184.84375 430.16992 L 184.84375 174.45703 z "
|
||||||
|
id="path10" />
|
||||||
|
<g
|
||||||
|
id="g849"
|
||||||
|
transform="matrix(1.1485222,0,0,1.1485222,-41.968703,-56.737897)"
|
||||||
|
style="fill:#ffffff">
|
||||||
|
<g
|
||||||
|
id="g869"
|
||||||
|
style="fill:#ffffff">
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.84762007;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 223.01024,230.22964 H 245.1343 V 395.01181 H 223.01024 Z"
|
||||||
|
id="rect857" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.84762007;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 271.51297,230.22964 h 22.12406 v 164.78217 h -22.12406 z"
|
||||||
|
id="rect859" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.84762007;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 317.46292,230.22964 h 22.12406 v 164.78217 h -22.12406 z"
|
||||||
|
id="rect861" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.9 KiB |
6
public/icons/PlayerInfoIconSponsorBlocker.svg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" id="svg16" version="1.1" viewBox="0 0 565.15 568">
|
||||||
|
<defs/>
|
||||||
|
<defs id="defs4"/>
|
||||||
|
<path id="path8" fill="#fff" d="M282.58 568a65 65 0 01-34.14-9.66C95.41 463.94 2.54 300.46 0 121a64.91 64.91 0 0134-58.09 522.56 522.56 0 01497.16 0 64.91 64.91 0 0134 58.12c-2.53 179.43-95.4 342.91-248.42 437.3a65 65 0 01-34.16 9.67zm0-548.31A502.24 502.24 0 0043.4 80.22a45.27 45.27 0 00-23.7 40.53c2.44 172.67 91.81 330 239.07 420.83a46.19 46.19 0 0047.61 0C453.64 450.73 543 293.42 545.45 120.75a45.26 45.26 0 00-23.7-40.54 502.26 502.26 0 00-239.17-60.52z"/>
|
||||||
|
<path id="path10" fill="#fff" d="M284.705 42.693A479.9 479.9 0 0054.37 100.42a22.53 22.53 0 00-11.7 20c2.4 169.84 93.001 318.22 228.161 401.59a22.48 22.48 0 0023.49 0c135.16-83.37 225.76-231.75 228.16-401.59a22.53 22.53 0 00-11.7-20 479.9 479.9 0 00-226.075-57.727zm-2.13 59.344c89.347 0 162.081 72.712 162.081 162.08 0 89.368-72.734 162.082-162.082 162.082-89.368 0-162.08-72.714-162.08-162.082s72.712-162.08 162.08-162.08zm0 30.389c-72.613 0-131.692 59.079-131.692 131.691 0 72.613 59.079 131.692 131.691 131.692 72.613 0 131.692-59.08 131.692-131.692 0-72.612-59.08-131.691-131.692-131.691zm-2.563 16.695c14.121 0 24.363 10.606 24.363 24.049 0 13.483-10.272 23.432-24.697 23.432-14.73 0-24.354-9.949-24.354-23.432 0-13.443 9.624-24.049 24.688-24.049zm-34.938 68.691h57.397l-.02 134.692 18.295.973v25.638h-76.32v-24.373l10.586-.953c5.754-.638 9.279-2.573 9.279-10.271v-89.155c0-7.08-1.905-9.32-8.014-9.32l-11.203-.629v-26.601z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.5 KiB |
76
public/icons/PlayerStartIconSponsorBlocker.svg
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
viewBox="0 0 565.15 568"
|
||||||
|
version="1.1"
|
||||||
|
id="svg16"
|
||||||
|
sodipodi:docname="PlayerStartIconSponsorBlocker.svg"
|
||||||
|
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
|
||||||
|
inkscape:export-filename="/home/ajay/projects/sb-extension/public/icons/LogoSponsorBlocker1024px.png"
|
||||||
|
inkscape:export-xdpi="173.9155"
|
||||||
|
inkscape:export-ydpi="173.9155"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||||
|
<metadata
|
||||||
|
id="metadata20">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="983"
|
||||||
|
id="namedview18"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="0.83098592"
|
||||||
|
inkscape:cx="444.69697"
|
||||||
|
inkscape:cy="271.26356"
|
||||||
|
inkscape:window-x="380"
|
||||||
|
inkscape:window-y="768"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="Layer_1-2"
|
||||||
|
inkscape:pagecheckerboard="0" />
|
||||||
|
<defs
|
||||||
|
id="defs4">
|
||||||
|
<style
|
||||||
|
id="style2">.cls-1{fill:red;}.cls-2{fill:#fff;}</style>
|
||||||
|
</defs>
|
||||||
|
<title
|
||||||
|
id="title6">LogoSponsorBlocker2</title>
|
||||||
|
<g
|
||||||
|
id="Layer_2"
|
||||||
|
data-name="Layer 2">
|
||||||
|
<g
|
||||||
|
id="Layer_1-2"
|
||||||
|
data-name="Layer 1"
|
||||||
|
style="fill:#ffffff">
|
||||||
|
<path
|
||||||
|
id="path953"
|
||||||
|
style="fill:none;stroke:#07a500;stroke-width:40"
|
||||||
|
d="M 279.39062,24.197266 C 179.21701,24.603169 98.318528,101.48391 98.605469,196.00391 c 0.159023,40.69515 15.666041,80.00792 43.744141,110.89843 V 147.87891 l 16.75935,97.00627 C 164.72335,211.06602 65.553309,180.55346 92.112522,170.56303 L 193.6089,410.46016 435.49163,328.41259 443.41016,147.87891 v 46.7539 l 18.32422,-0.0996 C 461.16135,100.01356 379.56507,23.790617 279.39062,24.197266 Z M 443.41016,195.51367 v 74.92188 c 12.04625,-23.34115 18.3128,-48.96032 18.32617,-74.92188 z"
|
||||||
|
sodipodi:nodetypes="cccccccccccccccc" />
|
||||||
|
<path
|
||||||
|
style="fill:#008000"
|
||||||
|
d="m 281.94584,119.65312 -239.275918,0.7668 c 0,0 -0.08983,-8.3148 0,0 2.4,169.84 93.000158,318.21985 228.160158,401.58985 7.20735,4.41633 16.28288,4.41633 23.49023,0 135.16,-83.37 225.76016,-231.74985 228.16016,-401.58985 v 0 z M 220.41016,145.74023 411.2793,255.93945 220.41016,366.14062 Z"
|
||||||
|
id="path10"
|
||||||
|
sodipodi:nodetypes="cccccccccccc" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.9 KiB |
67
public/icons/PlayerStopIconSponsorBlocker.svg
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
viewBox="0 0 565.15 568"
|
||||||
|
version="1.1"
|
||||||
|
id="svg16"
|
||||||
|
sodipodi:docname="PlayerStopIconSponsorBlocker.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
|
||||||
|
inkscape:export-filename="D:\Dell Data\_Projects\_____SponsorSkip\ignored\svg\SponsorBlocker4.png"
|
||||||
|
inkscape:export-xdpi="43.436523"
|
||||||
|
inkscape:export-ydpi="43.436523">
|
||||||
|
<metadata
|
||||||
|
id="metadata20">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title>LogoSponsorBlocker2</dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1001"
|
||||||
|
id="namedview18"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="0.83098595"
|
||||||
|
inkscape:cx="194.89884"
|
||||||
|
inkscape:cy="305.06785"
|
||||||
|
inkscape:window-x="477"
|
||||||
|
inkscape:window-y="961"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg16" />
|
||||||
|
<defs
|
||||||
|
id="defs4">
|
||||||
|
<style
|
||||||
|
id="style2">.cls-1{fill:red;}.cls-2{fill:#fff;}</style>
|
||||||
|
</defs>
|
||||||
|
<title
|
||||||
|
id="title6">LogoSponsorBlocker2</title>
|
||||||
|
<path
|
||||||
|
class="cls-1"
|
||||||
|
d="m 282.58,568 a 65,65 0 0 1 -34.14,-9.66 C 95.41,463.94 2.54,300.46 0,121 a 64.91,64.91 0 0 1 34,-58.09 522.56,522.56 0 0 1 497.16,0 64.91,64.91 0 0 1 34,58.12 c -2.53,179.43 -95.4,342.91 -248.42,437.3 A 65,65 0 0 1 282.58,568 Z m 0,-548.31 A 502.24,502.24 0 0 0 43.4,80.22 45.27,45.27 0 0 0 19.7,120.75 c 2.44,172.67 91.81,330 239.07,420.83 a 46.19,46.19 0 0 0 47.61,0 C 453.64,450.73 543,293.42 545.45,120.75 A 45.26,45.26 0 0 0 521.75,80.21 502.26,502.26 0 0 0 282.58,19.69 Z"
|
||||||
|
id="path8"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff"
|
||||||
|
d="M 284.70508 42.693359 A 479.9 479.9 0 0 0 54.369141 100.41992 A 22.53 22.53 0 0 0 42.669922 120.41992 C 45.069922 290.25992 135.67008 438.63977 270.83008 522.00977 A 22.48 22.48 0 0 0 294.32031 522.00977 C 429.48031 438.63977 520.08047 290.25992 522.48047 120.41992 A 22.53 22.53 0 0 0 510.7793 100.41992 A 479.9 479.9 0 0 0 284.70508 42.693359 z M 187.11914 147.00977 L 378.03125 147.00977 L 378.03125 351.04102 L 187.11914 351.04102 L 187.11914 147.00977 z "
|
||||||
|
id="path10" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.9 KiB |
71
public/icons/PlayerUploadFailedIconSponsorBlocker.svg
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
viewBox="0 0 565.15 568"
|
||||||
|
version="1.1"
|
||||||
|
id="svg16"
|
||||||
|
sodipodi:docname="PlayerUploadFailedIconSponsorBlocker.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
|
||||||
|
inkscape:export-filename="D:\Dell Data\_Projects\_____SponsorSkip\ignored\svg\SponsorBlocker4.png"
|
||||||
|
inkscape:export-xdpi="43.436523"
|
||||||
|
inkscape:export-ydpi="43.436523">
|
||||||
|
<metadata
|
||||||
|
id="metadata20">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title>LogoSponsorBlocker2</dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1001"
|
||||||
|
id="namedview18"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="0.83098592"
|
||||||
|
inkscape:cx="-277.20441"
|
||||||
|
inkscape:cy="286.71724"
|
||||||
|
inkscape:window-x="477"
|
||||||
|
inkscape:window-y="961"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg16" />
|
||||||
|
<defs
|
||||||
|
id="defs4">
|
||||||
|
<style
|
||||||
|
id="style2">.cls-1{fill:red;}.cls-2{fill:#fff;}</style>
|
||||||
|
</defs>
|
||||||
|
<title
|
||||||
|
id="title6">LogoSponsorBlocker2</title>
|
||||||
|
<path
|
||||||
|
class="cls-1"
|
||||||
|
d="m 282.58,568 a 65,65 0 0 1 -34.14,-9.66 C 95.41,463.94 2.54,300.46 0,121 a 64.91,64.91 0 0 1 34,-58.09 522.56,522.56 0 0 1 497.16,0 64.91,64.91 0 0 1 34,58.12 c -2.53,179.43 -95.4,342.91 -248.42,437.3 A 65,65 0 0 1 282.58,568 Z m 0,-548.31 A 502.24,502.24 0 0 0 43.4,80.22 45.27,45.27 0 0 0 19.7,120.75 c 2.44,172.67 91.81,330 239.07,420.83 a 46.19,46.19 0 0 0 47.61,0 C 453.64,450.73 543,293.42 545.45,120.75 A 45.26,45.26 0 0 0 521.75,80.21 502.26,502.26 0 0 0 282.58,19.69 Z"
|
||||||
|
id="path8"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff"
|
||||||
|
d="M 284.70508 42.693359 A 479.9 479.9 0 0 0 54.369141 100.41992 A 22.53 22.53 0 0 0 42.669922 120.41992 C 45.069922 290.25992 135.67008 438.63977 270.83008 522.00977 A 22.48 22.48 0 0 0 294.32031 522.00977 C 429.48031 438.63977 520.08047 290.25992 522.48047 120.41992 A 22.53 22.53 0 0 0 510.7793 100.41992 A 479.9 479.9 0 0 0 284.70508 42.693359 z M 282.57422 123.27344 C 302.2486 123.27344 318.08789 139.67142 318.08789 160.03906 L 318.08789 310.16211 C 318.08789 330.52975 302.2486 346.92773 282.57422 346.92773 C 262.89984 346.92773 247.0625 330.52975 247.0625 310.16211 L 247.0625 160.03906 C 247.0625 139.67142 262.89984 123.27344 282.57422 123.27344 z M 282.57422 373.71094 C 302.2487 373.71094 318.08789 389.55014 318.08789 409.22461 C 318.08789 428.89909 302.2487 444.73633 282.57422 444.73633 C 262.89975 444.73633 247.06055 428.89909 247.06055 409.22461 C 247.06055 389.55014 262.89975 373.71094 282.57422 373.71094 z "
|
||||||
|
id="path10" />
|
||||||
|
<g
|
||||||
|
id="g821"
|
||||||
|
transform="translate(0,32.491428)"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.4 KiB |
67
public/icons/PlayerUploadIconSponsorBlocker.svg
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
viewBox="0 0 565.15 568"
|
||||||
|
version="1.1"
|
||||||
|
id="svg16"
|
||||||
|
sodipodi:docname="PlayerUploadIconSponsorBlocker.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
|
||||||
|
inkscape:export-filename="D:\Dell Data\_Projects\_____SponsorSkip\ignored\svg\SponsorBlocker4.png"
|
||||||
|
inkscape:export-xdpi="43.436523"
|
||||||
|
inkscape:export-ydpi="43.436523">
|
||||||
|
<metadata
|
||||||
|
id="metadata20">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title>LogoSponsorBlocker2</dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1001"
|
||||||
|
id="namedview18"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="0.83098595"
|
||||||
|
inkscape:cx="-374.9496"
|
||||||
|
inkscape:cy="291.99093"
|
||||||
|
inkscape:window-x="477"
|
||||||
|
inkscape:window-y="961"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg16" />
|
||||||
|
<defs
|
||||||
|
id="defs4">
|
||||||
|
<style
|
||||||
|
id="style2">.cls-1{fill:red;}.cls-2{fill:#fff;}</style>
|
||||||
|
</defs>
|
||||||
|
<title
|
||||||
|
id="title6">LogoSponsorBlocker2</title>
|
||||||
|
<path
|
||||||
|
class="cls-1"
|
||||||
|
d="m 282.58,568 a 65,65 0 0 1 -34.14,-9.66 C 95.41,463.94 2.54,300.46 0,121 a 64.91,64.91 0 0 1 34,-58.09 522.56,522.56 0 0 1 497.16,0 64.91,64.91 0 0 1 34,58.12 c -2.53,179.43 -95.4,342.91 -248.42,437.3 A 65,65 0 0 1 282.58,568 Z m 0,-548.31 A 502.24,502.24 0 0 0 43.4,80.22 45.27,45.27 0 0 0 19.7,120.75 c 2.44,172.67 91.81,330 239.07,420.83 a 46.19,46.19 0 0 0 47.61,0 C 453.64,450.73 543,293.42 545.45,120.75 A 45.26,45.26 0 0 0 521.75,80.21 502.26,502.26 0 0 0 282.58,19.69 Z"
|
||||||
|
id="path8"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff"
|
||||||
|
d="M 284.70508 42.693359 A 479.9 479.9 0 0 0 54.369141 100.41992 A 22.53 22.53 0 0 0 42.669922 120.41992 C 45.069922 290.25992 135.67008 438.63977 270.83008 522.00977 A 22.48 22.48 0 0 0 294.32031 522.00977 C 429.48031 438.63977 520.08047 290.25992 522.48047 120.41992 A 22.53 22.53 0 0 0 510.7793 100.41992 A 479.9 479.9 0 0 0 284.70508 42.693359 z M 282.57422 112.11133 L 282.87109 112.11133 L 423.75977 365.75391 L 330.30273 365.75391 L 330.30273 409.21094 L 234.84766 409.21094 L 234.84766 365.75391 L 141.39062 365.75391 L 282.57422 112.11133 z "
|
||||||
|
id="path10" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.0 KiB |
BIN
public/icons/beep.ogg
Normal file
1
public/icons/check.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="#fff" d="M20.3 2L9 13.6l-5.3-5L0 12.3 9 21 24 5.7z"/></svg>
|
||||||
|
After Width: | Height: | Size: 134 B |
1
public/icons/clipboard.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" width="18px" height="18px"><path d="M0 0h24v24H0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4l6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z"/></svg>
|
||||||
|
After Width: | Height: | Size: 291 B |
BIN
public/icons/close.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
43
public/icons/heart.svg
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
height="24px"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
width="24px"
|
||||||
|
fill="#000000"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
sodipodi:docname="heart.svg"
|
||||||
|
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20, custom)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<defs
|
||||||
|
id="defs10" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview8"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="32.916667"
|
||||||
|
inkscape:cx="11.98481"
|
||||||
|
inkscape:cy="12.01519"
|
||||||
|
inkscape:window-width="1366"
|
||||||
|
inkscape:window-height="731"
|
||||||
|
inkscape:window-x="1366"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg6" />
|
||||||
|
<path
|
||||||
|
d="M0 0h24v24H0V0z"
|
||||||
|
fill="none"
|
||||||
|
id="path2" />
|
||||||
|
<path
|
||||||
|
d="M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"
|
||||||
|
id="path4"
|
||||||
|
style="fill:#800000" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.5 KiB |
58
public/icons/help.svg
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
height="24"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
width="24"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
sodipodi:docname="help.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||||
|
<metadata
|
||||||
|
id="metadata12">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs10" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="730"
|
||||||
|
inkscape:window-height="480"
|
||||||
|
id="namedview8"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="9.8333333"
|
||||||
|
inkscape:cx="12"
|
||||||
|
inkscape:cy="12"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="0"
|
||||||
|
inkscape:current-layer="svg6" />
|
||||||
|
<path
|
||||||
|
d="M0 0h24v24H0z"
|
||||||
|
fill="none"
|
||||||
|
id="path2" />
|
||||||
|
<path
|
||||||
|
d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"
|
||||||
|
id="path4"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.8 KiB |
BIN
public/icons/newprofilepic.jpg
Normal file
|
After Width: | Height: | Size: 83 KiB |
39
public/icons/not_visible.svg
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
height="24px"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
width="24px"
|
||||||
|
fill="#000000"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
sodipodi:docname="not_visible.svg"
|
||||||
|
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20, custom)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<defs
|
||||||
|
id="defs10" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview8"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="16.458334"
|
||||||
|
inkscape:cx="3.8582278"
|
||||||
|
inkscape:cy="9.1443037"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="983"
|
||||||
|
inkscape:window-x="426"
|
||||||
|
inkscape:window-y="768"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg6" />
|
||||||
|
<path
|
||||||
|
d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"
|
||||||
|
id="path4"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.6 KiB |
59
public/icons/pause.svg
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
height="24px"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
width="24px"
|
||||||
|
fill="#000000"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
sodipodi:docname="pause.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||||
|
<metadata
|
||||||
|
id="metadata12">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs10" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="730"
|
||||||
|
inkscape:window-height="480"
|
||||||
|
id="namedview8"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="9.8333333"
|
||||||
|
inkscape:cx="12"
|
||||||
|
inkscape:cy="12"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="0"
|
||||||
|
inkscape:current-layer="svg6" />
|
||||||
|
<path
|
||||||
|
d="M0 0h24v24H0z"
|
||||||
|
fill="none"
|
||||||
|
id="path2" />
|
||||||
|
<path
|
||||||
|
d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"
|
||||||
|
id="path4"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.6 KiB |
1
public/icons/pencil.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="#fff" d="M14.1 7.1l2.9 2.9L6.1 20.7l-3.6.7.7-3.6L14.1 7.1zm0-2.8L1.4 16.9 0 24l7.1-1.4L19.8 9.9l-5.7-5.7zm7.1 4.3L24 5.7 18.3 0l-2.8 2.8 5.7 5.7z"/></svg>
|
||||||
|
After Width: | Height: | Size: 229 B |
1
public/icons/refresh.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#FFFFFF"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/></svg>
|
||||||
|
After Width: | Height: | Size: 361 B |
BIN
public/icons/report.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
1
public/icons/settings.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="#fff" d="M24 13.6v-3.2c-1.7-.6-2.7-.8-3.2-2h0c-.5-1.3.1-2.1.8-3.7l-2.3-2.3c-1.6.7-2.4 1.4-3.7.8h0c-1.3-.5-1.4-1.6-2-3.2h-3.2c-.6 1.6-.7 2.7-2 3.2h0c-1.3.5-2.1-.1-3.7-.8L2.4 4.7c.7 1.6 1.4 2.4.8 3.7s-1.6 1.4-3.2 2v3.2c1.6.6 2.7.7 3.2 2 .5 1.3-.1 2.2-.8 3.7l2.3 2.3c1.6-.7 2.4-1.4 3.7-.8h0c1.3.5 1.4 1.6 2 3.2h3.2c.6-1.6.8-2.7 2-3.2h0c1.3-.5 2.1.1 3.7.9l2.3-2.3c-.7-1.6-1.4-2.4-.8-3.7s1.6-1.4 3.2-2zM12 16a4 4 0 1 1 0-8 4 4 0 1 1 0 8z"/></svg>
|
||||||
|
After Width: | Height: | Size: 516 B |
71
public/icons/skipIcon.svg
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
viewBox="0 0 565.15 568"
|
||||||
|
version="1.1"
|
||||||
|
id="svg16"
|
||||||
|
sodipodi:docname="skipIcon.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
|
||||||
|
inkscape:export-filename="D:\Dell Data\_Projects\_____SponsorSkip\ignored\svg\SponsorBlocker4.png"
|
||||||
|
inkscape:export-xdpi="43.436523"
|
||||||
|
inkscape:export-ydpi="43.436523">
|
||||||
|
<metadata
|
||||||
|
id="metadata20">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title>LogoSponsorBlocker2</dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1001"
|
||||||
|
id="namedview18"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="1.6619718"
|
||||||
|
inkscape:cx="316.31071"
|
||||||
|
inkscape:cy="330.01409"
|
||||||
|
inkscape:window-x="477"
|
||||||
|
inkscape:window-y="961"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg16"
|
||||||
|
inkscape:pagecheckerboard="true" />
|
||||||
|
<defs
|
||||||
|
id="defs4">
|
||||||
|
<style
|
||||||
|
id="style2">.cls-1{fill:red;}.cls-2{fill:#fff;}</style>
|
||||||
|
</defs>
|
||||||
|
<title
|
||||||
|
id="title6">LogoSponsorBlocker2</title>
|
||||||
|
<path
|
||||||
|
class="cls-1"
|
||||||
|
d="m 282.58,568 a 65,65 0 0 1 -34.14,-9.66 C 95.41,463.94 2.54,300.46 0,121 a 64.91,64.91 0 0 1 34,-58.09 522.56,522.56 0 0 1 497.16,0 64.91,64.91 0 0 1 34,58.12 c -2.53,179.43 -95.4,342.91 -248.42,437.3 A 65,65 0 0 1 282.58,568 Z m 0,-548.31 A 502.24,502.24 0 0 0 43.4,80.22 45.27,45.27 0 0 0 19.7,120.75 c 2.44,172.67 91.81,330 239.07,420.83 a 46.19,46.19 0 0 0 47.61,0 C 453.64,450.73 543,293.42 545.45,120.75 A 45.26,45.26 0 0 0 521.75,80.21 502.26,502.26 0 0 0 282.58,19.69 Z"
|
||||||
|
id="path8"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff"
|
||||||
|
d="M 284.70508 42.693359 A 479.9 479.9 0 0 0 54.369141 100.41992 A 22.53 22.53 0 0 0 42.669922 120.41992 C 45.069922 290.25992 135.67008 438.63977 270.83008 522.00977 A 22.48 22.48 0 0 0 294.32031 522.00977 C 429.48031 438.63977 520.08047 290.25992 522.48047 120.41992 A 22.53 22.53 0 0 0 510.7793 100.41992 A 479.9 479.9 0 0 0 284.70508 42.693359 z M 188.7168 140.07227 L 312.64844 264.00586 L 188.7168 387.9375 L 159.5918 358.8125 L 254.19336 264.00586 L 159.5918 169.19727 L 188.7168 140.07227 z M 305.625 140.07227 L 429.55859 264.00586 L 305.625 387.9375 L 276.50195 358.8125 L 371.10352 264.00586 L 276.50195 169.19727 L 305.625 140.07227 z "
|
||||||
|
id="path10" />
|
||||||
|
<g
|
||||||
|
id="g825"
|
||||||
|
transform="translate(-3.86549,36.564644)" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.1 KiB |
59
public/icons/stop.svg
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
height="24px"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
width="24px"
|
||||||
|
fill="#000000"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
sodipodi:docname="stop.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||||
|
<metadata
|
||||||
|
id="metadata12">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs10" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="730"
|
||||||
|
inkscape:window-height="480"
|
||||||
|
id="namedview8"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="9.8333333"
|
||||||
|
inkscape:cx="12"
|
||||||
|
inkscape:cy="12"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="0"
|
||||||
|
inkscape:current-layer="svg6" />
|
||||||
|
<path
|
||||||
|
d="M0 0h24v24H0z"
|
||||||
|
fill="none"
|
||||||
|
id="path2" />
|
||||||
|
<path
|
||||||
|
d="M6 6h12v12H6z"
|
||||||
|
id="path4"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.6 KiB |
1
public/icons/thumb.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="#fff" d="M21.4 9.6c-1.2 0-2.9-.3-4-.8.8-3.3 1.3-8.8-2.2-8.8-1.8 0-2.3 1.7-2.8 3.3-1.6 5.4-4 6.9-6.4 7.5V10H0v12h6v-.9a19.2 19.2 0 016.2 1.8c1.2.5 3 1.1 5.3 1.1 2.5 0 4.3-1 5-3.7.5-1.9 1.5-7.2 1.5-8.2 0-1.7-1.2-2.5-2.6-2.5zM4 20H2v-8h2v8zm15.9-5.6h1c1.2 0 1.1 1.5 0 1.6h-1.7c-.7.2-.7 1.3.1 1.2h1.2c1 0 1 1.4 0 1.5l-1.7.1c-.8.1-.7 1.3 0 1.2h.8c.9-.1 1 .8-.3 1.6-1.5.9-4.6.1-6.4-.6-2.2-1-4.4-2-7-2v-6c3.3-.8 6.4-2.3 8.4-9.1.9-3.1 1.7-2 1.7.6 0 2-.5 3.8-1 5.5 1.1.5 3.4 1.4 6.2 1.6 1 0 1 1.4 0 1.5l-1.5.2s-.6 1.1.2 1.1z"/></svg>
|
||||||
|
After Width: | Height: | Size: 599 B |
58
public/icons/thumbs_down.svg
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
height="24"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
width="24"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
sodipodi:docname="thumbs_down.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||||
|
<metadata
|
||||||
|
id="metadata12">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs10" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="730"
|
||||||
|
inkscape:window-height="480"
|
||||||
|
id="namedview8"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="9.8333333"
|
||||||
|
inkscape:cx="12"
|
||||||
|
inkscape:cy="12"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="0"
|
||||||
|
inkscape:current-layer="svg6" />
|
||||||
|
<path
|
||||||
|
d="M0 0h24v24H0z"
|
||||||
|
fill="none"
|
||||||
|
id="path2" />
|
||||||
|
<path
|
||||||
|
d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"
|
||||||
|
id="path4"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
58
public/icons/thumbs_down_locked.svg
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
height="24"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
width="24"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
sodipodi:docname="thumbs_down.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||||
|
<metadata
|
||||||
|
id="metadata12">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs10" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="730"
|
||||||
|
inkscape:window-height="480"
|
||||||
|
id="namedview8"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="9.8333333"
|
||||||
|
inkscape:cx="12"
|
||||||
|
inkscape:cy="12"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="0"
|
||||||
|
inkscape:current-layer="svg6" />
|
||||||
|
<path
|
||||||
|
d="M0 0h24v24H0z"
|
||||||
|
fill="none"
|
||||||
|
id="path2" />
|
||||||
|
<path
|
||||||
|
d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"
|
||||||
|
id="path4"
|
||||||
|
style="fill:#ffc83d" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
59
public/icons/thumbs_up.svg
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="black"
|
||||||
|
width="18px"
|
||||||
|
height="18px"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
sodipodi:docname="thumbs_up.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||||
|
<metadata
|
||||||
|
id="metadata12">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs10" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="730"
|
||||||
|
inkscape:window-height="480"
|
||||||
|
id="namedview8"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="13.111111"
|
||||||
|
inkscape:cx="9"
|
||||||
|
inkscape:cy="9"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="0"
|
||||||
|
inkscape:current-layer="svg6" />
|
||||||
|
<path
|
||||||
|
d="M0 0h24v24H0V0z"
|
||||||
|
fill="none"
|
||||||
|
id="path2" />
|
||||||
|
<path
|
||||||
|
d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"
|
||||||
|
id="path4"
|
||||||
|
style="fill:#ffffff" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
1
public/icons/visible.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#FFFFFF"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"/></svg>
|
||||||
|
After Width: | Height: | Size: 366 B |
112
public/libs/Source+Sans+Pro.css
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
/* cyrillic-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNa7lqDY.woff2) format('woff2');
|
||||||
|
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||||
|
}
|
||||||
|
/* cyrillic */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xK3dSBYKcSV-LCoeQqfX1RYOo3qPK7lqDY.woff2) format('woff2');
|
||||||
|
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||||
|
}
|
||||||
|
/* greek-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNK7lqDY.woff2) format('woff2');
|
||||||
|
unicode-range: U+1F00-1FFF;
|
||||||
|
}
|
||||||
|
/* greek */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xK3dSBYKcSV-LCoeQqfX1RYOo3qO67lqDY.woff2) format('woff2');
|
||||||
|
unicode-range: U+0370-03FF;
|
||||||
|
}
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xK3dSBYKcSV-LCoeQqfX1RYOo3qN67lqDY.woff2) format('woff2');
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNq7lqDY.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* cyrillic-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmhduz8A.woff2) format('woff2');
|
||||||
|
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||||
|
}
|
||||||
|
/* cyrillic */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwkxduz8A.woff2) format('woff2');
|
||||||
|
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||||
|
}
|
||||||
|
/* greek-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmxduz8A.woff2) format('woff2');
|
||||||
|
unicode-range: U+1F00-1FFF;
|
||||||
|
}
|
||||||
|
/* greek */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlBduz8A.woff2) format('woff2');
|
||||||
|
unicode-range: U+0370-03FF;
|
||||||
|
}
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmBduz8A.woff2) format('woff2');
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmRduz8A.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
40
public/options/lock-options.html
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<!-- Link to specific tabs by using their ID in the URL like: options.html#keybinds -->
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>__MSG_Options__ - SponsorBlock</title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<link rel="icon" href="../icons/LogoSponsorBlocker64px.png" type="image/png">
|
||||||
|
|
||||||
|
<link href="options.css" rel="stylesheet"/>
|
||||||
|
|
||||||
|
<script src="../js/options.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="sponsorBlockPageBody">
|
||||||
|
|
||||||
|
<div id="options-container">
|
||||||
|
|
||||||
|
<div id="menubar" class="center">
|
||||||
|
|
||||||
|
<div id="title" class="titleBar">
|
||||||
|
<img src="../icons/LogoSponsorBlocker256px.png" class="profilepic" alt="SponsorBlock logo"/>
|
||||||
|
SponsorLock
|
||||||
|
<div id="version"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="options">
|
||||||
|
<div style="font-size: 75px;">
|
||||||
|
With SponsorLock, <b>we</b> decide for <b>you</b>!
|
||||||
|
</div>
|
||||||
|
|
||||||
|
Would you want it any other way?
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
673
public/options/options.css
Normal file
@@ -0,0 +1,673 @@
|
|||||||
|
/* Options page CSS */
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--color-scheme: dark;
|
||||||
|
--background: #333333;
|
||||||
|
--menu-background: #181818;
|
||||||
|
--menu-foreground: white;
|
||||||
|
--dialog-background: #181818;
|
||||||
|
--dialog-border: white;
|
||||||
|
--tab-color: #242424;
|
||||||
|
--tab-button-hover: #4d0000;
|
||||||
|
--tab-hover: white;
|
||||||
|
--description: #dfdfdf;
|
||||||
|
--disabled: #520000;
|
||||||
|
--slider: #707070;
|
||||||
|
--title: #dad8d8;
|
||||||
|
--border-color: #484848;
|
||||||
|
--black: black;
|
||||||
|
--white: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="light"] {
|
||||||
|
--color-scheme: light;
|
||||||
|
--background: #f9f9f9;
|
||||||
|
--menu-background: #dbdbdb;
|
||||||
|
--menu-foreground: #212121;
|
||||||
|
--dialog-background: #f9f9f9;
|
||||||
|
--dialog-border: #282828;
|
||||||
|
--tab-color: #ababab;
|
||||||
|
--tab-button-hover: #750000;
|
||||||
|
--tab-hover: #2e2e2e;
|
||||||
|
--description: #262626;
|
||||||
|
--disabled: #ffcaca;
|
||||||
|
--slider: #bfbebe;
|
||||||
|
--title: #707070;
|
||||||
|
--border-color: #d9d9d9;
|
||||||
|
--black: white;
|
||||||
|
--white: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.medium-description, .switch-container, .optionLabel, .categoryTableElement {
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.small-description, p, li, span, div {
|
||||||
|
color: var(--description);
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,h2,h3,h4,h5,h6 {
|
||||||
|
color: var(--title);
|
||||||
|
}
|
||||||
|
|
||||||
|
html, body {
|
||||||
|
color-scheme: var(--color-scheme);
|
||||||
|
font-family: sans-serif;
|
||||||
|
margin: 0;
|
||||||
|
font-size: 14px;
|
||||||
|
background-color: var(--background);
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
#options-container {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
#menubar {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 20px;
|
||||||
|
flex-basis: 20%;
|
||||||
|
min-width: 300px;
|
||||||
|
max-width: 600px;
|
||||||
|
border-radius: 15px;
|
||||||
|
margin: 15px;
|
||||||
|
z-index: 10;
|
||||||
|
background-color: var(--menu-background);
|
||||||
|
color: var(--menu-foreground);
|
||||||
|
}
|
||||||
|
|
||||||
|
#navigation {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-heading {
|
||||||
|
font-size: 18px;
|
||||||
|
height: 55px;
|
||||||
|
line-height: 55px;
|
||||||
|
width: 80%;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-radius: 15px;
|
||||||
|
cursor: pointer;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
background-color: var(--tab-color);
|
||||||
|
color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-heading:hover {
|
||||||
|
background-color: var(--tab-button-hover);
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-heading.selected {
|
||||||
|
background-color: #c00000;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-heading:active {
|
||||||
|
background-color: #950000;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-group > div {
|
||||||
|
min-height: 50px;
|
||||||
|
padding: 20px 0;
|
||||||
|
border-bottom: 1px solid var(--border-color);
|
||||||
|
border-image: linear-gradient(to right, var(--border-color), #00000000 80%) 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-group > div:last-child, .option-group > #keybind-dialog {
|
||||||
|
border-bottom: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.optionLabel, #version {
|
||||||
|
font-size: 14px;
|
||||||
|
height: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div[data-type="keybind-change"] .optionLabel {
|
||||||
|
display: inline-block;
|
||||||
|
min-width: 150px;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type='number'] {
|
||||||
|
width: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.key {
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: 5px;
|
||||||
|
display: inline-block;
|
||||||
|
min-width: 33px;
|
||||||
|
text-align: center;
|
||||||
|
font-weight: bold;
|
||||||
|
border-color: var(--white);
|
||||||
|
}
|
||||||
|
|
||||||
|
.unbound, .key {
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.keybind-buttons {
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 5px 3px;
|
||||||
|
cursor: pointer;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.keybind-buttons:hover {
|
||||||
|
background-color: #00000030;
|
||||||
|
}
|
||||||
|
|
||||||
|
.keybind-buttons > div, .keybind-buttons > span {
|
||||||
|
margin: 0 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#keybind-dialog .dialog {
|
||||||
|
position: fixed;
|
||||||
|
border-width: 3px;
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: 15px;
|
||||||
|
max-height: 100vh;
|
||||||
|
width: 400px;
|
||||||
|
overflow-x: auto;
|
||||||
|
z-index: 100;
|
||||||
|
padding: 15px;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
background-color: var(--dialog-background);
|
||||||
|
border-color: var(--dialog-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
#change-keybind-buttons {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#change-keybind-buttons > .option-button {
|
||||||
|
margin: 0 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#change-keybind-settings {
|
||||||
|
margin: 15px 15px 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#change-keybind-settings .key {
|
||||||
|
vertical-align: top;
|
||||||
|
margin: 15px 0 0 40px;
|
||||||
|
height: 34px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#change-keybind-error {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
color: red;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blocker {
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 90;
|
||||||
|
background-color: #00000080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.low-profile {
|
||||||
|
height: 23px;
|
||||||
|
line-height: 5px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inline {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.next-line {
|
||||||
|
padding: 15px 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hiding {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.spacing {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.keybind-status {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.small-description {
|
||||||
|
font-size: 13px;
|
||||||
|
padding: 15px 0 0 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.small-description td {
|
||||||
|
padding: 10px 0 20px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indent {
|
||||||
|
padding-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.categoryTableElement td {
|
||||||
|
padding-top: 10px;
|
||||||
|
border-top: 1px solid var(--border-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.medium-description {
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-text-box {
|
||||||
|
width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-button {
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
background-color: #c00000;
|
||||||
|
padding: 10px;
|
||||||
|
color: white;
|
||||||
|
border-radius: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
|
width: max-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-button:hover:not(.disabled) {
|
||||||
|
background-color: #fc0303;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-button.disabled {
|
||||||
|
cursor: default;
|
||||||
|
background-color: var(--disabled);
|
||||||
|
color: grey;
|
||||||
|
}
|
||||||
|
|
||||||
|
#options {
|
||||||
|
height: 100vh;
|
||||||
|
flex-basis: 80%;
|
||||||
|
overflow: auto;
|
||||||
|
text-align: left;
|
||||||
|
padding: 80px 15% 0 3%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
transition: padding 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#options.embed > div {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#title .profilepic {
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switch-container {
|
||||||
|
content: attr(label-name);
|
||||||
|
width: max-content;
|
||||||
|
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switch-container .switch-label {
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: middle;
|
||||||
|
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switch {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 40px;
|
||||||
|
height: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switch input {
|
||||||
|
opacity: 0;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider {
|
||||||
|
position: absolute;
|
||||||
|
cursor: pointer;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background-color: var(--slider);
|
||||||
|
}
|
||||||
|
|
||||||
|
.animated * {
|
||||||
|
-webkit-transition: .4s;
|
||||||
|
transition: .4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider:before {
|
||||||
|
position: absolute;
|
||||||
|
content: "";
|
||||||
|
height: 16px;
|
||||||
|
width: 16px;
|
||||||
|
left: 4px;
|
||||||
|
bottom: 4px;
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.animated .slider:before {
|
||||||
|
-webkit-transition: .4s;
|
||||||
|
transition: .4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:checked + .slider {
|
||||||
|
background-color: #fc0303;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:checked + .slider:before {
|
||||||
|
-webkit-transform: translateX(16px);
|
||||||
|
-ms-transform: translateX(16px);
|
||||||
|
transform: translateX(16px);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Rounded sliders */
|
||||||
|
.slider.round {
|
||||||
|
border-radius: 34px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider.round:before {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Boilerplate CSS from https://ajay.app (edited) */
|
||||||
|
|
||||||
|
.projectPreview {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.projectPreviewImage {
|
||||||
|
position: absolute;
|
||||||
|
left: -90px;
|
||||||
|
width: 80px;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.projectPreviewImageLarge {
|
||||||
|
position: absolute;
|
||||||
|
left: -210px;
|
||||||
|
width: 200px;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-20%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.projectPreviewImageLargeRight {
|
||||||
|
position: absolute;
|
||||||
|
right: -210px;
|
||||||
|
width: 200px;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
#createdBy {
|
||||||
|
text-align: center;
|
||||||
|
margin: auto 0 10px 0;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#createdBy > * {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#title {
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
|
||||||
|
font-size: 40px;
|
||||||
|
|
||||||
|
padding: 40px 20px;
|
||||||
|
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
font-size: 40px;
|
||||||
|
color: #dad8d8;
|
||||||
|
|
||||||
|
padding-top: 10px;
|
||||||
|
|
||||||
|
transition: font-size 0.4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle:hover {
|
||||||
|
font-size: 45px;
|
||||||
|
|
||||||
|
transition: font-size 0.4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profilepic {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profilepiccircle {
|
||||||
|
vertical-align: middle;
|
||||||
|
overflow: hidden;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link {
|
||||||
|
padding: 20px;
|
||||||
|
|
||||||
|
height: 80px;
|
||||||
|
|
||||||
|
transition: height 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link:hover {
|
||||||
|
height: 95px;
|
||||||
|
|
||||||
|
transition: height 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#contact,.smalllink {
|
||||||
|
font-size: 25px;
|
||||||
|
color: #e8e8e8;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#contact {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
p,li {
|
||||||
|
font-size: 20px;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.previewImage {
|
||||||
|
max-height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#recentPostTitle {
|
||||||
|
font-size: 30px;
|
||||||
|
color: #dad8d8;
|
||||||
|
}
|
||||||
|
|
||||||
|
#recentPostDate {
|
||||||
|
font-size: 15px;
|
||||||
|
color: #dad8d8;
|
||||||
|
}
|
||||||
|
|
||||||
|
svg {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.number-container:before {
|
||||||
|
content: attr(label-name);
|
||||||
|
padding-right: 4px;
|
||||||
|
width: max-content;
|
||||||
|
|
||||||
|
font-size: 14px;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* React styles */
|
||||||
|
|
||||||
|
.categoryTableElement {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.categoryTableElement > * {
|
||||||
|
padding-right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.categoryTableDescription > * {
|
||||||
|
padding-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.optionsSelector {
|
||||||
|
background-color: #c00000;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
border: none;
|
||||||
|
font-size: 14px;
|
||||||
|
padding: 5px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.categoryColorTextBox {
|
||||||
|
width: 60px;
|
||||||
|
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sbDonate {
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Top bar navigation for smaller screens */
|
||||||
|
@media only screen and (max-height: 725px), only screen and (max-width: 1200px) {
|
||||||
|
#options-container {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
#menubar {
|
||||||
|
gap: 8px;
|
||||||
|
min-width: unset;
|
||||||
|
max-width: unset;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
#navigation {
|
||||||
|
gap: 8px;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
#options {
|
||||||
|
padding: 0 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#options > div {
|
||||||
|
max-width: 70%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-heading {
|
||||||
|
width: unset;
|
||||||
|
min-width: unset;
|
||||||
|
height: 35px;
|
||||||
|
line-height: 35px;
|
||||||
|
font-size: 16px;
|
||||||
|
padding: 0 10px;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
#title {
|
||||||
|
width: 100%;
|
||||||
|
font-size: 30px;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
#title .profilepic {
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
#createdBy {
|
||||||
|
margin: 10px 0 0 0;
|
||||||
|
height: unset;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
#createdBy > div {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
#sbDonate {
|
||||||
|
position: absolute;
|
||||||
|
right: 30px;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
#version {
|
||||||
|
font-size: 10px;
|
||||||
|
height: 10px;
|
||||||
|
transform: translate(-50px, -5px);
|
||||||
|
}
|
||||||
|
.sticky #menubar {
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
margin: 0 15px;
|
||||||
|
}
|
||||||
|
.sticky #title, .sticky #createdBy {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 800px) {
|
||||||
|
#options {
|
||||||
|
padding: 0 15px;
|
||||||
|
}
|
||||||
|
#options > div {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
505
public/options/options.html
Normal file
@@ -0,0 +1,505 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<!-- Link to specific tabs by using their ID in the URL like: options.html#keybinds -->
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>__MSG_Options__ - SponsorBlock</title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<link rel="icon" href="../icons/LogoSponsorBlocker64px.png" type="image/png">
|
||||||
|
|
||||||
|
<link href="options.css" rel="stylesheet"/>
|
||||||
|
|
||||||
|
<script src="../js/options.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="sponsorBlockPageBody">
|
||||||
|
|
||||||
|
<div id="options-container">
|
||||||
|
|
||||||
|
<div id="menubar" class="center">
|
||||||
|
|
||||||
|
<div id="title" class="titleBar">
|
||||||
|
<img src="../icons/LogoSponsorBlocker256px.png" class="profilepic" alt="SponsorBlock logo"/>
|
||||||
|
SponsorBlock
|
||||||
|
<div id="version"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="navigation">
|
||||||
|
<div class="tab-heading" data-for="behavior">
|
||||||
|
__MSG_optionsTabBehavior__
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="tab-heading" data-for="interface">
|
||||||
|
__MSG_optionsTabInterface__
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="tab-heading" data-for="keybinds">
|
||||||
|
__MSG_optionsTabKeyBinds__
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="tab-heading" data-for="import">
|
||||||
|
__MSG_optionsTabBackup__
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="tab-heading" data-for="advanced">
|
||||||
|
__MSG_optionsTabAdvanced__
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="createdBy" class="titleBar">
|
||||||
|
<div>
|
||||||
|
<img src="../icons/newprofilepic.jpg" height="30" class="profilepiccircle" alt="profile picture of creator"/>
|
||||||
|
__MSG_createdBy__
|
||||||
|
<a href="https://ajay.app">Ajay Ramachandran</a>
|
||||||
|
</div>
|
||||||
|
<a href="https://sponsor.ajay.app/donate" target="_blank" rel="noopener" id="sbDonate">(__MSG_Donate__)</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="options">
|
||||||
|
|
||||||
|
<div id="behavior" class="option-group hidden">
|
||||||
|
|
||||||
|
<div id="category-type" data-type="react-CategoryChooserComponent">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="autoSkipOnMusicVideos">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="autoSkipOnMusicVideos" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="autoSkipOnMusicVideos">
|
||||||
|
__MSG_autoSkipOnMusicVideos__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="muteSegments">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="muteSegments" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="muteSegments">
|
||||||
|
__MSG_muteSegments__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="fullVideoSegments">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="fullVideoSegments" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="fullVideoSegments">
|
||||||
|
__MSG_fullVideoSegments__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="number-change" data-sync="minDuration">
|
||||||
|
<label class="number-container">
|
||||||
|
<span class="optionLabel">__MSG_minDuration__</span>
|
||||||
|
<input type="number" step="0.1" min="0">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_minDurationDescription__</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="forceChannelCheck">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="forceChannelCheck" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="forceChannelCheck">
|
||||||
|
__MSG_forceChannelCheck__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_whatForceChannelCheck__</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="refetchWhenNotFound">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="refetchWhenNotFound" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="refetchWhenNotFound">
|
||||||
|
__MSG_enableRefetchWhenNotFound__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_whatRefetchWhenNotFound__</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="interface" class="option-group hidden">
|
||||||
|
|
||||||
|
<div data-type="number-change" data-sync="skipNoticeDuration">
|
||||||
|
<label class="number-container">
|
||||||
|
<span class="optionLabel">__MSG_skipNoticeDuration__</span>
|
||||||
|
<input type="number" step="1" min="1">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_skipNoticeDurationDescription__</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="dontShowNotice">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="dontShowNotice" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="dontShowNotice">
|
||||||
|
__MSG_showSkipNotice__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="selector" data-sync="noticeVisibilityMode">
|
||||||
|
<label class="optionLabel" for="noticeVisibilityMode">__MSG_noticeVisibilityLabel__:</label>
|
||||||
|
|
||||||
|
<select id="noticeVisibilityMode" class="selector-element optionsSelector" >
|
||||||
|
<option value="0">__MSG_noticeVisibilityMode0__</option>
|
||||||
|
<option value="1">__MSG_noticeVisibilityMode1__</option>
|
||||||
|
<option value="2">__MSG_noticeVisibilityMode2__</option>
|
||||||
|
<option value="3">__MSG_noticeVisibilityMode3__</option>
|
||||||
|
<option value="4">__MSG_noticeVisibilityMode4__</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="hideVideoPlayerControls">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="hideVideoPlayerControls" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="hideVideoPlayerControls">
|
||||||
|
__MSG_showButtons__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_hideButtonsDescription__</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="hideDeleteButtonPlayerControls" data-dependent-on="hideVideoPlayerControls">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="hideDeleteButtonPlayerControls" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="hideDeleteButtonPlayerControls">
|
||||||
|
__MSG_showDeleteButton__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="hideUploadButtonPlayerControls" data-dependent-on="hideVideoPlayerControls">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="hideUploadButtonPlayerControls" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="hideUploadButtonPlayerControls">
|
||||||
|
__MSG_showUploadButton__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="hideSkipButtonPlayerControls">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="hideSkipButtonPlayerControls" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="hideSkipButtonPlayerControls">
|
||||||
|
__MSG_showSkipButton__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="hideInfoButtonPlayerControls">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="hideInfoButtonPlayerControls" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="hideInfoButtonPlayerControls">
|
||||||
|
__MSG_showInfoButton__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="autoHideInfoButton" data-dependent-on="hideInfoButtonPlayerControls">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="autoHideInfoButton" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="autoHideInfoButton">
|
||||||
|
__MSG_autoHideInfoButton__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="audioNotificationOnSkip">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="audioNotificationOnSkip" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="audioNotificationOnSkip">
|
||||||
|
__MSG_audioNotification__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_audioNotificationDescription__</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="showTimeWithSkips">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="showTimeWithSkips" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="showTimeWithSkips">
|
||||||
|
__MSG_showTimeWithSkips__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_showTimeWithSkipsDescription__</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="darkMode">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="darkMode" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="darkMode">
|
||||||
|
__MSG_darkModeOptionsPage__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="showDonationLink" data-no-safari="true">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="showDonationLink" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="showDonationLink">
|
||||||
|
__MSG_hideDonationLink__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="keybinds" class="option-group hidden">
|
||||||
|
|
||||||
|
<div data-type="keybind-change" data-sync="skipKeybind">
|
||||||
|
<label class="optionLabel">__MSG_setSkipShortcut__:</label>
|
||||||
|
<div class="inline"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="keybind-change" data-sync="startSponsorKeybind">
|
||||||
|
<label class="optionLabel">__MSG_setStartSponsorShortcut__:</label>
|
||||||
|
<div class="inline"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="keybind-change" data-sync="submitKeybind">
|
||||||
|
<label class="optionLabel">__MSG_setSubmitKeybind__:</label>
|
||||||
|
<div class="inline"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="import" class="option-group hidden">
|
||||||
|
|
||||||
|
<div data-type="private-text-change" data-sync="userID" data-confirm-message="userIDChangeWarning">
|
||||||
|
<div class="option-button trigger-button">
|
||||||
|
__MSG_changeUserID__
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_whatChangeUserID__</div>
|
||||||
|
|
||||||
|
<div class="option-hidden-section hidden spacing indent">
|
||||||
|
<input class="option-text-box" type="text">
|
||||||
|
|
||||||
|
<div class="option-button text-change-set inline low-profile">
|
||||||
|
__MSG_setUserID__
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="private-text-change" data-sync="*" data-confirm-message="exportOptionsWarning">
|
||||||
|
<h2>__MSG_exportOptions__</h2>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<div class="option-button trigger-button inline">
|
||||||
|
__MSG_exportOptionsCopy__
|
||||||
|
</div>
|
||||||
|
<div class="option-button download-button inline">
|
||||||
|
__MSG_exportOptionsDownload__
|
||||||
|
</div>
|
||||||
|
<label for="importOptions" class="option-button inline">
|
||||||
|
__MSG_exportOptionsUpload__
|
||||||
|
</label>
|
||||||
|
<input id="importOptions" type="file" class="upload-button hidden" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_whatExportOptions__</div>
|
||||||
|
|
||||||
|
<div class="option-hidden-section hidden spacing indent">
|
||||||
|
<textarea class="option-text-box" rows="10" style="width:80%"></textarea>
|
||||||
|
|
||||||
|
<div class="option-button text-change-set">
|
||||||
|
__MSG_setOptions__
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="advanced" class="option-group hidden">
|
||||||
|
|
||||||
|
<div id="support-invidious" data-type="toggle" data-sync="supportInvidious" data-no-safari="true">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="supportInvidious" type="checkbox">
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="supportInvidious">
|
||||||
|
__MSG_supportOtherSites__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">(__MSG_supportedSites__ Invidious, CloudTube)</div>
|
||||||
|
<div class="small-description">__MSG_supportOtherSitesDescription__ </div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="private-text-change" data-sync="invidiousInstances" data-no-safari="true" data-dependent-on="supportInvidious">
|
||||||
|
<div class="option-button trigger-button">
|
||||||
|
__MSG_addInvidiousInstance__
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_addInvidiousInstanceDescription__</div>
|
||||||
|
|
||||||
|
<div class="indent option-hidden-section hidden spacing">
|
||||||
|
<input class="option-text-box" type="text">
|
||||||
|
<div class="inline">
|
||||||
|
<div class="option-button text-change-set inline low-profile">
|
||||||
|
__MSG_add__
|
||||||
|
</div>
|
||||||
|
<div class="option-button text-change-reset inline low-profile">
|
||||||
|
__MSG_cancel__
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="margin-top:15px">
|
||||||
|
<span>__MSG_currentInstances__</span>
|
||||||
|
<span data-type="display" data-sync="invidiousInstances"></span>
|
||||||
|
<div class="option-button invidious-instance-reset spacing hidden">
|
||||||
|
__MSG_resetInvidiousInstance__
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="trackViewCount">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="trackViewCount" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="trackViewCount">
|
||||||
|
__MSG_enableViewTracking__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_whatViewTracking__</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="trackViewCountInPrivate" data-dependent-on="trackViewCount" data-private-only="true">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="trackViewCountInPrivate" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="trackViewCountInPrivate">
|
||||||
|
__MSG_enableViewTrackingInPrivate__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="trackDownvotes" data-confirm-on="false" data-confirm-message="trackDownvotesWarning">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="trackDownvotes" type="checkbox" checked>
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="trackDownvotes">
|
||||||
|
__MSG_enableTrackDownvotes__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_whatTrackDownvotes__</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="button-press" data-sync="copyDebugInformation" data-confirm-message="copyDebugInformation">
|
||||||
|
<div class="option-button trigger-button">
|
||||||
|
__MSG_copyDebugInformation__
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_copyDebugInformationOptions__</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="toggle" data-sync="testingServer" data-confirm-message="testingServerWarning" data-no-safari="true">
|
||||||
|
<div class="switch-container">
|
||||||
|
<label class="switch">
|
||||||
|
<input id="testingServer" type="checkbox">
|
||||||
|
<span class="slider round"></span>
|
||||||
|
</label>
|
||||||
|
<label class="switch-label" for="testingServer">
|
||||||
|
__MSG_enableTestingServer__
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_whatEnableTestingServer__</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div data-type="text-change" data-sync="serverAddress" data-dependent-on="testingServer" data-dependent-on-inverted="true">
|
||||||
|
<label class="optionLabel inline">
|
||||||
|
<span class="optionLabel">__MSG_customServerAddress__:</span>
|
||||||
|
|
||||||
|
<input class="option-text-box" type="text" style="margin-right:10px">
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div class="small-description">__MSG_customServerAddressDescription__</div>
|
||||||
|
|
||||||
|
<div class="next-line">
|
||||||
|
<div class="option-button text-change-set inline">
|
||||||
|
__MSG_save__
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="option-button text-change-reset inline">
|
||||||
|
__MSG_reset__
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
158
public/oss-attribution/attribution.txt
Normal file
@@ -0,0 +1,158 @@
|
|||||||
|
js-tokens
|
||||||
|
4.0.0 <https://github.com/lydell/js-tokens>
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2014, 2015, 2016, 2017, 2018 Simon Lydell
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
******************************
|
||||||
|
|
||||||
|
loose-envify
|
||||||
|
1.4.0 <https://github.com/zertosh/loose-envify>
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2015 Andres Suarez <zertosh@gmail.com>
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
******************************
|
||||||
|
|
||||||
|
object-assign
|
||||||
|
4.1.1 <https://github.com/sindresorhus/object-assign>
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
******************************
|
||||||
|
|
||||||
|
react
|
||||||
|
17.0.2 <https://github.com/facebook/react>
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
******************************
|
||||||
|
|
||||||
|
react-dom
|
||||||
|
17.0.2 <https://github.com/facebook/react>
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
******************************
|
||||||
|
|
||||||
|
scheduler
|
||||||
|
0.20.2 <https://github.com/facebook/react>
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
27
public/permissions/index.html
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>Permissions - SponsorBlock</title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
|
||||||
|
<link href="styles.css" rel="stylesheet"/>
|
||||||
|
|
||||||
|
<script src="../js/permissions.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="sponsorBlockPageBody">
|
||||||
|
|
||||||
|
<div id="title" class="titleBar">
|
||||||
|
<img src="../icons/LogoSponsorBlocker256px.png" height="80" class="profilepic"/>
|
||||||
|
SponsorBlock
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<div class="center">
|
||||||
|
<div id="acceptPermissionButton" class="option-button inline">
|
||||||
|
__MSG_acceptPermission__
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
360
public/permissions/styles.css
Normal file
@@ -0,0 +1,360 @@
|
|||||||
|
/* Options page CSS */
|
||||||
|
html {
|
||||||
|
color-scheme: dark;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inline {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.keybind-status {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.small-description {
|
||||||
|
color: white;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.medium-description {
|
||||||
|
color: white;
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-text-box {
|
||||||
|
width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-button {
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
background-color: #c00000;
|
||||||
|
padding: 10px;
|
||||||
|
color: white;
|
||||||
|
border-radius: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
|
width: max-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-button:hover {
|
||||||
|
background-color: #fc0303;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option-button.disabled {
|
||||||
|
cursor: default;
|
||||||
|
|
||||||
|
background-color: #520000;
|
||||||
|
color: grey;
|
||||||
|
}
|
||||||
|
|
||||||
|
#options {
|
||||||
|
max-width: 60%;
|
||||||
|
text-align: left;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switch-container:after {
|
||||||
|
content: attr(label-name);
|
||||||
|
position: absolute;
|
||||||
|
padding: 4px;
|
||||||
|
width: max-content;
|
||||||
|
|
||||||
|
font-size: 14px;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-label-container {
|
||||||
|
font-size: 14px;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switch {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 40px;
|
||||||
|
height: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switch input {
|
||||||
|
opacity: 0;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider {
|
||||||
|
position: absolute;
|
||||||
|
cursor: pointer;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background-color: #707070;
|
||||||
|
}
|
||||||
|
|
||||||
|
.animated * {
|
||||||
|
-webkit-transition: .4s;
|
||||||
|
transition: .4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider:before {
|
||||||
|
position: absolute;
|
||||||
|
content: "";
|
||||||
|
height: 16px;
|
||||||
|
width: 16px;
|
||||||
|
left: 4px;
|
||||||
|
bottom: 4px;
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.animated .slider:before {
|
||||||
|
-webkit-transition: .4s;
|
||||||
|
transition: .4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:checked + .slider {
|
||||||
|
background-color: #fc0303;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:checked + .slider:before {
|
||||||
|
-webkit-transform: translateX(16px);
|
||||||
|
-ms-transform: translateX(16px);
|
||||||
|
transform: translateX(16px);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Rounded sliders */
|
||||||
|
.slider.round {
|
||||||
|
border-radius: 34px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider.round:before {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Boilerplate CSS from https://ajay.app */
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #333333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.projectPreview {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.projectPreviewImage {
|
||||||
|
position: absolute;
|
||||||
|
left: -90px;
|
||||||
|
width: 80px;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.projectPreviewImageLarge {
|
||||||
|
position: absolute;
|
||||||
|
left: -210px;
|
||||||
|
width: 200px;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-20%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.projectPreviewImageLargeRight {
|
||||||
|
position: absolute;
|
||||||
|
right: -210px;
|
||||||
|
width: 200px;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.createdBy {
|
||||||
|
font-size: 14px;
|
||||||
|
text-align: center;
|
||||||
|
padding-top: 0px;
|
||||||
|
padding-bottom: 0px;
|
||||||
|
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#title {
|
||||||
|
background-color: #636363;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
|
||||||
|
font-size: 50px;
|
||||||
|
color: #212121;
|
||||||
|
|
||||||
|
padding: 20px;
|
||||||
|
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
transition: font-size 1s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
font-size: 40px;
|
||||||
|
color: #dad8d8;
|
||||||
|
|
||||||
|
padding-top: 10px;
|
||||||
|
|
||||||
|
transition: font-size 0.4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle:hover {
|
||||||
|
font-size: 45px;
|
||||||
|
|
||||||
|
transition: font-size 0.4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profilepic {
|
||||||
|
background-color: #636363 !important;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profilepiccircle {
|
||||||
|
vertical-align: middle;
|
||||||
|
overflow: hidden;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link {
|
||||||
|
padding: 20px;
|
||||||
|
|
||||||
|
height: 80px;
|
||||||
|
|
||||||
|
transition: height 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link:hover {
|
||||||
|
height: 95px;
|
||||||
|
|
||||||
|
transition: height 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#contact,.smalllink {
|
||||||
|
font-size: 25px;
|
||||||
|
color: #e8e8e8;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#contact {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
p,li {
|
||||||
|
font-size: 20px;
|
||||||
|
color: #c4c4c4;
|
||||||
|
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p,li,code,a {
|
||||||
|
max-width: 60%;
|
||||||
|
text-align: left;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (orientation:portrait) {
|
||||||
|
p,li,code,a {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.projectPreviewImage {
|
||||||
|
position: unset;
|
||||||
|
width: 130px;
|
||||||
|
display: block;
|
||||||
|
margin: auto;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.previewImage {
|
||||||
|
max-height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#recentPostTitle {
|
||||||
|
font-size: 30px;
|
||||||
|
color: #dad8d8;
|
||||||
|
}
|
||||||
|
|
||||||
|
#recentPostDate {
|
||||||
|
font-size: 15px;
|
||||||
|
color: #dad8d8;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,h2,h3,h4,h5,h6 {
|
||||||
|
color: #dad8d8;
|
||||||
|
}
|
||||||
|
|
||||||
|
svg {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.number-container:before {
|
||||||
|
content: attr(label-name);
|
||||||
|
padding-right: 4px;
|
||||||
|
width: max-content;
|
||||||
|
|
||||||
|
font-size: 14px;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* React styles */
|
||||||
|
|
||||||
|
.categoryTableElement {
|
||||||
|
font-size: 16px;
|
||||||
|
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.categoryTableElement > * {
|
||||||
|
padding-right: 15px;
|
||||||
|
padding-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.categoryOptionsSelector {
|
||||||
|
background-color: #c00000;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
border: none;
|
||||||
|
font-size: 14px;
|
||||||
|
padding: 5px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.categoryColorTextBox {
|
||||||
|
width: 60px;
|
||||||
|
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
546
public/popup.css
Normal file
@@ -0,0 +1,546 @@
|
|||||||
|
:root {
|
||||||
|
--sb-main-font-family: "Source Sans Pro", sans-serif;
|
||||||
|
--sb-main-bg-color: #222626;
|
||||||
|
--sb-main-fg-color: #fff;
|
||||||
|
--sb-grey-bg-color: #333;
|
||||||
|
--sb-red-bg-color: #cc1717;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Container when popup displayed in-page
|
||||||
|
*/
|
||||||
|
|
||||||
|
#sponsorBlockPopupContainer {
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Disable fixed popup width when displayed in-page
|
||||||
|
*/
|
||||||
|
|
||||||
|
#sponsorBlockPopupContainer #sponsorBlockPopupBody {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Main containers
|
||||||
|
*/
|
||||||
|
|
||||||
|
#sponsorBlockPopupHTML {
|
||||||
|
color-scheme: dark;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sponsorBlockPopupBody {
|
||||||
|
margin: 0;
|
||||||
|
width: 374px;
|
||||||
|
font-family: var(--sb-main-font-family);
|
||||||
|
font-size: 14px;
|
||||||
|
background-color: var(--sb-main-bg-color);
|
||||||
|
color: var(--sb-main-fg-color);
|
||||||
|
color-scheme: dark;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sponsorblockPopup {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Disable transition on all elements until the extension has loaded
|
||||||
|
*/
|
||||||
|
|
||||||
|
.sb-preload * {
|
||||||
|
transition: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Close popup button when displayed in-page
|
||||||
|
*/
|
||||||
|
|
||||||
|
.sbCloseButton {
|
||||||
|
background: transparent;
|
||||||
|
border: 0;
|
||||||
|
padding: 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
position: absolute;
|
||||||
|
top: 5px;
|
||||||
|
right: 5px;
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sbCloseButton:hover {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Header logo
|
||||||
|
*/
|
||||||
|
|
||||||
|
.sbPopupLogo {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 32px;
|
||||||
|
font-weight: bold;
|
||||||
|
justify-content: center;
|
||||||
|
user-select: none;
|
||||||
|
padding: 20px 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sbPopupLogo img {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Refresh segments button
|
||||||
|
*/
|
||||||
|
|
||||||
|
#refreshSegmentsButton {
|
||||||
|
background: transparent;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 50%;
|
||||||
|
cursor: pointer;
|
||||||
|
display: flex;
|
||||||
|
padding: 5px;
|
||||||
|
margin: 5px auto;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#refreshSegmentsButton:hover {
|
||||||
|
background-color: var(--sb-grey-bg-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* <details> wrapper around each segment
|
||||||
|
*/
|
||||||
|
|
||||||
|
.votingButtons {
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.votingButtons[open] {
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.votingButtons:hover {
|
||||||
|
background-color: var(--sb-grey-bg-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Individual segments summaries (clickable <summary>)
|
||||||
|
*/
|
||||||
|
|
||||||
|
.segmentSummary {
|
||||||
|
cursor: pointer;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 7px;
|
||||||
|
list-style: none;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Category dot in segment
|
||||||
|
*/
|
||||||
|
|
||||||
|
.sponsorTimesCategoryColorCircle {
|
||||||
|
margin: 0 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dot {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
border-radius: 50%;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Buttons that appear under a segment on click
|
||||||
|
*/
|
||||||
|
|
||||||
|
.voteButton {
|
||||||
|
height: 20px;
|
||||||
|
padding: 0 5px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* "Voted!" text that appears after voting on a segment
|
||||||
|
*/
|
||||||
|
|
||||||
|
.sponsorTimesThanksForVotingText {
|
||||||
|
font-size: large;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Main controls menu
|
||||||
|
*/
|
||||||
|
|
||||||
|
.sbControlsMenu {
|
||||||
|
background-color: var(--sb-grey-bg-color);
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sbControlsMenu-item {
|
||||||
|
background-color: var(--sb-grey-bg-color);
|
||||||
|
border: 0;
|
||||||
|
padding: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
|
padding: 10px 15px;
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sbControlsMenu-item:hover {
|
||||||
|
background-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sbControlsMenu-itemIcon {
|
||||||
|
margin-bottom: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* "Skipping is enabled" toggle
|
||||||
|
*/
|
||||||
|
|
||||||
|
.toggleSwitchContainer {
|
||||||
|
cursor: pointer;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toggleSwitchContainer-switch {
|
||||||
|
display: flex;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switchBg {
|
||||||
|
display: block;
|
||||||
|
width: 50px;
|
||||||
|
height: 23px;
|
||||||
|
border-radius: 18.5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switchBg.shadow {
|
||||||
|
box-shadow: 0.75px 0.75px 10px 0px rgba(50, 50, 50, 0.5);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switchBg.white {
|
||||||
|
position: absolute;
|
||||||
|
background-color: #ccc;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switchBg.green {
|
||||||
|
position: absolute;
|
||||||
|
background-color: #00a205;
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.2s ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switchDot {
|
||||||
|
background-color: var(--sb-main-fg-color);
|
||||||
|
border-radius: 50%;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
margin: 4px;
|
||||||
|
position: absolute;
|
||||||
|
box-shadow: 0.75px 0.75px 3.8px 0px rgba(50, 50, 50, 0.45);
|
||||||
|
transition: transform 0.2s ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
#toggleSwitch:checked ~ .switchDot {
|
||||||
|
transform: translateX(27px);
|
||||||
|
}
|
||||||
|
|
||||||
|
#toggleSwitch:checked ~ .switchBg.green {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#toggleSwitch:checked ~ .switchBg.white {
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.2s step-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Whitelist add/remove icon
|
||||||
|
*/
|
||||||
|
|
||||||
|
.SBWhitelistIcon > path {
|
||||||
|
fill: var(--sb-main-fg-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.SBWhitelistIcon.rotated {
|
||||||
|
transform: rotate(45deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes rotate {
|
||||||
|
from {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Notice that appears when whitelisting a channel, that recommends
|
||||||
|
* enabling the "Force Channel Check Before Skipping" option
|
||||||
|
*/
|
||||||
|
|
||||||
|
#whitelistForceCheck {
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: underline;
|
||||||
|
font-size: large;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Container around the "Segment Starts Now" and "Submit Times" buttons
|
||||||
|
*/
|
||||||
|
|
||||||
|
#mainControls {
|
||||||
|
flex-flow: column;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Generic buttons used for "Segment Starts Now" and "Submit Times"
|
||||||
|
*/
|
||||||
|
|
||||||
|
.sbMediumButton {
|
||||||
|
background-color: var(--sb-red-bg-color);
|
||||||
|
border: 0;
|
||||||
|
-moz-border-radius: 28px;
|
||||||
|
-webkit-border-radius: 28px;
|
||||||
|
border-radius: 28px;
|
||||||
|
display: inline-block;
|
||||||
|
cursor: pointer;
|
||||||
|
color: var(--sb-main-fg-color);
|
||||||
|
font-size: 16px;
|
||||||
|
padding: 8px 37px;
|
||||||
|
font-family: var(--sb-main-font-family);
|
||||||
|
transition: 0.01s background-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sbMediumButton:hover,
|
||||||
|
.sbMediumButton:focus {
|
||||||
|
outline: none;
|
||||||
|
background-color: #ec1c1c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sbMediumButton:active {
|
||||||
|
position: relative;
|
||||||
|
top: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* "Submit Times" button
|
||||||
|
*/
|
||||||
|
|
||||||
|
#submitTimes {
|
||||||
|
margin-top: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Heading utility class
|
||||||
|
*/
|
||||||
|
|
||||||
|
.sbHeader {
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: bold;
|
||||||
|
margin: 10px 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Side-by-side section of "Your Work"
|
||||||
|
*/
|
||||||
|
|
||||||
|
.sbYourWorkCols {
|
||||||
|
display: flex;
|
||||||
|
margin: 0 20px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sbYourWorkCols > div {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
width: 50%;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* <button> elements that have icons
|
||||||
|
*/
|
||||||
|
|
||||||
|
#setUsernameButton,
|
||||||
|
#submitUsername,
|
||||||
|
#copyUserID {
|
||||||
|
background: transparent;
|
||||||
|
border: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 0;
|
||||||
|
color: var(--sb-main-fg-color);
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Prevent username from wrapping
|
||||||
|
*/
|
||||||
|
|
||||||
|
#setUsernameButton {
|
||||||
|
flex: 0 1;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Set username button
|
||||||
|
*/
|
||||||
|
|
||||||
|
#submitUsername {
|
||||||
|
padding-left: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Increase font size of username input and display
|
||||||
|
*/
|
||||||
|
|
||||||
|
#usernameValue,
|
||||||
|
#usernameInput,
|
||||||
|
#sponsorTimesContributionsDisplay {
|
||||||
|
font-size: 16px;
|
||||||
|
flex: 1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Left align "Username" and "Submissions" labels
|
||||||
|
*/
|
||||||
|
|
||||||
|
#usernameElement > div > p,
|
||||||
|
#sponsorTimesContributionsContainer {
|
||||||
|
text-align: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Enable flexbox for buttons with SVG icon
|
||||||
|
*/
|
||||||
|
|
||||||
|
#setUsernameContainer > button {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Improve position of "Copy User ID" button
|
||||||
|
*/
|
||||||
|
|
||||||
|
#copyUserID {
|
||||||
|
width: 100%;
|
||||||
|
flex: 0 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Container around username display and edit
|
||||||
|
*/
|
||||||
|
|
||||||
|
#setUsernameContainer {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Improve alignment of username and submissions
|
||||||
|
*/
|
||||||
|
|
||||||
|
#usernameElement > div,
|
||||||
|
#sponsorTimesContributionsContainer > div {
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column nowrap;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Truncate username display
|
||||||
|
*/
|
||||||
|
|
||||||
|
#usernameValue {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
max-width: 130px;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Set username form container with "expanded" state
|
||||||
|
*/
|
||||||
|
|
||||||
|
#setUsername {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
#setUsername.SBExpanded {
|
||||||
|
width: 200%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Set username input
|
||||||
|
*/
|
||||||
|
|
||||||
|
#usernameInput {
|
||||||
|
background: transparent;
|
||||||
|
padding: 2px;
|
||||||
|
border: var(--sb-main-fg-color) 1px solid;
|
||||||
|
color: var(--sb-main-fg-color);
|
||||||
|
width: calc(100% - 24px);
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Footer
|
||||||
|
*/
|
||||||
|
|
||||||
|
#sbFooter {
|
||||||
|
margin-top: 10px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sbFooter a {
|
||||||
|
color: var(--sb-main-fg-color);
|
||||||
|
cursor: pointer;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* "Show Notice Again" button
|
||||||
|
*/
|
||||||
|
|
||||||
|
#showNoticeAgain {
|
||||||
|
background: transparent;
|
||||||
|
border: 1px solid #fff;
|
||||||
|
border-radius: 5px;
|
||||||
|
color: var(--sb-main-fg-color);
|
||||||
|
cursor: pointer;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Generic spacing classes
|
||||||
|
*/
|
||||||
|
|
||||||
|
.u-mZ {
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Generic hide utility classes
|
||||||
|
*/
|
||||||
|
|
||||||
|
#sponsorBlockPopupBody .hidden {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
159
public/popup.html
Normal file
@@ -0,0 +1,159 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html id="sponsorBlockPopupHTML">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>__MSG_openPopup__</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<link id="sponsorBlockPopupFont" href="/libs/Source+Sans+Pro.css" rel="stylesheet">
|
||||||
|
<link id="sponsorBlockStyleSheet" href="popup.css" rel="stylesheet">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="sponsorBlockPopupBody">
|
||||||
|
<div id="sponsorblockPopup" class="sponsorBlockPageBody sb-preload">
|
||||||
|
|
||||||
|
<header class="sbPopupLogo">
|
||||||
|
<img src="icons/IconSponsorBlocker256px.png" alt="SponsorBlock" width="40" height="40" id="sponsorBlockPopupLogo">
|
||||||
|
<p class="u-mZ">SponsorLock</p>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div id="videoInfo">
|
||||||
|
<!-- Loading text -->
|
||||||
|
<p id="loadingIndicator" class="u-mZ">__MSG_noVideoID__</p>
|
||||||
|
<!-- If the video was found in the database -->
|
||||||
|
<p id="videoFound" class="u-mZ"></p>
|
||||||
|
<button id="refreshSegmentsButton" title="__MSG_refreshSegments__">
|
||||||
|
<img src="/icons/refresh.svg" alt="Refresh icon" id="refreshSegments" />
|
||||||
|
</button>
|
||||||
|
<div id="issueReporterContainer">
|
||||||
|
<div id="issueReporterTimeButtons"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="sbControlsMenu">
|
||||||
|
<label style="display: none" id="whitelistButton" for="whitelistToggle" class="hidden sbControlsMenu-item" title="__MSG_forceChannelCheckPopup__">
|
||||||
|
<input type="checkbox" style="display:none;" id="whitelistToggle">
|
||||||
|
<svg viewBox="0 0 24 24" width="23" height="23" class="SBWhitelistIcon sbControlsMenu-itemIcon">
|
||||||
|
<path d="M24 10H14V0h-4v10H0v4h10v10h4V14h10z" />
|
||||||
|
</svg>
|
||||||
|
<span id="whitelistChannel">__MSG_whitelistChannel__</span>
|
||||||
|
<span id="unwhitelistChannel" style="display: none">__MSG_removeFromWhitelist__</span>
|
||||||
|
</label>
|
||||||
|
<!--github: mbledkowski/toggle-switch-->
|
||||||
|
<label id="disableExtension" for="toggleSwitch" class="toggleSwitchContainer sbControlsMenu-item">
|
||||||
|
<span class="toggleSwitchContainer-switch">
|
||||||
|
<input type="checkbox" style="display:none;" id="toggleSwitch" checked>
|
||||||
|
<span class="switchBg shadow"></span>
|
||||||
|
<span class="switchBg white"></span>
|
||||||
|
<span class="switchBg green"></span>
|
||||||
|
<span class="switchDot"></span>
|
||||||
|
</span>
|
||||||
|
<span id="disableSkipping">__MSG_disableSkipping__</span>
|
||||||
|
<span id="enableSkipping" style="display: none">__MSG_enableSkipping__</span>
|
||||||
|
</label>
|
||||||
|
<button id="optionsButton" class="sbControlsMenu-item" title="__MSG_optionsInfo__">
|
||||||
|
<img src="/icons/settings.svg" alt="Settings icon" width="23" height="23" class="sbControlsMenu-itemIcon" id="sbPopupIconSettings" />
|
||||||
|
__MSG_Options__
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p id="whitelistForceCheck" class="u-mZ hidden">
|
||||||
|
__MSG_forceChannelCheckPopup__
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div id="mainControls" style="display: none">
|
||||||
|
<p class="sbHeader">
|
||||||
|
__MSG_recordTimesDescription__
|
||||||
|
</p>
|
||||||
|
<sub style="margin-bottom: 12px;">__MSG_popupHint__</sub>
|
||||||
|
<div>
|
||||||
|
<button id="sponsorStart" class="sbMediumButton">__MSG_sponsorStart__</button>
|
||||||
|
</div>
|
||||||
|
<div id="submissionSection" style="display: none">
|
||||||
|
<b style="display: block; margin-top: 12px;">__MSG_submissionEditHint__</b>
|
||||||
|
<button id="submitTimes" class="sbMediumButton">__MSG_submitTimesButton__</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h1 class="recordingSubtitle sbHeader" style="display: none">__MSG_yourWork__</h1>
|
||||||
|
<div class="sbYourWorkCols" style="display: none">
|
||||||
|
<div id="usernameElement">
|
||||||
|
<div>
|
||||||
|
<p class="u-mZ">__MSG_Username__:</p>
|
||||||
|
<div id="setUsernameContainer">
|
||||||
|
<p id="usernameValue" class="u-mZ"></p>
|
||||||
|
<button id="setUsernameButton" title="__MSG_setUsername__">
|
||||||
|
<img src="/icons/pencil.svg" alt="__MSG_setUsername__" width="16" height="16" id="sbPopupIconEdit">
|
||||||
|
</button>
|
||||||
|
<button id="copyUserID" title="__MSG_copyPublicID__">
|
||||||
|
<img src="/icons/clipboard.svg" alt="__MSG_copyPublicID__" width="16" height="16" id="sbPopupIconCopyUserID">
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div id="setUsername" style="display: none">
|
||||||
|
<div id="setUsernameStatusContainer" style="display: none">
|
||||||
|
<p id="setUsernameStatus" class="u-mZ"></p>
|
||||||
|
</div>
|
||||||
|
<input id="usernameInput" placeholder="Username">
|
||||||
|
<button id="submitUsername">
|
||||||
|
<img src="/icons/check.svg" alt="__MSG_setUsername__" width="16" height="16" id="sbPopupIconCheck">
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="sponsorTimesContributionsContainer" class="hidden">
|
||||||
|
<div>
|
||||||
|
<p class="u-mZ">__MSG_Submissions__:</p>
|
||||||
|
<span id="sponsorTimesContributionsDisplay">
|
||||||
|
0
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p id="sponsorTimesViewsContainer" style="display: none" class="u-mZ">
|
||||||
|
__MSG_savedPeopleFrom__
|
||||||
|
<b><span id="sponsorTimesViewsDisplay">
|
||||||
|
0
|
||||||
|
</span></b>
|
||||||
|
<span id="sponsorTimesViewsDisplayEndWord">__MSG_Segments__</span>
|
||||||
|
<br>
|
||||||
|
(<b><span id="sponsorTimesOthersTimeSavedDisplay">0</span>
|
||||||
|
<span id="sponsorTimesOthersTimeSavedEndWord">__MSG_minsLower__</span></b>
|
||||||
|
<span>__MSG_youHaveSavedTimeEnd__</span>).
|
||||||
|
</p>
|
||||||
|
<p id="sponsorTimesSkipsDoneContainer" style="display: none" class="u-mZ">
|
||||||
|
__MSG_youHaveSkipped__
|
||||||
|
<b><span id="sponsorTimesSkipsDoneDisplay">
|
||||||
|
0
|
||||||
|
</span></b>
|
||||||
|
<span id="sponsorTimesSkipsDoneEndWord">__MSG_Segments__</span>
|
||||||
|
(<b><span id="sponsorTimeSavedDisplay">
|
||||||
|
0
|
||||||
|
</span>
|
||||||
|
<span id="sponsorTimeSavedEndWord">__MSG_minsLower__</span></b>).
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<footer id="sbFooter" style="display: none">
|
||||||
|
<div id="sponsorTimesDonateContainer" style="display: none; align-items: center; justify-content: center;">
|
||||||
|
<img class="sbHeart" src="/icons/heart.svg" alt="Heart icon" />
|
||||||
|
<a id="sbConsiderDonateLink" href="https://sponsor.ajay.app/donate" target="_blank" rel="noopener">
|
||||||
|
__MSG_considerDonating__
|
||||||
|
</a>
|
||||||
|
<img id="sbCloseDonate" src="/icons/close.png" alt="Close icon" height="8" style="padding-left: 5px; cursor: pointer;" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a href="https://sponsor.ajay.app" target="_blank" rel="noopener">__MSG_website__</a> |
|
||||||
|
<a href="https://sponsor.ajay.app/stats" target="_blank" rel="noopener">__MSG_viewLeaderboard__</a> |
|
||||||
|
<a href="https://github.com/ajayyy/SponsorBlock" target="_blank" rel="noopener">GitHub</a>
|
||||||
|
<br/>
|
||||||
|
<a href="https://discord.gg/SponsorBlock" target="_blank" rel="noopener">Discord</a> |
|
||||||
|
<a href="https://matrix.to/#/#sponsor:ajay.app?via=ajay.app&via=matrix.org&via=mozilla.org" target="_blank" rel="noopener">Matrix</a> |
|
||||||
|
<a id="helpButton">__MSG_help__</a>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<button id="showNoticeAgain" style="display: none">__MSG_showNotice__</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- Scripts that need to load after the html -->
|
||||||
|
<script src="./js/popup.js" async></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||