Closed KammererTob closed 1 year ago
Seems like Facebook once again changed the structure a bit. I've adapted my rule a bit (which is based on the one generated with the script here) and it seems to work again:
Old filter: facebook.com##span[id="ssrb_feed_start"] ~ * h3 ~ div > div:not([class]) span[id] > span > span > a[href="#"] span > span:has( > svg > use[*|href]:not([href])):matches-css(width:/^(55|56|57|58)(.|p)/i):upward(span[id="ssrb_feed_start"] ~ * h3 ~ div):style(width:0 !important; height:0 !important;)
facebook.com##span[id="ssrb_feed_start"] ~ * h3 ~ div > div:not([class]) span[id] > span > span > a[href="#"] span > span:has( > svg > use[*|href]:not([href])):matches-css(width:/^(55|56|57|58)(.|p)/i):upward(span[id="ssrb_feed_start"] ~ * h3 ~ div):style(width:0 !important; height:0 !important;)
New filter: facebook.com##span[id="ssrb_feed_start"] ~ * h3 ~ div > div:not([class]) span[id] > span > span > a[href="#"] span > span[class]:has(svg > use[*|href]:not([href])):matches-css(width:/^(55|56|57|58)(.|p)/i):upward(span[id="ssrb_feed_start"] ~ * h3 ~ div):style(width:0 !important; height:0 !important;)
facebook.com##span[id="ssrb_feed_start"] ~ * h3 ~ div > div:not([class]) span[id] > span > span > a[href="#"] span > span[class]:has(svg > use[*|href]:not([href])):matches-css(width:/^(55|56|57|58)(.|p)/i):upward(span[id="ssrb_feed_start"] ~ * h3 ~ div):style(width:0 !important; height:0 !important;)
The only difference is in this part span[class]:has(svg > use[*|href]:not([href]))
span[class]:has(svg > use[*|href]:not([href]))
Thanks for the heads up.
Code has been tweaked as per suggestion.
Seems like Facebook once again changed the structure a bit. I've adapted my rule a bit (which is based on the one generated with the script here) and it seems to work again:
Old filter:
facebook.com##span[id="ssrb_feed_start"] ~ * h3 ~ div > div:not([class]) span[id] > span > span > a[href="#"] span > span:has( > svg > use[*|href]:not([href])):matches-css(width:/^(55|56|57|58)(.|p)/i):upward(span[id="ssrb_feed_start"] ~ * h3 ~ div):style(width:0 !important; height:0 !important;)
New filter:
facebook.com##span[id="ssrb_feed_start"] ~ * h3 ~ div > div:not([class]) span[id] > span > span > a[href="#"] span > span[class]:has(svg > use[*|href]:not([href])):matches-css(width:/^(55|56|57|58)(.|p)/i):upward(span[id="ssrb_feed_start"] ~ * h3 ~ div):style(width:0 !important; height:0 !important;)
The only difference is in this part
span[class]:has(svg > use[*|href]:not([href]))