Epix Zhang

Results 30 comments of Epix Zhang

> 不知道能不能增加一个判断机制,就是没有投稿时间的动态一律判定为广告 这个方法可以的 我写了个poc https://github.com/exzhawk/bilibili_reasonable/blob/10a1c9a8aec794552d2ac0b5467a8fdd0c51a0df/app/src/main/java/me/exz/bilibili_reasonable/MainHook.kt#L67 可以自行编译或用release的apk. use at your own risk 之后发pr

> 刚刚测试,没有效果。 ~~有log吗~~ 应该是另一个过时功能在新版上不适配导致的, 删掉了, 再试一下那个repo (v1.1 tag 编译或release)

> 不知道怎么提取log。 log现在只能`adb logcat | grep bilibili_reasonable` 看, 如果还有问题需要看log, 我把log改到xposed里 试一下v1.1

> 不知道怎么提取log。 试一下v1.2, log在xposed里看. 比如lsposed的话, 在他的log功能那里. 刷新b站动态之后, log里应该会有记录. 为了方便观测可以按右上角三个点清除日志或者滚动到底部再看. 如果有很多 "X小时前" 之类的, 这些应该和你b站里能看到的动态是逐条对应的. 如果log其中有一行只有"投稿了视频"没有"X小时前", 而你在动态里看不到, 那就是过滤成功了. 如果没过滤成功, 这里相关log可以存出来然后把可能相关的部分发出来.

> 明白了,现在暂时没发现广告,等我继续使用几天再反馈结果。 先看看log对不对,log不对肯定过滤不了

FYI, I've made a clumsy implement here. https://github.com/exzhawk/weblate/commit/429569ca88c8d3ec961864a75936d56a28ddcca7 It's too hacky to be PR, so I'll leave it there. A screenshot. ![image](https://user-images.githubusercontent.com/7038938/103483385-e783e480-4e21-11eb-8d49-d305685ac3d5.png)

> https://github.com/banansoppa/tg-mailcap-fix. Works like a charm. Hoping for PR and merge soon.

Well, I did another hack here.. https://github.com/exzhawk/weblate/commit/5aa192ce038bfe8c62980199cc97b4f36b07e68f And https://github.com/exzhawk/weblate/commit/bd2ee7e3dd5fdbd99bda9fdfa2448ebdacbcb26d to sort by descending order first, to make users clicking one time to find the component to contribute. Screenshot ![image](https://user-images.githubusercontent.com/7038938/104808207-9c090780-581f-11eb-85f7-f942c01d732e.png) To...

Well, just figure out exceptions are caused by deleted items. They don't have nosuggestions stat. More hack https://github.com/exzhawk/weblate/commit/da84c75ebd7757f0b78891fb9fcf79b182411160 Hopefully return -1 hurt nobody...

Wow, I'm looking forward to the next release!