1
mirror of https://github.com/revanced/revanced-integrations synced 2025-11-19 03:23:27 +01:00

Compare commits

...

208 Commits

Author SHA1 Message Date
semantic-release-bot
d076fe0dce chore(release): 0.92.2 [skip ci]
## [0.92.2](https://github.com/revanced/revanced-integrations/compare/v0.92.1...v0.92.2) (2023-01-07)

### Bug Fixes

* load numeric preferences as type String ([212d3a7](212d3a72d8))
2023-01-07 13:43:20 +00:00
oSumAtrIX
e833d16bb8 chore: merge branch dev to main (#280) 2023-01-07 14:41:14 +01:00
semantic-release-bot
bcd93db9b8 chore(release): 0.92.2-dev.1 [skip ci]
## [0.92.2-dev.1](https://github.com/revanced/revanced-integrations/compare/v0.92.1...v0.92.2-dev.1) (2023-01-07)

### Bug Fixes

* load numeric preferences as type String ([212d3a7](212d3a72d8))
2023-01-07 13:39:49 +00:00
oSumAtrIX
212d3a72d8 fix: load numeric preferences as type String
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-07 14:19:00 +01:00
semantic-release-bot
758b645913 chore(release): 0.92.1 [skip ci]
## [0.92.1](https://github.com/revanced/revanced-integrations/compare/v0.92.0...v0.92.1) (2023-01-07)

### Bug Fixes

* save preferences with correct type ([56c1a3c](56c1a3c03c))

Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-07 13:29:21 +01:00
oSumAtrIX
e9fd05f4c6 chore: merge branch dev to main 2023-01-07 11:37:53 +01:00
semantic-release-bot
31df68d2c3 chore(release): 0.92.1-dev.1 [skip ci]
## [0.92.1-dev.1](https://github.com/revanced/revanced-integrations/compare/v0.92.0...v0.92.1-dev.1) (2023-01-07)

### Bug Fixes

* save preferences with correct type ([56c1a3c](56c1a3c03c))
2023-01-07 10:32:17 +00:00
oSumAtrIX
56c1a3c03c fix: save preferences with correct type
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-07 11:30:21 +01:00
oSumAtrIX
915b8d371a refactor: early return in saveValue
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-07 11:30:21 +01:00
semantic-release-bot
eea37a9bad chore(release): 0.92.0 [skip ci]
# [0.92.0](https://github.com/revanced/revanced-integrations/compare/v0.91.2...v0.92.0) (2023-01-07)

### Bug Fixes

* ensure thread safety for class `StringRef` ([#273](https://github.com/revanced/revanced-integrations/issues/273)) ([f5c5fcb](f5c5fcb5e4))

### Features

* **youtube:** `remember-playback-rate` patch ([b5c0c84](b5c0c843a5))
2023-01-07 08:49:14 +00:00
oSumAtrIX
05cca001ac chore: merge branch dev to main (#275) 2023-01-07 09:47:28 +01:00
semantic-release-bot
a45a354d19 chore(release): 0.92.0-dev.1 [skip ci]
# [0.92.0-dev.1](https://github.com/revanced/revanced-integrations/compare/v0.91.3-dev.1...v0.92.0-dev.1) (2023-01-07)

### Features

* **youtube:** `remember-playback-rate` patch ([b5c0c84](b5c0c843a5))
2023-01-07 08:45:53 +00:00
oSumAtrIX
070e1666b7 chore: bump dependency versions
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-07 09:39:49 +01:00
oSumAtrIX
b5c0c843a5 feat(youtube): remember-playback-rate patch
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-07 09:39:26 +01:00
oSumAtrIX
2e74fc55eb refactor: simplify SharedPrefHelper class
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-07 09:38:55 +01:00
semantic-release-bot
114a1c4004 chore(release): 0.91.3-dev.1 [skip ci]
## [0.91.3-dev.1](https://github.com/revanced/revanced-integrations/compare/v0.91.2...v0.91.3-dev.1) (2023-01-05)

### Bug Fixes

* ensure thread safety for class `StringRef` ([#273](https://github.com/revanced/revanced-integrations/issues/273)) ([f5c5fcb](f5c5fcb5e4))
2023-01-05 21:23:31 +00:00
LisoUseInAIKyrios
f5c5fcb5e4 fix: ensure thread safety for class StringRef (#273) 2023-01-05 22:21:41 +01:00
8cAyqpVKio
954e60191e build: bump version before executing build task (#274) 2023-01-05 22:18:24 +01:00
semantic-release-bot
499a4deab3 chore(release): 0.91.2 [skip ci]
## [0.91.2](https://github.com/revanced/revanced-integrations/compare/v0.91.1...v0.91.2) (2023-01-04)

### Bug Fixes

* **youtube/return-youtube-dislike:** use manufacturer specific span styles ([#265](https://github.com/revanced/revanced-integrations/issues/265)) ([8f8e8ea](8f8e8ea87e))
2023-01-04 16:55:33 +00:00
oSumAtrIX
01f79a3398 chore: merge branch dev to main (#272) 2023-01-04 17:51:10 +01:00
LisoUseInAIKyrios
8f8e8ea87e fix(youtube/return-youtube-dislike): use manufacturer specific span styles (#265)
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-04 17:49:42 +01:00
hyunsu15
0fc94e2305 refactor: use existing method ReVancedUtils.getIdentifier (#271) 2023-01-04 16:32:18 +01:00
semantic-release-bot
25604cec0a chore(release): 0.91.1 [skip ci]
## [0.91.1](https://github.com/revanced/revanced-integrations/compare/v0.91.0...v0.91.1) (2023-01-02)

### Bug Fixes

* revert removing workaround task `publish` ([64c31b8](64c31b84e7))
* **twitch/block-embedded-ads:** rewrite Kotlin classes to Java ([#270](https://github.com/revanced/revanced-integrations/issues/270)) ([843dd9d](843dd9de9e))
2023-01-02 08:05:21 +00:00
oSumAtrIX
dd11c6e062 chore: merge branch dev to main (#269) 2023-01-02 09:01:28 +01:00
oSumAtrIX
64c31b84e7 fix: revert removing workaround task publish
This reverts commit 89f866d739.
2023-01-02 08:57:11 +01:00
oSumAtrIX
843dd9de9e fix(twitch/block-embedded-ads): rewrite Kotlin classes to Java (#270)
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-02 08:55:19 +01:00
oSumAtrIX
bc635a79c5 build: name output files & minor refactor 2023-01-02 02:58:20 +01:00
oSumAtrIX
4c18633c36 build: name output files
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-02 02:51:34 +01:00
oSumAtrIX
4a3d20e1f0 chore: set versionName
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-02 02:50:05 +01:00
oSumAtrIX
8de014583e chore: bump build tools version
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-02 02:49:43 +01:00
oSumAtrIX
993aadd4df chore: update sdk versions
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-02 02:49:09 +01:00
oSumAtrIX
89f866d739 refactor: remove workaround task publish
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-02 02:48:51 +01:00
oSumAtrIX
6fd81770bf chore: rename root project name
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-01-02 02:48:13 +01:00
semantic-release-bot
a600239bbf chore(release): 0.91.0 [skip ci]
# [0.91.0](https://github.com/revanced/revanced-integrations/compare/v0.90.0...v0.91.0) (2022-12-31)

### Bug Fixes

* **youtube/general-ads:** restore swipe back to exit gesture ([#264](https://github.com/revanced/revanced-integrations/issues/264)) ([76c36da](76c36daee0))

### Features

* **youtube:** `copy-video-url` patch ([#263](https://github.com/revanced/revanced-integrations/issues/263)) ([e856d9d](e856d9dccd))
2022-12-31 20:24:14 +00:00
oSumAtrIX
cb560ff097 chore: merge branch dev to main (#266) 2022-12-31 21:20:20 +01:00
oSumAtrIX
a9f55d7512 build: do not comment on successful releases 2022-12-31 21:16:28 +01:00
semantic-release-bot
fcc5337d76 chore(release): 0.91.0-dev.2 [skip ci]
# [0.91.0-dev.2](https://github.com/revanced/revanced-integrations/compare/v0.91.0-dev.1...v0.91.0-dev.2) (2022-12-31)

### Bug Fixes

* **youtube/general-ads:** restore swipe back to exit gesture ([#264](https://github.com/revanced/revanced-integrations/issues/264)) ([76c36da](76c36daee0))
2022-12-31 18:20:43 +00:00
0xrxL
76c36daee0 fix(youtube/general-ads): restore swipe back to exit gesture (#264)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-12-31 19:16:52 +01:00
semantic-release-bot
f6335267f2 chore(release): 0.91.0-dev.1 [skip ci]
# [0.91.0-dev.1](https://github.com/revanced/revanced-integrations/compare/v0.90.0...v0.91.0-dev.1) (2022-12-31)

### Features

* **youtube:** `copy-video-url` patch ([#263](https://github.com/revanced/revanced-integrations/issues/263)) ([e856d9d](e856d9dccd))
2022-12-31 17:51:33 +00:00
aliernfrog
e856d9dccd feat(youtube): copy-video-url patch (#263)
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-12-31 18:47:57 +01:00
semantic-release-bot
1f74ccf800 chore(release): 0.90.0 [skip ci]
# [0.90.0](https://github.com/revanced/revanced-integrations/compare/v0.89.0...v0.90.0) (2022-12-31)

### Features

* **youtube/return-youtube-dislike:** better formatting and LTR support ([#252](https://github.com/revanced/revanced-integrations/issues/252)) ([b839600](b839600728))

### Performance Improvements

* **youtube/general-ads-patch:** reduce list of ignored component names ([#261](https://github.com/revanced/revanced-integrations/issues/261)) ([8d233a2](8d233a2f82))
2022-12-31 06:45:39 +00:00
oSumAtrIX
240c3888cb chore: merge branch dev to main (#262) 2022-12-31 07:40:55 +01:00
LisoUseInAIKyrios
b839600728 feat(youtube/return-youtube-dislike): better formatting and LTR support (#252)
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-12-31 07:38:47 +01:00
semantic-release-bot
a26975611e chore(release): 0.89.1-dev.1 [skip ci]
## [0.89.1-dev.1](https://github.com/revanced/revanced-integrations/compare/v0.89.0...v0.89.1-dev.1) (2022-12-30)

### Performance Improvements

* **youtube/general-ads-patch:** reduce list of ignored component names ([#261](https://github.com/revanced/revanced-integrations/issues/261)) ([8d233a2](8d233a2f82))
2022-12-30 17:48:01 +00:00
0xrxL
8d233a2f82 perf(youtube/general-ads-patch): reduce list of ignored component names (#261) 2022-12-30 18:44:36 +01:00
semantic-release-bot
115af48d86 chore(release): 0.89.0 [skip ci]
# [0.89.0](https://github.com/revanced/revanced-integrations/compare/v0.88.0...v0.89.0) (2022-12-30)

### Features

* **youtube/general-ads-patch:** hide channel member shelf ([#257](https://github.com/revanced/revanced-integrations/issues/257)) ([87799e5](87799e5c55))
2022-12-30 04:24:53 +00:00
oSumAtrIX
c9bd832ee5 chore: merge branch dev to main (#260) 2022-12-30 05:20:56 +01:00
semantic-release-bot
35fb757258 chore(release): 0.89.0-dev.1 [skip ci]
# [0.89.0-dev.1](https://github.com/revanced/revanced-integrations/compare/v0.88.0...v0.89.0-dev.1) (2022-12-30)

### Features

* **youtube/general-ads-patch:** hide channel member shelf ([#257](https://github.com/revanced/revanced-integrations/issues/257)) ([87799e5](87799e5c55))
2022-12-30 04:19:48 +00:00
0xrxL
87799e5c55 feat(youtube/general-ads-patch): hide channel member shelf (#257)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-12-30 05:16:18 +01:00
oSumAtrIX
311524c2c9 ci: do not escape in environment variable MESSAGE
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-12-29 19:16:29 +01:00
semantic-release-bot
b9fa8d6c09 chore(release): 0.88.0 [skip ci]
# [0.88.0](https://github.com/revanced/revanced-integrations/compare/v0.87.0...v0.88.0) (2022-12-29)

### Features

* **youtube:** `hide-breaking-news-shelf` patch ([#258](https://github.com/revanced/revanced-integrations/issues/258)) ([eec90ee](eec90ee04c))
2022-12-29 16:56:13 +00:00
oSumAtrIX
f122598e08 chore: merge branch dev to main (#259) 2022-12-29 17:52:15 +01:00
semantic-release-bot
12ee45bb68 chore(release): 0.88.0-dev.1 [skip ci]
# [0.88.0-dev.1](https://github.com/revanced/revanced-integrations/compare/v0.87.0...v0.88.0-dev.1) (2022-12-29)

### Features

* **youtube:** `hide-breaking-news-shelf` patch ([#258](https://github.com/revanced/revanced-integrations/issues/258)) ([eec90ee](eec90ee04c))
2022-12-29 16:52:01 +00:00
0xrxL
eec90ee04c feat(youtube): hide-breaking-news-shelf patch (#258)
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-12-29 17:48:18 +01:00
oSumAtrIX
0682c4c671 chore: merge branch dev to main (#253) 2022-12-26 19:33:43 +01:00
oSumAtrIX
59031d95ea ci: back-merge releases back into dev branch 2022-12-26 19:21:23 +01:00
oSumAtrIX
38e3906240 ci: do not release on build commit type 2022-12-26 19:19:29 +01:00
oSumAtrIX
5ed6a57df2 ci: open pull requests to merge dev to main 2022-12-26 19:10:57 +01:00
semantic-release-bot
33b99f0061 chore(release): 0.87.0 [skip ci]
# [0.87.0](https://github.com/revanced/revanced-integrations/compare/v0.86.1...v0.87.0) (2022-12-26)

### Features

* **youtube/general-ads-patch:** hide guidelines for subscriber ([#249](https://github.com/revanced/revanced-integrations/issues/249)) ([f4e8afe](f4e8afe7ba))
2022-12-26 17:32:27 +00:00
0xrxL
f4e8afe7ba feat(youtube/general-ads-patch): hide guidelines for subscriber (#249) 2022-12-26 18:27:37 +01:00
semantic-release-bot
878ac2a9fa chore(release): 0.86.1 [skip ci]
## [0.86.1](https://github.com/revanced/revanced-integrations/compare/v0.86.0...v0.86.1) (2022-12-24)

### Bug Fixes

* **youtube/theme:** correct background color for the shorts comment box ([#239](https://github.com/revanced/revanced-integrations/issues/239)) ([9ab8a64](9ab8a646ed))
2022-12-24 22:45:57 +00:00
hyunsu15
b663880741 refactor: apply return oriented programming convention (#248)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-12-22 21:14:41 +01:00
0xrxL
9ab8a646ed fix(youtube/theme): correct background color for the shorts comment box (#239)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-12-22 07:39:41 +01:00
semantic-release-bot
2002bf8063 chore(release): 0.86.0 [skip ci]
# [0.86.0](https://github.com/revanced/revanced-integrations/compare/v0.85.1...v0.86.0) (2022-12-21)

### Features

* **youtube/return-youtube-dislike:** debug connection statistics, toast on error, high priority background threads ([#236](https://github.com/revanced/revanced-integrations/issues/236)) ([693ef08](693ef08c6c))
2022-12-21 21:23:12 +00:00
LisoUseInAIKyrios
693ef08c6c feat(youtube/return-youtube-dislike): debug connection statistics, toast on error, high priority background threads (#236)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-12-21 22:19:34 +01:00
semantic-release-bot
84377b2da4 chore(release): 0.85.1 [skip ci]
## [0.85.1](https://github.com/revanced/revanced-integrations/compare/v0.85.0...v0.85.1) (2022-12-21)

### Bug Fixes

* revert semantically incorrect simplification of ˋAdRemoverAPI.HideViewWithLayout1dpˋ ([#244](https://github.com/revanced/revanced-integrations/issues/244)) ([71e81a6](71e81a6473))
2022-12-21 13:40:29 +00:00
oSumAtrIX
71e81a6473 fix: revert semantically incorrect simplification of ˋAdRemoverAPI.HideViewWithLayout1dpˋ (#244) 2022-12-21 14:37:05 +01:00
semantic-release-bot
5839f6ca4a chore(release): 0.85.0 [skip ci]
# [0.85.0](https://github.com/revanced/revanced-integrations/compare/v0.84.2...v0.85.0) (2022-12-21)

### Features

* **youtube/general-ads:** hide grid of shorts ([d125d20](d125d20974))
2022-12-21 06:31:04 +00:00
oSumAtrIX
d125d20974 feat(youtube/general-ads): hide grid of shorts 2022-12-21 07:26:49 +01:00
semantic-release-bot
5dd68e23f8 chore(release): 0.84.2 [skip ci]
## [0.84.2](https://github.com/revanced/revanced-integrations/compare/v0.84.1...v0.84.2) (2022-12-20)

### Bug Fixes

* migrate old to new settings correctly ([#241](https://github.com/revanced/revanced-integrations/issues/241)) ([98ce2df](98ce2df47d))
2022-12-20 08:22:39 +00:00
LisoUseInAIKyrios
98ce2df47d fix: migrate old to new settings correctly (#241) 2022-12-20 09:19:13 +01:00
0xrxL
0a6022c258 refactor(youtube/general-ads-patch): ignore comment components #238) 2022-12-19 16:01:21 +01:00
hyunsu15
a550d16c3f refactor : simplify AdRemoverAPI.HideViewWithLayout1dp (#240) 2022-12-19 15:05:33 +01:00
semantic-release-bot
04a89af1c9 chore(release): 0.84.1 [skip ci]
## [0.84.1](https://github.com/revanced/revanced-integrations/compare/v0.84.0...v0.84.1) (2022-12-18)

### Performance Improvements

* **youtube/general-ads-patch:** reduce amount of ignored components ([#237](https://github.com/revanced/revanced-integrations/issues/237)) ([bf368e8](bf368e8dd4))
2022-12-18 21:41:26 +00:00
0xrxL
bf368e8dd4 perf(youtube/general-ads-patch): reduce amount of ignored components (#237) 2022-12-18 22:38:03 +01:00
semantic-release-bot
4afa162f46 chore(release): 0.84.0 [skip ci]
# [0.84.0](https://github.com/revanced/revanced-integrations/compare/v0.83.1...v0.84.0) (2022-12-08)

### Features

* **youtube/general-ads:** block new ad in home feed ([934b981](934b981605))
2022-12-08 20:32:47 +00:00
oSumAtrIX
66f5808863 build: use cache for node 2022-12-08 21:28:20 +01:00
oSumAtrIX
57c56b630a build: fix argument order 2022-12-08 21:11:37 +01:00
oSumAtrIX
edaf70fd10 build: update Java version 2022-12-08 21:11:37 +01:00
oSumAtrIX
c309646d35 build: simplify step Cancel previous runs 2022-12-08 21:11:36 +01:00
oSumAtrIX
934b981605 feat(youtube/general-ads): block new ad in home feed 2022-12-08 20:20:31 +01:00
oSumAtrIX
57969661dd build: update gradle 2022-12-08 20:20:30 +01:00
oSumAtrIX
376168fecf build: use latest node version 2022-12-07 01:25:35 +01:00
semantic-release-bot
e8342ec15b chore(release): 0.83.1 [skip ci]
## [0.83.1](https://github.com/revanced/revanced-integrations/compare/v0.83.0...v0.83.1) (2022-12-06)

### Bug Fixes

* inconsistencies in preference switches ([#235](https://github.com/revanced/revanced-integrations/issues/235)) ([d64a0f9](d64a0f9599))
2022-12-06 22:52:25 +00:00
Lisouseinaikyrios
d64a0f9599 fix: inconsistencies in preference switches (#235) 2022-12-06 23:47:33 +01:00
semantic-release-bot
b93b03dc19 chore(release): 0.83.0 [skip ci]
# [0.83.0](https://github.com/revanced/revanced-integrations/compare/v0.82.0...v0.83.0) (2022-12-05)

### Features

* **twitch:** `block-embedded-ads` patch ([#231](https://github.com/revanced/revanced-integrations/issues/231)) ([a098594](a098594706))
2022-12-05 23:16:27 +00:00
Ushie
a098594706 feat(twitch): block-embedded-ads patch (#231)
Co-authored-by: Tim Schneeberger <tim.schneeberger@outlook.de>
2022-12-06 00:11:55 +01:00
semantic-release-bot
8805851a09 chore(release): 0.82.0 [skip ci]
# [0.82.0](https://github.com/revanced/revanced-integrations/compare/v0.81.0...v0.82.0) (2022-12-05)

### Features

* **youtube/debugging:** print stack traces ([a9d2487](a9d24872a8))
* **youtube/return-youtube-dislike:** do not debug log when updating the text ([080e22b](080e22b1bf))
2022-12-05 05:39:37 +00:00
oSumAtrIX
a9d24872a8 feat(youtube/debugging): print stack traces 2022-12-05 06:35:04 +01:00
oSumAtrIX
080e22b1bf feat(youtube/return-youtube-dislike): do not debug log when updating the text 2022-12-05 06:35:03 +01:00
semantic-release-bot
5a028ab834 chore(release): 0.81.0 [skip ci]
# [0.81.0](https://github.com/revanced/revanced-integrations/compare/v0.80.0...v0.81.0) (2022-12-03)

### Features

* **youtube/return-youtube-dislike:** show dislike as a percentage ([#234](https://github.com/revanced/revanced-integrations/issues/234)) ([7840bc4](7840bc48ba))
2022-12-03 16:26:47 +00:00
LisousEinaiKyrios
7840bc48ba feat(youtube/return-youtube-dislike): show dislike as a percentage (#234)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-12-03 17:23:00 +01:00
semantic-release-bot
718c5a75c1 chore(release): 0.80.0 [skip ci]
# [0.80.0](https://github.com/revanced/revanced-integrations/compare/v0.79.1...v0.80.0) (2022-11-30)

### Features

* **twitch:** remove `block-embedded-ads` patch ([#230](https://github.com/revanced/revanced-integrations/issues/230)) ([2f32786](2f32786661))
2022-11-30 21:40:22 +00:00
Ushie
2f32786661 feat(twitch): remove block-embedded-ads patch (#230) 2022-11-30 22:36:06 +01:00
semantic-release-bot
3a2536a86e chore(release): 0.79.1 [skip ci]
## [0.79.1](https://github.com/revanced/revanced-integrations/compare/v0.79.0...v0.79.1) (2022-11-30)

### Bug Fixes

* **youtube/return-youtube-dislike:** feedback when dislikes hidden ([#224](https://github.com/revanced/revanced-integrations/issues/224)) ([37869dc](37869dc5b8))
2022-11-30 19:01:50 +00:00
LisousEinaiKyrios
37869dc5b8 fix(youtube/return-youtube-dislike): feedback when dislikes hidden (#224)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-11-30 19:58:11 +01:00
semantic-release-bot
9dc9ce364c chore(release): 0.79.0 [skip ci]
# [0.79.0](https://github.com/revanced/revanced-integrations/compare/v0.78.1...v0.79.0) (2022-11-30)

### Features

* **twitch:** `block-embedded-ads` patch support ([#227](https://github.com/revanced/revanced-integrations/issues/227)) ([00ea006](00ea006b8c))
2022-11-30 14:11:55 +00:00
Tim Schneeberger
00ea006b8c feat(twitch): block-embedded-ads patch support (#227) 2022-11-30 15:07:54 +01:00
LisousEinaiKyrios
617a4eb5d0 refactor: improve logging (#222)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-11-30 00:49:26 +01:00
semantic-release-bot
1351358268 chore(release): 0.78.1 [skip ci]
## [0.78.1](https://github.com/revanced/revanced-integrations/compare/v0.78.0...v0.78.1) (2022-11-29)

### Bug Fixes

* **twitch/settings:** add missing classes ([#226](https://github.com/revanced/revanced-integrations/issues/226)) ([35aa4f9](35aa4f92c6))
2022-11-29 23:48:47 +00:00
Tim Schneeberger
35aa4f92c6 fix(twitch/settings): add missing classes (#226) 2022-11-30 00:45:05 +01:00
semantic-release-bot
bca96cc8b4 chore(release): 0.78.0 [skip ci]
# [0.78.0](https://github.com/revanced/revanced-integrations/compare/v0.77.1...v0.78.0) (2022-11-25)

### Features

* **tiktok:** `sim-spoof` patch ([#219](https://github.com/revanced/revanced-integrations/issues/219)) ([cea3a5e](cea3a5edc7))
2022-11-25 10:23:49 +00:00
d4rkk3y
cea3a5edc7 feat(tiktok): sim-spoof patch (#219)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-11-25 11:19:49 +01:00
semantic-release-bot
44dfea907d chore(release): 0.77.1 [skip ci]
## [0.77.1](https://github.com/revanced/revanced-integrations/compare/v0.77.0...v0.77.1) (2022-11-24)

### Bug Fixes

* **youtube/return-youtube-dislike:** don't block the UI thread ([#221](https://github.com/revanced/revanced-integrations/issues/221)) ([b2eab33](b2eab33e02))
2022-11-24 23:15:14 +00:00
LisousEinaiKyrios
b2eab33e02 fix(youtube/return-youtube-dislike): don't block the UI thread (#221)
Co-authored-by: LisousEinaiKyrios <user@host>
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-11-25 00:10:58 +01:00
semantic-release-bot
a87e366035 chore(release): 0.77.0 [skip ci]
# [0.77.0](https://github.com/revanced/revanced-integrations/compare/v0.76.0...v0.77.0) (2022-11-24)

### Bug Fixes

* invalid syntax error ([d4a23ed](d4a23ed5c9))

### Features

* **youtube/general-ads:** hide movie ad from search ([767201c](767201ce05))
2022-11-24 16:10:29 +00:00
oSumAtrIX
d4a23ed5c9 fix: invalid syntax error 2022-11-24 17:06:53 +01:00
oSumAtrIX
767201ce05 feat(youtube/general-ads): hide movie ad from search 2022-11-24 16:45:25 +01:00
semantic-release-bot
64cfe9c579 chore(release): 0.76.0 [skip ci]
# [0.76.0](https://github.com/revanced/revanced-integrations/compare/v0.75.0...v0.76.0) (2022-11-22)

### Bug Fixes

* **youtube/general-ads:** hide reels shelf ([1f48749](1f48749958))
* **youtube/general-ads:** make restarting mandatory when toggling shorts ([25978ae](25978ae4a4))

### Features

* **youtube/debugging:** do not require restarting on toggle ([ee1f895](ee1f895e87))
2022-11-22 22:46:21 +00:00
oSumAtrIX
25978ae4a4 fix(youtube/general-ads): make restarting mandatory when toggling shorts 2022-11-22 23:41:41 +01:00
oSumAtrIX
1f48749958 fix(youtube/general-ads): hide reels shelf 2022-11-22 23:40:36 +01:00
oSumAtrIX
ee1f895e87 feat(youtube/debugging): do not require restarting on toggle 2022-11-22 19:45:16 +01:00
semantic-release-bot
645669bbc0 chore(release): 0.75.0 [skip ci]
# [0.75.0](https://github.com/revanced/revanced-integrations/compare/v0.74.1...v0.75.0) (2022-11-21)

### Features

* **twitch:** integrations code for patches ([#216](https://github.com/revanced/revanced-integrations/issues/216)) ([d4c3b74](d4c3b74a9a))
2022-11-21 21:57:35 +00:00
Tim Schneeberger
d4c3b74a9a feat(twitch): integrations code for patches (#216)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-11-21 22:53:12 +01:00
semantic-release-bot
24367cea3f chore(release): 0.74.1 [skip ci]
## [0.74.1](https://github.com/revanced/revanced-integrations/compare/v0.74.0...v0.74.1) (2022-11-20)

### Bug Fixes

* **youtube/general-ads:** hide bytecode home ad view ([c3e88c7](c3e88c79e9))
2022-11-20 23:30:14 +00:00
oSumAtrIX
1e3970c3f2 refactor(youtube/general-ads): remove comment 2022-11-21 00:25:42 +01:00
oSumAtrIX
c3e88c79e9 fix(youtube/general-ads): hide bytecode home ad view 2022-11-21 00:25:41 +01:00
oSumAtrIX
b8f0e632c1 refactor(youtube/litho-filter): move classes to their respective file 2022-11-21 00:25:41 +01:00
semantic-release-bot
c0c778b3e6 chore(release): 0.74.0 [skip ci]
# [0.74.0](https://github.com/revanced/revanced-integrations/compare/v0.73.0...v0.74.0) (2022-11-20)

### Features

* **youtube:** `disable-zoom-haptics` patch ([#217](https://github.com/revanced/revanced-integrations/issues/217)) ([fe74f6d](fe74f6d8a6))
2022-11-20 14:05:44 +00:00
aliernfrog
fe74f6d8a6 feat(youtube): disable-zoom-haptics patch (#217) 2022-11-20 15:02:08 +01:00
semantic-release-bot
5f1e35ae36 chore(release): 0.73.0 [skip ci]
# [0.73.0](https://github.com/revanced/revanced-integrations/compare/v0.72.0...v0.73.0) (2022-11-20)

### Features

* **youtube/general-ads:** block the separator by its identifier ([6ceff7c](6ceff7c9b3))
2022-11-20 01:53:33 +00:00
oSumAtrIX
6ceff7c9b3 feat(youtube/general-ads): block the separator by its identifier 2022-11-20 02:49:14 +01:00
semantic-release-bot
d9349d4e88 chore(release): 0.72.0 [skip ci]
# [0.72.0](https://github.com/revanced/revanced-integrations/compare/v0.71.0...v0.72.0) (2022-11-19)

### Bug Fixes

* check if filter string is empty ([6604030](66040302a9))
* **youtube/general-ads:** hide ads with buttons ([2c8b234](2c8b23426f))

### Features

* block rule of type `CustomBlockRule` ([571cf12](571cf12dca))
* **youtube/general-ads:** custom component filter ([72a3cd0](72a3cd0fac))
* **youtube/general-ads:** do not require to reload on general ads switch ([6272e4b](6272e4b467))
* **youtube/general-ads:** hide gray separators ([cf892de](cf892de4bb))
2022-11-19 22:36:35 +00:00
oSumAtrIX
b59ee31d57 refactor(youtube/general-ads): restructure class GeneralAdsPatch 2022-11-19 23:32:33 +01:00
oSumAtrIX
2c8b23426f fix(youtube/general-ads): hide ads with buttons 2022-11-19 23:30:48 +01:00
oSumAtrIX
72a3cd0fac feat(youtube/general-ads): custom component filter 2022-11-19 23:30:01 +01:00
oSumAtrIX
6272e4b467 feat(youtube/general-ads): do not require to reload on general ads switch 2022-11-19 23:29:09 +01:00
oSumAtrIX
cf892de4bb feat(youtube/general-ads): hide gray separators 2022-11-19 23:28:45 +01:00
oSumAtrIX
e978ed2c14 refactor: move Extensions.any to BlockRule.contains 2022-11-19 23:25:58 +01:00
oSumAtrIX
570f9eaba1 refactor: protect fields of Filter 2022-11-19 23:25:14 +01:00
oSumAtrIX
571cf12dca feat: block rule of type CustomBlockRule 2022-11-19 23:24:25 +01:00
oSumAtrIX
09c7605f1f refactor: omit unnecessary String.valueOf call 2022-11-19 23:23:09 +01:00
oSumAtrIX
66040302a9 fix: check if filter string is empty 2022-11-19 23:22:34 +01:00
oSumAtrIX
98b31c17b9 refactor(youtube/general-ads): remove unused imports 2022-11-19 22:41:30 +01:00
oSumAtrIX
c517c03e6f refactor(youtube/general-ads): remove unused class 2022-11-18 02:37:38 +01:00
semantic-release-bot
f10b202c93 chore(release): 0.71.0 [skip ci]
# [0.71.0](https://github.com/revanced/revanced-integrations/compare/v0.70.0...v0.71.0) (2022-11-15)

### Bug Fixes

* **youtube/general-ads:** do not force to restart on general ads switches ([0a90289](0a90289dc5))

### Features

* **youtube/general-ads:** hide chapter teaser under videos ([3fb337b](3fb337b856))
* **youtube/general-ads:** hide shorts in search ([d82b989](d82b9898a8))
2022-11-15 01:39:12 +00:00
oSumAtrIX
3fb337b856 feat(youtube/general-ads): hide chapter teaser under videos 2022-11-15 02:35:05 +01:00
oSumAtrIX
d82b9898a8 feat(youtube/general-ads): hide shorts in search 2022-11-15 02:35:05 +01:00
oSumAtrIX
0a90289dc5 fix(youtube/general-ads): do not force to restart on general ads switches 2022-11-15 02:35:04 +01:00
semantic-release-bot
dfd6e7fcce chore(release): 0.70.0 [skip ci]
# [0.70.0](https://github.com/revanced/revanced-integrations/compare/v0.69.2...v0.70.0) (2022-11-14)

### Bug Fixes

* **youtube/general-ads:** do not force to restart on general ads switches ([7f18520](7f18520646))

### Features

* **youtube/general-ads:** hide self sponsored cards ([e93ce3e](e93ce3eaa9))
2022-11-14 23:59:04 +00:00
oSumAtrIX
e93ce3eaa9 feat(youtube/general-ads): hide self sponsored cards 2022-11-15 00:53:12 +01:00
oSumAtrIX
695c59efd4 refactor(youtube): properly separate litho filter patches 2022-11-15 00:46:12 +01:00
oSumAtrIX
22bc4405cf refactor(youtube/general-ads): reformat code 2022-11-15 00:27:22 +01:00
oSumAtrIX
63ee425050 refactor(youtube/general-ads): remove unused setting 2022-11-15 00:27:01 +01:00
oSumAtrIX
7f18520646 fix(youtube/general-ads): do not force to restart on general ads switches 2022-11-15 00:26:41 +01:00
semantic-release-bot
d18bc1856b chore(release): 0.69.2 [skip ci]
## [0.69.2](https://github.com/revanced/revanced-integrations/compare/v0.69.1...v0.69.2) (2022-11-14)

### Bug Fixes

* **youtube/general-ads-patch:** revert reducing filter exclusions ([af86dd8](af86dd8ec6))
2022-11-14 21:05:21 +00:00
oSumAtrIX
af86dd8ec6 fix(youtube/general-ads-patch): revert reducing filter exclusions 2022-11-14 22:00:45 +01:00
semantic-release-bot
2ebadaf07f chore(release): 0.69.1 [skip ci]
## [0.69.1](https://github.com/revanced/revanced-integrations/compare/v0.69.0...v0.69.1) (2022-11-14)

### Bug Fixes

* **youtube/theme:** revert comment box background color hook ([#210](https://github.com/revanced/revanced-integrations/issues/210)) ([197f003](197f0034a1))
2022-11-14 15:13:51 +00:00
oSumAtrIX
197f0034a1 fix(youtube/theme): revert comment box background color hook (#210)
This reverts commit f8cb38e57a.
2022-11-14 16:10:15 +01:00
semantic-release-bot
06c5a9b2b8 chore(release): 0.69.0 [skip ci]
# [0.69.0](https://github.com/revanced/revanced-integrations/compare/v0.68.3...v0.69.0) (2022-11-14)

### Features

* **youtube/theme:** color explore drawer background ([#203](https://github.com/revanced/revanced-integrations/issues/203)) ([cb40408](cb404086ad))
2022-11-14 14:56:06 +00:00
OxrxL
cb404086ad feat(youtube/theme): color explore drawer background (#203)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-11-14 15:51:51 +01:00
semantic-release-bot
18192ac73e chore(release): 0.68.3 [skip ci]
## [0.68.3](https://github.com/revanced/revanced-integrations/compare/v0.68.2...v0.68.3) (2022-11-13)

### Bug Fixes

* **youtube/general-ads-patch:** exclude playlists wrapper from filtering ([#206](https://github.com/revanced/revanced-integrations/issues/206)) ([e357ac6](e357ac664b))
2022-11-13 22:20:39 +00:00
OxrxL
e357ac664b fix(youtube/general-ads-patch): exclude playlists wrapper from filtering (#206) 2022-11-13 23:17:00 +01:00
semantic-release-bot
2f2a595c89 chore(release): 0.68.2 [skip ci]
## [0.68.2](https://github.com/revanced/revanced-integrations/compare/v0.68.1...v0.68.2) (2022-11-13)

### Performance Improvements

* **youtube/general-ads-patch:** reduce amount of components to filter ([#204](https://github.com/revanced/revanced-integrations/issues/204)) ([502feaf](502feaf444))
2022-11-13 19:19:12 +00:00
OxrxL
502feaf444 perf(youtube/general-ads-patch): reduce amount of components to filter (#204) 2022-11-13 20:15:49 +01:00
semantic-release-bot
b4e03412ee chore(release): 0.68.1 [skip ci]
## [0.68.1](https://github.com/revanced/revanced-integrations/compare/v0.68.0...v0.68.1) (2022-11-13)

### Bug Fixes

* **youtube/theme:** return correct color value ([#202](https://github.com/revanced/revanced-integrations/issues/202)) ([f8cb38e](f8cb38e57a))
2022-11-13 03:50:43 +00:00
OxrxL
f8cb38e57a fix(youtube/theme): return correct color value (#202) 2022-11-13 04:46:57 +01:00
semantic-release-bot
9e5e81875a chore(release): 0.68.0 [skip ci]
# [0.68.0](https://github.com/revanced/revanced-integrations/compare/v0.67.2...v0.68.0) (2022-11-09)

### Features

* **youtube:** `open-links-directly` patch ([#201](https://github.com/revanced/revanced-integrations/issues/201)) ([c3c1656](c3c16563ea))
2022-11-09 20:46:31 +00:00
johnconner122
c3c16563ea feat(youtube): open-links-directly patch (#201) 2022-11-09 21:42:24 +01:00
semantic-release-bot
302b57d8f0 chore(release): 0.67.2 [skip ci]
## [0.67.2](https://github.com/revanced/revanced-integrations/compare/v0.67.1...v0.67.2) (2022-11-08)

### Bug Fixes

* **youtube/hide-endscreen-cards:** restore functionality ([#200](https://github.com/revanced/revanced-integrations/issues/200)) ([d866558](d86655874b))
2022-11-08 17:11:07 +00:00
OxrxL
d86655874b fix(youtube/hide-endscreen-cards): restore functionality (#200)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-11-08 18:07:30 +01:00
semantic-release-bot
cc2bab4e39 chore(release): 0.67.1 [skip ci]
## [0.67.1](https://github.com/revanced/revanced-integrations/compare/v0.67.0...v0.67.1) (2022-11-07)

### Bug Fixes

* **youtube/hide-info-cards:** remove initial popup of info-cards ([#199](https://github.com/revanced/revanced-integrations/issues/199)) ([85971bc](85971bcd5e))
2022-11-07 23:15:52 +00:00
OxrxL
85971bcd5e fix(youtube/hide-info-cards): remove initial popup of info-cards (#199)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-11-08 00:11:49 +01:00
semantic-release-bot
f475c28f3d chore(release): 0.67.0 [skip ci]
# [0.67.0](https://github.com/revanced/revanced-integrations/compare/v0.66.0...v0.67.0) (2022-11-05)

### Bug Fixes

* **fix-playback:** seek to maximum end ([fd69010](fd69010def))
* remove left over not existing code references ([ac81695](ac81695747))

### Features

* **video-information:** hook video time ([6aa0ca9](6aa0ca9556))
2022-11-05 23:04:19 +00:00
oSumAtrIX
ac81695747 fix: remove left over not existing code references 2022-11-06 00:00:54 +01:00
Nico Mexis
3427f885fb build: update workflow actions (#198) [skip ci] 2022-11-05 15:25:38 +01:00
oSumAtrIX
9bdac3356d refactor: move classes to correct packages & name them properly 2022-11-05 06:25:19 +01:00
oSumAtrIX
fd69010def fix(fix-playback): seek to maximum end 2022-11-05 06:24:32 +01:00
oSumAtrIX
6aa0ca9556 feat(video-information): hook video time 2022-11-05 06:24:07 +01:00
oSumAtrIX
98eaf9c3f2 refactor: remove unused classes 2022-11-05 03:19:09 +01:00
oSumAtrIX
8e36da0b19 refactor(youtube/general-ads): fix settings enum name 2022-11-05 02:53:33 +01:00
semantic-release-bot
1433b34c7e chore(release): 0.66.0 [skip ci]
# [0.66.0](https://github.com/revanced/revanced-integrations/compare/v0.65.0...v0.66.0) (2022-11-01)

### Features

* **youtube:** bump patches compatibility to v17.43.36 ([#194](https://github.com/revanced/revanced-integrations/issues/194)) ([6da66be](6da66be067))
2022-11-01 17:47:41 +00:00
OxrxL
6da66be067 feat(youtube): bump patches compatibility to v17.43.36 (#194) 2022-11-01 18:44:13 +01:00
semantic-release-bot
b5a93a0cd9 chore(release): 0.65.0 [skip ci]
# [0.65.0](https://github.com/revanced/revanced-integrations/compare/v0.64.1...v0.65.0) (2022-11-01)

### Features

* **youtube/fix-playback:** check faster for video length ([ac69b36](ac69b36773))
2022-11-01 06:32:11 +00:00
oSumAtrIX
ac69b36773 feat(youtube/fix-playback): check faster for video length 2022-11-01 07:28:34 +01:00
semantic-release-bot
81d3afd065 chore(release): 0.64.1 [skip ci]
## [0.64.1](https://github.com/revanced/revanced-integrations/compare/v0.64.0...v0.64.1) (2022-11-01)

### Bug Fixes

* **youtube/video-ads:** add switch to temporarily fix buffering issues ([8b4bed8](8b4bed8ab3))
2022-11-01 06:14:56 +00:00
oSumAtrIX
8b4bed8ab3 fix(youtube/video-ads): add switch to temporarily fix buffering issues 2022-11-01 07:11:14 +01:00
semantic-release-bot
b13d692ef1 chore(release): 0.64.0 [skip ci]
# [0.64.0](https://github.com/revanced/revanced-integrations/compare/v0.63.1...v0.64.0) (2022-10-30)

### Features

* `hide-watch-in-vr` patch ([#191](https://github.com/revanced/revanced-integrations/issues/191)) ([fb20ae1](fb20ae19e8))
2022-10-30 12:05:49 +00:00
inotia00
fb20ae19e8 feat: hide-watch-in-vr patch (#191) 2022-10-30 13:02:22 +01:00
semantic-release-bot
889a7d8460 chore(release): 0.63.1 [skip ci]
## [0.63.1](https://github.com/revanced/revanced-integrations/compare/v0.63.0...v0.63.1) (2022-10-30)

### Bug Fixes

* **youtube/general-ads-patch:** `BlockRule` for comments on old and new layout ([#192](https://github.com/revanced/revanced-integrations/issues/192)) ([d28d657](d28d65734e))
2022-10-30 11:56:02 +00:00
OxrxL
d28d65734e fix(youtube/general-ads-patch): BlockRule for comments on old and new layout (#192)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-10-30 12:51:41 +01:00
semantic-release-bot
1c021b1a50 chore(release): 0.63.0 [skip ci]
# [0.63.0](https://github.com/revanced/revanced-integrations/compare/v0.62.0...v0.63.0) (2022-10-29)

### Features

* **youtube/sponsorblock:** skip segments once automatically ([#190](https://github.com/revanced/revanced-integrations/issues/190)) ([06bebd7](06bebd7017))
2022-10-29 21:18:41 +00:00
thebestnom
06bebd7017 feat(youtube/sponsorblock): skip segments once automatically (#190) 2022-10-29 23:14:20 +02:00
semantic-release-bot
d745e29395 chore(release): 0.62.0 [skip ci]
# [0.62.0](https://github.com/revanced/revanced-integrations/compare/v0.61.0...v0.62.0) (2022-10-29)

### Features

* **youtube/comments:** hide shorts comments button ([#188](https://github.com/revanced/revanced-integrations/issues/188)) ([69a585d](69a585da6f))
2022-10-29 14:06:18 +00:00
OxrxL
69a585da6f feat(youtube/comments): hide shorts comments button (#188) 2022-10-29 16:02:14 +02:00
semantic-release-bot
7050cefe10 chore(release): 0.61.0 [skip ci]
# [0.61.0](https://github.com/revanced/revanced-integrations/compare/v0.60.0...v0.61.0) (2022-10-29)

### Features

* **youtube/microg-support:** handle availability of Vanced MicroG ([afa9d3c](afa9d3cbb1))
2022-10-29 01:07:10 +00:00
oSumAtrIX
afa9d3cbb1 feat(youtube/microg-support): handle availability of Vanced MicroG 2022-10-29 03:03:43 +02:00
semantic-release-bot
6762ea4178 chore(release): 0.60.0 [skip ci]
# [0.60.0](https://github.com/revanced/revanced-integrations/compare/v0.59.0...v0.60.0) (2022-10-28)

### Features

* **youtube/return-youtube-dislike:** compatibility for old and new button layout ([a92c932](a92c932a20))
2022-10-28 23:58:59 +00:00
oSumAtrIX
a92c932a20 feat(youtube/return-youtube-dislike): compatibility for old and new button layout 2022-10-29 01:54:03 +02:00
semantic-release-bot
3698a502c3 chore(release): 0.59.0 [skip ci]
# [0.59.0](https://github.com/revanced/revanced-integrations/compare/v0.58.0...v0.59.0) (2022-10-25)

### Bug Fixes

* add missing list separator ([5566cfd](5566cfdda9))

### Features

* `comment` patch ([#185](https://github.com/revanced/revanced-integrations/issues/185)) ([97efc17](97efc17da7))
2022-10-25 21:45:42 +00:00
oSumAtrIX
5566cfdda9 fix: add missing list separator 2022-10-25 23:41:30 +02:00
OxrxL
97efc17da7 feat: comment patch (#185)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-10-25 23:34:57 +02:00
semantic-release-bot
8fdde7046d chore(release): 0.58.0 [skip ci]
# [0.58.0](https://github.com/revanced/revanced-integrations/compare/v0.57.0...v0.58.0) (2022-10-25)

### Features

* `hide-album-cards` patch ([#184](https://github.com/revanced/revanced-integrations/issues/184)) ([74c96be](74c96beb20))
2022-10-25 18:47:56 +00:00
OxrxL
74c96beb20 feat: hide-album-cards patch (#184)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-10-25 20:44:26 +02:00
semantic-release-bot
7014518673 chore(release): 0.57.0 [skip ci]
# [0.57.0](https://github.com/revanced/revanced-integrations/compare/v0.56.0...v0.57.0) (2022-10-25)

### Features

* `hide-artist-card` patch ([#186](https://github.com/revanced/revanced-integrations/issues/186)) ([ac3a835](ac3a835215))
2022-10-25 18:21:14 +00:00
OxrxL
ac3a835215 feat: hide-artist-card patch (#186) 2022-10-25 20:17:46 +02:00
semantic-release-bot
39450109ab chore(release): 0.56.0 [skip ci]
# [0.56.0](https://github.com/revanced/revanced-integrations/compare/v0.55.1...v0.56.0) (2022-10-25)

### Features

* `hide-crowdfunding-box` patch ([#183](https://github.com/revanced/revanced-integrations/issues/183)) ([db71824](db718242e7))
2022-10-25 16:25:11 +00:00
OxrxL
db718242e7 feat: hide-crowdfunding-box patch (#183)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-10-25 18:20:45 +02:00
semantic-release-bot
59c2459353 chore(release): 0.55.1 [skip ci]
## [0.55.1](https://github.com/revanced/revanced-integrations/compare/v0.55.0...v0.55.1) (2022-10-25)

### Bug Fixes

* **youtube/theme:** theme litho UI components ([#176](https://github.com/revanced/revanced-integrations/issues/176)) ([f06935d](f06935ddac))
2022-10-25 08:00:22 +00:00
OxrxL
f06935ddac fix(youtube/theme): theme litho UI components (#176)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-10-25 09:56:39 +02:00
semantic-release-bot
8127f8b390 chore(release): 0.55.0 [skip ci]
# [0.55.0](https://github.com/revanced/revanced-integrations/compare/v0.54.1...v0.55.0) (2022-10-22)

### Bug Fixes

* revert removing getAppContext() ([0be0ffd](0be0ffd42a))

### Features

* remove getAppContext() ([#182](https://github.com/revanced/revanced-integrations/issues/182)) ([f4650b1](f4650b1139))
2022-10-22 14:44:57 +00:00
oSumAtrIX
f4650b1139 feat: remove getAppContext() (#182)
This reverts commit 0be0ffd42a.
2022-10-22 16:40:16 +02:00
oSumAtrIX
0be0ffd42a fix: revert removing getAppContext()
This reverts commit a061614d86.
2022-10-22 16:38:56 +02:00
Canny
a061614d86 refactor: remove getAppContext() (#180) 2022-10-22 12:44:26 +02:00
semantic-release-bot
486019802c chore(release): 0.54.1 [skip ci]
## [0.54.1](https://github.com/revanced/revanced-integrations/compare/v0.54.0...v0.54.1) (2022-10-22)

### Bug Fixes

* **youtube/general-ads:** remove leftover ad banner ([#179](https://github.com/revanced/revanced-integrations/issues/179)) ([0253fef](0253fef2aa))
2022-10-22 10:00:56 +00:00
inotia00
0253fef2aa fix(youtube/general-ads): remove leftover ad banner (#179) 2022-10-22 11:57:17 +02:00
semantic-release-bot
8483a225fb chore(release): 0.54.0 [skip ci]
# [0.54.0](https://github.com/revanced/revanced-integrations/compare/v0.53.0...v0.54.0) (2022-10-20)

### Features

* **youtube:** `hide-captions-button` patch ([#175](https://github.com/revanced/revanced-integrations/issues/175)) ([867645e](867645ea5b))
2022-10-20 20:11:43 +00:00
OxrxL
867645ea5b feat(youtube): hide-captions-button patch (#175)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-10-20 22:08:14 +02:00
135 changed files with 15334 additions and 2763 deletions

24
.github/workflows/pull_request.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: PR to main
on:
push:
branches:
- dev
workflow_dispatch:
env:
MESSAGE: merge branch `${{ github.head_ref || github.ref_name }}` to `main`
jobs:
pull-request:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Open pull request
uses: repo-sync/pull-request@v2
with:
destination_branch: 'main'
pr_title: 'chore: ${{ env.MESSAGE }}'
pr_body: 'This pull request will ${{ env.MESSAGE }}.'
pr_draft: true

View File

@@ -15,25 +15,22 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.0
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout Repo
- name: Cancel previou runs
uses: styfle/cancel-workflow-action@0.11.0
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 11
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'zulu'
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Build with Gradle
run: ./gradlew --no-daemon build
node-version: "latest"
cache: 'npm'
- name: Setup semantic-release
run: npm install -g semantic-release @semantic-release/git @semantic-release/changelog gradle-semantic-release-plugin -D
run: npm install semantic-release @saithodev/semantic-release-backmerge @semantic-release/git @semantic-release/changelog gradle-semantic-release-plugin -D
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -7,11 +7,7 @@
}
],
"plugins": [
["@semantic-release/commit-analyzer", {
"releaseRules": [
{"type": "build", "release": "patch"}
]
}],
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"gradle-semantic-release-plugin",
@@ -31,7 +27,15 @@
{
"path": "app/build/outputs/apk/release/*.apk"
}
]
],
successComment: false
}
],
[
"@saithodev/semantic-release-backmerge",
{
branches: [{from: "main", to: "dev"}],
clearWorkspace: true
}
]
]

File diff suppressed because it is too large Load Diff

View File

@@ -8,29 +8,31 @@ plugins {
android {
compileSdk = 33
buildToolsVersion = "33.0.0"
buildToolsVersion = "33.0.1"
namespace = "app.revanced.integrations"
defaultConfig {
applicationId = "app.revanced.integrations"
minSdk = 23
targetSdk = 33
versionCode = 1
versionName = "1.0"
multiDexEnabled = false
val properties = Properties()
if (rootProject.file("local.properties").exists()) {
properties.load(FileInputStream(rootProject.file("local.properties")))
}
buildConfigField("String", "YT_API_KEY", "\"${properties.getProperty("youtubeAPIKey", "")}\"")
versionName = project.version as String
}
buildTypes {
release {
isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
applicationVariants.all {
outputs.all {
this as com.android.build.gradle.internal.api.ApkVariantOutputImpl
outputFileName = "${rootProject.name}-$versionName.apk"
}
}
}
compileOptions {
@@ -45,4 +47,9 @@ android {
dependencies {
compileOnly(project(mapOf("path" to ":dummy")))
compileOnly("androidx.annotation:annotation:1.5.0")
compileOnly("androidx.appcompat:appcompat:1.5.1")
compileOnly("com.squareup.okhttp3:okhttp:5.0.0-alpha.11")
compileOnly("com.squareup.retrofit2:retrofit:2.9.0")
}
tasks.register("publish") { dependsOn("build") }

View File

@@ -8,8 +8,6 @@ import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.Toolbar;
import app.revanced.integrations.patches.HideShortsButtonPatch;
import app.revanced.integrations.settings.SettingsEnum;
import app.revanced.integrations.utils.LogHelper;
public class AdRemoverAPI {
@@ -37,7 +35,7 @@ public class AdRemoverAPI {
ViewGroup.LayoutParams layoutParams5 = new ViewGroup.LayoutParams(1, 1);
view.setLayoutParams(layoutParams5);
} else {
LogHelper.debug(AdRemoverAPI.class, "HideViewWithLayout1dp - Id: " + view.getId() + " Type: " + view.getClass().getName());
LogHelper.printDebug(() -> "HideViewWithLayout1dp - Id: " + view.getId() + " Type: " + view.getClass().getName());
}
}

View File

@@ -1,12 +1,11 @@
package app.revanced.integrations.patches;
import app.revanced.integrations.adremover.AdRemoverAPI;
import app.revanced.integrations.settings.SettingsEnum;
public class BrandingWaterMarkPatch {
//Used by: app.revanced.patches.youtube.layout.watermark.patch.HideWatermarkPatch
// Used by: app.revanced.patches.youtube.layout.watermark.patch.HideWatermarkPatch
public static boolean isBrandingWatermarkShown() {
return SettingsEnum.BRANDING_SHOWN.getBoolean();
return SettingsEnum.HIDE_VIDEO_WATERMARK.getBoolean() == false;
}
}

View File

@@ -0,0 +1,60 @@
package app.revanced.integrations.patches;
import app.revanced.integrations.settings.SettingsEnum;
import app.revanced.integrations.utils.LogHelper;
final class ButtonsPatch extends Filter {
private final BlockRule actionButtonsRule;
private final BlockRule dislikeRule;
private final BlockRule actionBarRule;
private final BlockRule[] rules;
public ButtonsPatch() {
BlockRule like = new BlockRule(SettingsEnum.HIDE_LIKE_BUTTON, "|like_button");
dislikeRule = new BlockRule(SettingsEnum.HIDE_DISLIKE_BUTTON, "dislike_button");
BlockRule download = new BlockRule(SettingsEnum.HIDE_DOWNLOAD_BUTTON, "download_button");
actionButtonsRule = new BlockRule(SettingsEnum.HIDE_ACTION_BUTTON, "ContainerType|video_action_button");
BlockRule playlist = new BlockRule(SettingsEnum.HIDE_PLAYLIST_BUTTON, "save_to_playlist_button");
rules = new BlockRule[]{like, dislikeRule, download, actionButtonsRule, playlist};
actionBarRule = new BlockRule(null, "video_action_bar");
this.pathRegister.registerAll(
like,
dislikeRule,
download,
playlist
);
}
private boolean hideActionBar() {
for (BlockRule rule : rules) if (!rule.isEnabled()) return false;
return true;
}
@Override
public boolean filter(final String path, final String identifier) {
if (hideActionBar() && actionBarRule.check(identifier).isBlocked()) return true;
var currentIsActionButton = actionButtonsRule.check(path).isBlocked();
if (dislikeRule.check(path).isBlocked()) ActionButton.doNotBlockCounter = 4;
if (currentIsActionButton && ActionButton.doNotBlockCounter-- > 0) {
if (SettingsEnum.HIDE_SHARE_BUTTON.getBoolean()) {
LogHelper.printDebug(() -> "Hiding share button");
return true;
} else return false;
}
if ((currentIsActionButton && ActionButton.doNotBlockCounter <= 0 && actionButtonsRule.isEnabled()) || pathRegister.contains(path)) {
LogHelper.printDebug(() -> "Blocked: " + path);
return true;
} else return false;
}
static class ActionButton {
public static int doNotBlockCounter = 4;
}
}

View File

@@ -0,0 +1,31 @@
package app.revanced.integrations.patches;
import app.revanced.integrations.settings.SettingsEnum;
import app.revanced.integrations.utils.LogHelper;
final class CommentsPatch extends Filter {
public CommentsPatch() {
var comments = new BlockRule(SettingsEnum.HIDE_COMMENTS_SECTION, "video_metadata_carousel", "_comments");
var previewComment = new BlockRule(
SettingsEnum.HIDE_PREVIEW_COMMENT,
"carousel_item",
"comments_entry_point_teaser",
"comments_entry_point_simplebox"
);
this.pathRegister.registerAll(
comments,
previewComment
);
}
@Override
boolean filter(String path, String _identifier) {
if (!pathRegister.contains(path)) return false;
LogHelper.printDebug(() -> "Blocked: " + path);
return true;
}
}

View File

@@ -0,0 +1,27 @@
package app.revanced.integrations.patches;
import android.content.Context;
import android.widget.Toast;
import app.revanced.integrations.sponsorblock.StringRef;
import app.revanced.integrations.utils.LogHelper;
import app.revanced.integrations.utils.ReVancedUtils;
public class CopyVideoUrlPatch {
public static void copyUrl(Boolean withTimestamp) {
try {
String url = String.format("https://youtu.be/%s", VideoInformation.getCurrentVideoId());
if (withTimestamp) {
long seconds = VideoInformation.getVideoTime() / 1000;
url += String.format("?t=%s", seconds);
}
Context context = ReVancedUtils.getContext();
ReVancedUtils.setClipboard(url);
if (context != null) Toast.makeText(context, StringRef.str("share_copy_url_success"), Toast.LENGTH_SHORT).show();
} catch (Exception e) {
LogHelper.printException(() -> "Failed to generate video url", e);
}
}
}

View File

@@ -0,0 +1,42 @@
package app.revanced.integrations.patches;
import com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity;
import app.revanced.integrations.utils.LogHelper;
public class FixBackToExitGesturePatch {
/**
* State whether the scroll position reaches the top.
*/
public static boolean isTopView = false;
/**
* Handle the event after clicking the back button.
*
* @param activity The activity, the app is launched with to finish.
*/
public static void onBackPressed(WatchWhileActivity activity) {
if (!isTopView) return;
LogHelper.printDebug(() -> "Activity is closed");
activity.finish();
}
/**
* Handle the event when the homepage list of views is being scrolled.
*/
public static void onScrollingViews() {
LogHelper.printDebug(() -> "Views are scrolling");
isTopView = false;
}
/**
* Handle the event when the homepage list of views reached the top.
*/
public static void onTopView() {
LogHelper.printDebug(() -> "Scrolling reached the top");
isTopView = true;
}
}

View File

@@ -0,0 +1,40 @@
package app.revanced.integrations.patches;
import app.revanced.integrations.settings.SettingsEnum;
import app.revanced.integrations.utils.LogHelper;
public final class FixPlaybackPatch {
private static Thread currentThread = null;
private static String videoId;
public static void newVideoLoaded(final String videoId) {
if (!SettingsEnum.FIX_PLAYBACK.getBoolean()) return;
if (videoId.equals(FixPlaybackPatch.videoId)) return;
else FixPlaybackPatch.videoId = videoId;
if (currentThread != null) {
currentThread.interrupt();
}
currentThread = new Thread(() -> {
try {
while (true) {
var currentVideoTime = VideoInformation.getVideoTime();
if (currentVideoTime > -1) {
VideoInformation.seekTo(Integer.MAX_VALUE);
VideoInformation.seekTo(currentVideoTime);
return;
}
Thread.sleep(10);
}
} catch (InterruptedException e) {
LogHelper.printDebug(() -> "Thread was interrupted");
}
});
currentThread.start();
}
}

View File

@@ -7,7 +7,7 @@ import app.revanced.integrations.settings.SettingsEnum;
public class FullscreenPanelsRemoverPatch {
public static int getFullscreenPanelsVisibility() {
return SettingsEnum.FULLSCREEN_PANELS_SHOWN.getBoolean() ? View.VISIBLE : View.GONE;
return SettingsEnum.HIDE_FULLSCREEN_PANELS.getBoolean() ? View.GONE : View.VISIBLE;
}
}

View File

@@ -0,0 +1,173 @@
package app.revanced.integrations.patches;
import android.view.View;
import app.revanced.integrations.adremover.AdRemoverAPI;
import app.revanced.integrations.settings.SettingsEnum;
import app.revanced.integrations.utils.LogHelper;
import app.revanced.integrations.utils.ReVancedUtils;
public final class GeneralAdsPatch extends Filter {
private final String[] IGNORE = {
"home_video_with_context",
"related_video_with_context",
"comment_thread", // skip blocking anything in the comments
"|comment.", // skip blocking anything in the comments replies
"library_recent_shelf",
};
private final BlockRule custom = new CustomBlockRule(
SettingsEnum.ADREMOVER_CUSTOM_ENABLED,
SettingsEnum.ADREMOVER_CUSTOM_REMOVAL
);
public GeneralAdsPatch() {
var communityPosts = new BlockRule(SettingsEnum.ADREMOVER_COMMUNITY_POSTS_REMOVAL, "post_base_wrapper");
var communityGuidelines = new BlockRule(SettingsEnum.ADREMOVER_COMMUNITY_GUIDELINES_REMOVAL, "community_guidelines");
var subscribersCommunityGuidelines = new BlockRule(SettingsEnum.ADREMOVER_SUBSCRIBERS_COMMUNITY_GUIDELINES_REMOVAL, "sponsorships_comments_upsell");
var channelMemberShelf = new BlockRule(SettingsEnum.ADREMOVER_CHANNEL_MEMBER_SHELF_REMOVAL, "member_recognition_shelf");
var compactBanner = new BlockRule(SettingsEnum.ADREMOVER_COMPACT_BANNER_REMOVAL, "compact_banner");
var inFeedSurvey = new BlockRule(SettingsEnum.ADREMOVER_FEED_SURVEY_REMOVAL, "in_feed_survey");
var medicalPanel = new BlockRule(SettingsEnum.ADREMOVER_MEDICAL_PANEL_REMOVAL, "medical_panel");
var paidContent = new BlockRule(SettingsEnum.ADREMOVER_PAID_CONTENT_REMOVAL, "paid_content_overlay");
var merchandise = new BlockRule(SettingsEnum.ADREMOVER_MERCHANDISE_REMOVAL, "product_carousel");
var infoPanel = new BlockRule(SettingsEnum.ADREMOVER_INFO_PANEL_REMOVAL, "publisher_transparency_panel", "single_item_information_panel");
var suggestions = new BlockRule(SettingsEnum.ADREMOVER_SUGGESTIONS_REMOVAL, "horizontal_video_shelf");
var latestPosts = new BlockRule(SettingsEnum.ADREMOVER_HIDE_LATEST_POSTS, "post_shelf");
var channelGuidelines = new BlockRule(SettingsEnum.ADREMOVER_HIDE_CHANNEL_GUIDELINES, "channel_guidelines_entry_banner");
var artistCard = new BlockRule(SettingsEnum.HIDE_ARTIST_CARD, "official_card");
var selfSponsor = new BlockRule(SettingsEnum.ADREMOVER_SELF_SPONSOR_REMOVAL, "cta_shelf_card");
var chapterTeaser = new BlockRule(SettingsEnum.ADREMOVER_CHAPTER_TEASER_REMOVAL, "expandable_metadata");
var graySeparator = new BlockRule(SettingsEnum.ADREMOVER_GRAY_SEPARATOR,
"cell_divider" // layout residue (gray line above the buttoned ad),
);
var buttonedAd = new BlockRule(SettingsEnum.ADREMOVER_BUTTONED_REMOVAL,
"video_display_full_buttoned_layout",
"full_width_square_image_layout",
"_ad_with",
"landscape_image_wide_button_layout"
);
var generalAds = new BlockRule(
SettingsEnum.ADREMOVER_GENERAL_ADS_REMOVAL,
"ads_video_with_context",
"banner_text_icon",
"square_image_layout",
"watch_metadata_app_promo",
"video_display_full_layout"
);
var movieAds = new BlockRule(
SettingsEnum.ADREMOVER_MOVIE_REMOVAL,
"browsy_bar",
"compact_movie",
"horizontal_movie_shelf",
"movie_and_show_upsell_card",
"compact_tvfilm_item"
);
this.pathRegister.registerAll(
generalAds,
buttonedAd,
communityPosts,
paidContent,
suggestions,
latestPosts,
movieAds,
chapterTeaser,
communityGuidelines,
compactBanner,
inFeedSurvey,
medicalPanel,
merchandise,
infoPanel,
channelGuidelines,
artistCard,
selfSponsor,
subscribersCommunityGuidelines,
channelMemberShelf
);
var carouselAd = new BlockRule(SettingsEnum.ADREMOVER_GENERAL_ADS_REMOVAL,
"carousel_ad"
);
var shorts = new BlockRule(SettingsEnum.ADREMOVER_SHORTS_REMOVAL,
"reels_player_overlay",
"shorts_shelf",
"inline_shorts",
"shorts_grid"
);
this.identifierRegister.registerAll(
shorts,
graySeparator,
carouselAd
);
}
public boolean filter(final String path, final String identifier) {
BlockResult result;
if (custom.isEnabled() && custom.check(path).isBlocked())
result = BlockResult.CUSTOM;
else if (ReVancedUtils.containsAny(path, IGNORE))
result = BlockResult.IGNORED;
else if (pathRegister.contains(path) || identifierRegister.contains(identifier))
result = BlockResult.DEFINED;
else
result = BlockResult.UNBLOCKED;
log(String.format("%s (ID: %s): %s", result.message, identifier, path));
return result.filter;
}
private enum BlockResult {
UNBLOCKED(false, "Unblocked"),
IGNORED(false, "Ignored"),
DEFINED(true, "Blocked"),
CUSTOM(true, "Custom");
final Boolean filter;
final String message;
BlockResult(boolean filter, String message) {
this.filter = filter;
this.message = message;
}
}
/**
* Hide a view.
*
* @param condition The setting to check for hiding the view.
* @param view The view to hide.
*/
private static void hideView(SettingsEnum condition, View view) {
if (!condition.getBoolean()) return;
log("Hiding view with setting: " + condition);
AdRemoverAPI.HideViewWithLayout1dp(view);
}
/**
* Hide the view, which shows ads in the homepage.
*
* @param view The view, which shows ads.
*/
public static void hideAdAttributionView(View view) {
hideView(SettingsEnum.ADREMOVER_GENERAL_ADS_REMOVAL, view);
}
/**
* Hide the view, which shows reels in the homepage.
*
* @param view The view, which shows reels.
*/
public static void hideReelView(View view) {
hideView(SettingsEnum.ADREMOVER_SHORTS_REMOVAL, view);
}
private static void log(String message) {
LogHelper.printDebug(() -> message);
}
}

View File

@@ -0,0 +1,14 @@
package app.revanced.integrations.patches;
import android.view.View;
import app.revanced.integrations.adremover.AdRemoverAPI;
import app.revanced.integrations.settings.SettingsEnum;
public class HideAlbumCardsPatch {
//Used by app.revanced.patches.youtube.layout.hidealbumcards.patch.HideAlbumCardsPatch
public static void hideAlbumCards(View view) {
if (!SettingsEnum.HIDE_ALBUM_CARDS.getBoolean()) return;
AdRemoverAPI.HideViewWithLayout1dp(view);
}
}

View File

@@ -5,6 +5,6 @@ import app.revanced.integrations.settings.SettingsEnum;
public class HideAutoplayButtonPatch {
public static boolean isButtonShown() {
return SettingsEnum.AUTOPLAY_BUTTON_SHOWN.getBoolean();
return SettingsEnum.HIDE_AUTOPLAY_BUTTON.getBoolean() == false;
}
}

View File

@@ -0,0 +1,14 @@
package app.revanced.integrations.patches;
import android.view.View;
import app.revanced.integrations.adremover.AdRemoverAPI;
import app.revanced.integrations.settings.SettingsEnum;
public class HideBreakingNewsPatch {
//Used by app.revanced.patches.youtube.layout.homepage.breakingnews.patch.BreakingNewsPatch
public static void hideBreakingNews(View view) {
if (!SettingsEnum.HIDE_BREAKING_NEWS.getBoolean()) return;
AdRemoverAPI.HideViewWithLayout1dp(view);
}
}

View File

@@ -0,0 +1,13 @@
package app.revanced.integrations.patches;
import android.widget.ImageView;
import app.revanced.integrations.settings.SettingsEnum;
import app.revanced.integrations.utils.LogHelper;
public class HideCaptionsButtonPatch {
//Used by app.revanced.patches.youtube.layout.hidecaptionsbutton.patch.HideCaptionsButtonPatch
public static void hideCaptionsButton(ImageView imageView) {
imageView.setVisibility(SettingsEnum.HIDE_CAPTIONS_BUTTON.getBoolean() ? ImageView.GONE : ImageView.VISIBLE);
}
}

View File

@@ -6,8 +6,8 @@ import app.revanced.integrations.settings.SettingsEnum;
public class HideCastButtonPatch {
//Used by app.revanced.patches.youtube.layout.castbutton.patch.HideCastButonPatch
// Used by app.revanced.patches.youtube.layout.castbutton.patch.HideCastButonPatch
public static int getCastButtonOverrideV2(int original) {
return SettingsEnum.CAST_BUTTON_SHOWN.getBoolean() ? original : View.GONE;
return SettingsEnum.HIDE_CAST_BUTTON.getBoolean() ? View.GONE : original;
}
}

View File

@@ -9,9 +9,9 @@ public class HideCreateButtonPatch {
//Used by app.revanced.patches.youtube.layout.createbutton.patch.CreateButtonRemoverPatch
public static void hideCreateButton(View view) {
boolean enabled = SettingsEnum.CREATE_BUTTON_ENABLED.getBoolean();
String message = "Create button: " + (enabled ? "shown" : "hidden");
LogHelper.debug(HideCreateButtonPatch.class, message);
view.setVisibility(enabled ? View.VISIBLE : View.GONE);
boolean hidden = SettingsEnum.HIDE_CREATE_BUTTON.getBoolean();
String message = "Create button: " + (hidden ? "hidden" : "shown");
LogHelper.printDebug(() -> message);
view.setVisibility(hidden ? View.GONE : View.VISIBLE);
}
}

View File

@@ -0,0 +1,14 @@
package app.revanced.integrations.patches;
import android.view.View;
import app.revanced.integrations.adremover.AdRemoverAPI;
import app.revanced.integrations.settings.SettingsEnum;
public class HideCrowdfundingBoxPatch {
//Used by app.revanced.patches.youtube.layout.hidecrowdfundingbox.patch.HideCrowdfundingBoxPatch
public static void hideCrowdfundingBox(View view) {
if (!SettingsEnum.HIDE_CROWDFUNDING_BOX.getBoolean()) return;
AdRemoverAPI.HideViewWithLayout1dp(view);
}
}

View File

@@ -4,7 +4,9 @@ import app.revanced.integrations.settings.SettingsEnum;
public class HideEmailAddressPatch {
//Used by app.revanced.patches.youtube.layout.personalinformation.patch.HideEmailAddressPatch
public static boolean hideEmailAddress() {
return SettingsEnum.HIDE_EMAIL_ADDRESS.getBoolean();
public static int hideEmailAddress(int originalValue) {
if (SettingsEnum.HIDE_EMAIL_ADDRESS.getBoolean())
return 8;
return originalValue;
}
}

View File

@@ -0,0 +1,13 @@
package app.revanced.integrations.patches;
import android.view.View;
import app.revanced.integrations.settings.SettingsEnum;
public class HideEndscreenCardsPatch {
//Used by app.revanced.patches.youtube.layout.hideendscreencards.bytecode.patch.HideEndscreenCardsPatch
public static void hideEndscreen(View view) {
if (!SettingsEnum.HIDE_ENDSCREEN_CARDS.getBoolean()) return;
view.setVisibility(View.GONE);
}
}

View File

@@ -1,20 +0,0 @@
package app.revanced.integrations.patches;
import android.view.View;
import app.revanced.integrations.adremover.AdRemoverAPI;
import app.revanced.integrations.settings.SettingsEnum;
public class HideHomeAdsPatch {
/**
* Used by package app.revanced.extensions.Extensions
*
* @param view
*/
public static void HideHomeAds(View view) {
if (!SettingsEnum.HOME_ADS_REMOVAL.getBoolean()) return;
AdRemoverAPI.HideViewWithLayout1dp(view);
}
}

View File

@@ -1,14 +0,0 @@
package app.revanced.integrations.patches;
import android.view.View;
import app.revanced.integrations.settings.SettingsEnum;
public class HideInfoCardSuggestionsPatch {
public static void hideInfoCardSuggestions(View view) {
if (!SettingsEnum.INFO_CARDS_SHOWN.getBoolean()) {
view.setVisibility(View.GONE);
}
}
}

View File

@@ -0,0 +1,16 @@
package app.revanced.integrations.patches;
import android.view.View;
import app.revanced.integrations.settings.SettingsEnum;
public class HideInfocardsPatch {
public static void hideInfocardsIncognito(View view) {
if (!SettingsEnum.HIDE_INFO_CARDS.getBoolean()) return;
view.setVisibility(View.GONE);
}
public static boolean hideInfocardsMethodCall() {
return SettingsEnum.HIDE_INFO_CARDS.getBoolean();
}
}

View File

@@ -13,7 +13,7 @@ public class HideReelsPatch {
* @param view
*/
public static void HideReel(View view) {
if (!SettingsEnum.REEL_BUTTON_SHOWN.getBoolean()) {
if (SettingsEnum.HIDE_REEL_BUTTON.getBoolean()) {
AdRemoverAPI.HideViewWithLayout1dp(view);
}
}

View File

@@ -3,20 +3,19 @@ package app.revanced.integrations.patches;
import android.view.View;
import app.revanced.integrations.adremover.AdRemoverAPI;
import app.revanced.integrations.settings.SettingsEnum;
import app.revanced.integrations.utils.LogHelper;
public class HideShortsButtonPatch {
//Used by app.revanced.patches.youtube.layout.shorts.button.patch.ShortsButtonRemoverPatch
// Used by app.revanced.patches.youtube.layout.shorts.button.patch.ShortsButtonRemoverPatch
public static void hideShortsButton(View view) {
if (lastPivotTab != null && lastPivotTab.name() == "TAB_SHORTS") {
boolean show = SettingsEnum.SHORTS_BUTTON_SHOWN.getBoolean();
String message = show ? "Shorts button: shown" : "Shorts button: hidden";
LogHelper.debug(HideShortsButtonPatch.class, message);
if (!show) {
view.setVisibility(show ? View.VISIBLE : View.GONE);
boolean hide = SettingsEnum.HIDE_SHORTS_BUTTON.getBoolean();
String message = hide ? "Shorts button: hidden" : "Shorts button: shown";
LogHelper.printDebug(() -> message);
if (hide) {
view.setVisibility(hide ? View.GONE : View.VISIBLE);
}
}
}

View File

@@ -0,0 +1,13 @@
package app.revanced.integrations.patches;
import android.view.View;
import app.revanced.integrations.settings.SettingsEnum;
public class HideShortsCommentsButtonPatch {
//Used by app.revanced.patches.youtube.layout.comments.patch.CommentsPatch
public static void hideShortsCommentsButton(View view) {
if (!SettingsEnum.HIDE_SHORTS_COMMENTS_BUTTON.getBoolean()) return;
view.setVisibility(View.GONE);
}
}

View File

@@ -0,0 +1,10 @@
package app.revanced.integrations.patches;
import app.revanced.integrations.settings.SettingsEnum;
public class HideWatchinVRPatch {
//Used by app.revanced.patches.youtube.layout.watchinvr.patch.HideWatchinVRPatch
public static boolean hideWatchinVR() {
return SettingsEnum.HIDE_WATCH_IN_VR.getBoolean();
}
}

View File

@@ -0,0 +1,74 @@
package app.revanced.integrations.patches;
import static app.revanced.integrations.utils.ReVancedUtils.getContext;
import android.content.Context;
import app.revanced.integrations.utils.ThemeHelper;
public class LithoThemePatch {
// color constants used in relation with litho components
private static final int[] WHITE_VALUES = {
-1, // comments chip background
-394759, // music related results panel background
-83886081, // video chapters list background
};
private static final int[] DARK_VALUES = {
-14145496, // explore drawer background
-14606047, // comments chip background
-15198184, // music related results panel background
-15790321, // comments chip background (new layout)
-98492127 // video chapters list background
};
// background colors
private static int whiteColor = 0;
private static int blackColor = 0;
// Used by app.revanced.patches.youtube.layout.theme.patch.LithoThemePatch
/**
* Change the color of Litho components.
* If the color of the component matches one of the values, return the background color .
*
* @param originalValue The original color value.
* @return The new or original color value
*/
public static int applyLithoTheme(int originalValue) {
if (ThemeHelper.isDarkTheme()) {
if (anyEquals(originalValue, DARK_VALUES)) return getBlackColor();
} else {
if (anyEquals(originalValue, WHITE_VALUES)) return getWhiteColor();
}
return originalValue;
}
private static int getBlackColor() {
if (blackColor == 0) blackColor = getColor("yt_black1");
return blackColor;
}
private static int getWhiteColor() {
if (whiteColor == 0) whiteColor = getColor("yt_white1");
return whiteColor;
}
/**
* Determines the color for a color resource.
*
* @param name The color resource name.
* @return The value of the color.
*/
private static int getColor(String name) {
Context context = getContext();
return context != null ? context.getColor(context.getResources()
.getIdentifier(name, "color", context.getPackageName())
) : 0;
}
private static boolean anyEquals(int value, int... of) {
for (int v : of) if (value == v) return true;
return false;
}
}

Some files were not shown because too many files have changed in this diff Show More