TigerBeanst / TigerInTheWall

A 🐯Tiger hides in the wall, waiting to 💀bite the "Intent" passby. 🚫Block annoying superfluous Intent for your Android devices. 👺Magisk needed, named as RnIntentClean before.
https://ic.into.icu/
Apache License 2.0
174 stars 14 forks source link

清理浏览器时应同时 block 其他 scheme #12

Closed Henry-ZHR closed 2 years ago

Henry-ZHR commented 3 years ago

https://github.com/TigerBeanst/RnIntentClean/blob/37ef65726a8131c74751667423b5f09ac941a507/app/src/main/java/com/jakting/shareclean/utils/ext.kt#L77

只有 http 的话,至少在我这只能清理掉 http 链接的打开方式,对 https 链接无效

一个想法是直接查对应的 intent-filter 声明了哪些 scheme,然后全部 block 掉,但我没找到有 API 可以实现

TigerBeanst commented 3 years ago

我之前尝试 zhihu:// 结果没拦下来。。。

Henry-ZHR commented 3 years ago

但至少把 https 拦了吧……

我这里 https 是能拦的