Greasy Fork 支持简体中文。

Twitter: view more replies and remove useless sections

View more replies and remove useless sections from twitter

< 腳本Twitter: view more replies and remove useless sections的回應

評論:正評 - 腳本一切正常

§
發表於:2023-07-13

A suggestion: add options so we can disable auto-clicking to show certain types of replies (example: blocked spambot). Had to manually comment out the bulk that corresponds to "Show additional replies, including those that may contain offensive content" to stop that from showing.

max44作者
§
發表於:2023-07-13

I added this option - it is on the 1st place is settings, please try the new version. "Show additional replies..." is active by default.

§
發表於:2023-07-14

Oh, turns out I didn't have it updated yet!

max44作者
§
發表於:2023-07-14
編輯:2023-07-14

It's okay, I added it only after your request

§
發表於:2023-07-14

Ah, nice! Thanks Max!

max44作者
§
發表於:2023-07-14

You are welcome

§
發表於:2023-08-07

OK, that problem returned... Perhaps there could be a way to check if someone is blocked then don't show it.

max44作者
§
發表於:2023-08-08

My script can do something only if the target can be identified in html-code of the webpage. If someone is blocked, I can see it only if he is marked respectively.

Could you please give me an example of what is wrong? Then I can look for a solution.

§
發表於:2023-08-08
編輯:2023-08-08

It appears the case is that it involves someone having replied to a person that has blocked. In those case, it STILL clicks "View".
Perhaps it should check if:
/html/body/div[1]/div/div/div[2]/main/div/div/div/div[1]/div/section/div/div/div/div/div[7]/div/div/article/div/div/div[2]/div/div/div[1]/div/span/span/span
contains "This Tweet is from an account you blocked." before clicking "view"

It also reminded me to check which of my other scripts automatically hides tweet cards containing "This Tweet is from an account you blocked.".

max44作者
§
發表於:2023-08-09

Ah, I see now the problem. My script clicks the button "View" on the tweets from blocked accounts. But it should not. I have to fix it

max44作者
§
發表於:2023-08-09

Done

§
發表於:2023-08-09

Thank you so much once again!

發表回覆

登入以回復