Greasy Fork 支持简体中文。

Reddit User/Subreddit/Domain Filter

Filter Reddit posts based on the user, subreddit, domain, or post flair name.

< 腳本Reddit User/Subreddit/Domain Filter的回應

提問/評論

§
發表於:2019-11-30

Update to support the changed new layout?

Hello! Thank you for this script! It works great for old Reddit, but not at all for the new layout. Any chance it will be updated to work with the new layout?

Best regards, Carl

P.S. Also, a request, if I may: I would prefer not to have all those red X buttons visible constantly. Could they instead be displayed only when hovering over usernames/subreddit names (or perhaps when right clicking on them)?

§
發表於:2019-11-30

Hello again!

I thought I'd add some more information. To get the text "Show filtered" to show up, I added the following rows to the IF clause at the end of your script:

} else { //new layout match = document.getElementById('CountrySort--CountrySortPicker'); match = match.parentNode.parentNode.parentNode;

But, as you can see, more needs to be changed to get the X buttons to show up:

Thanks again, in advance!

發表回覆

登入以回復